JTAG scan chain interrogation failed: all ones #642
-
Hi, I have encountered a technical issue working on a project in the NEXYS A7 100t board. Specifically, I am facing difficulties in establishing a connection with the JTAG interface with OPENOCD. I am following the example of the blinking led. Due to the fact that J10 ports are not being recognized by Vivado, I have resorted to using a PMOD to extract the signals for JTAG. I have connected the JTAG HS2 and modified the OpenOCD configuration file accordingly. However, I am currently unable to establish a successful connection. Thank you in advance.
|
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 33 replies
-
Hey @cmenendezzz! What hardware setup are you using (i.e. processor configuration)?
Hmm, I know this problem, but in most cases there is just problem with the wiring between FPGA and JTAG. If you pull-down your TDO wire (so, the one going to the JTAG adapter) do you get an "all zero" error? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I managed to solve the problem by realizing that the processor had already optimized the variable, rendering it useless in the end, and I couldn't access it. Consequently, I made a change in the makefile, replacing Additionally, I've completed the guideline document. How would you like me to send it to you? |
Beta Was this translation helpful? Give feedback.
-
Hello again!
At the moment, the first function, neorv32_rte_setup(), executes correctly. However, as soon as I try to access the second function, an immediate interrupt occurs. Specifically, the interrupt corresponds to RTE_TRAP_S_ACCESS = 7, indicating a store (bus) access fault. It appears that there might be an issue with accessing memory related to the peripherals. Do I have to defined the memory mapping for the peripherals? (I thought that is was already definded) Here a picture of the situation: after executing UARTx->CTRL=0 from the neorv32_uart_setup function ( so after entering in one of the UART registers) an interrupt occurs. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I see...
yes!
I am using optimization O0... It shouldn't appear , isn't it?
I am using your hello world program, I didn't touch anything.
I just did it and I obtain the same thing...
I am going to try right now! But how doing it could solve the memory acces problem? |
Beta Was this translation helpful? Give feedback.
-
I also try commenting the neorv32_rte_setup() function in order to see if this function has something to do about it. And I found that now the neorv32_uart0_setup(BAUD_RATE,0) executed till the end. Nevertheless, as you can see below in the screenshoot, UARTX->CTRL does not take the tmp value... |
Beta Was this translation helpful? Give feedback.
-
I am using minicom and nothing outputs |
Beta Was this translation helpful? Give feedback.
-
It works! The problem was the USB-UART Bridge. I changed the constraint file and connect it to a pmod and it worked right away! Thank you very much!! And concerning the guidelines to debug via Eclipse, I have to add some details but I will post it once it is done! Thank you very much again for your help! |
Beta Was this translation helpful? Give feedback.
It works! The problem was the USB-UART Bridge. I changed the constraint file and connect it to a pmod and it worked right away! Thank you very much!!
And concerning the guidelines to debug via Eclipse, I have to add some details but I will post it once it is done!
Thank you very much again for your help!