How to upload peograms to Arty 7 and debug by jtag interference?

Hmm. . . have you tried poweríng the Arty from its 12V barrel connector instead of the USB connector?

1 Like

The wire between debugger and arty is okay, but errors always not change. I want to cry.:sob:

1 Like

Sorry, but short of suspecting an electrical defect in either the Olimix or the Arty, I am running out of suggestions. Please double-check that JP1 and JP2 on the Arty are shorted, and that you have connected the Olimex to the JD connector (next to the RESET pushbutton).

Also, you might try removing and re-installing the Olimex driver.

1 Like

Thanks Donnie,

Not work!:joy:

I can see on your PM screenshot that you have successfully initiated a debug session under windows, so your hardware and wiring must be functioning correctly. Since your Linux environmnt appears to be unable to find the Olimex, I am wondering if you have correctly set the group access privilege for the Olimex.

Hi Donnie,

Maybe look likes better!


But i dont know how to solve.

I have invidted help from the SiFive experts to help you solve ít, now that your debug connection is working.

1 Like

okay,thanks !

There is no error, the “Error” is an expected one (the debugger causes it as part of deciding whether the core is 32-bit or 64-bit).

Your board is ready to accept connections from GDB.

So now in another window you can do “make run_gdb BOARD=… PROGRAM=…” and start debugging.

Or if you just want to upload your code, you can just do “make upload …”

1 Like

Wow,Thanks very much!

I want to know that the command of "make upload… " will show the program result to host screen ? :blush:

Hi mwach,

  1. “make upload PROGRAM=dhrystone BOARD=coreplexip-e31-arty”



Two questions,

(1) The error “unable to execute program” don’t effect running debug? why not program output when uploading
to the board?

(2) Why cpu state is “halted”?

2 .“make run_gdb BOARD=coreplexip-e31-arty”



Why connection timed out???

Thanks,

This is the result of running gdb in windows environment !



Why always stay 99%?

I have the same problem with you, but i use zcu102 to Implement hybird (risc-v core). How did you solve that can’t find Jtag???thaks, pengnainqi