Hmm. . . have you tried poweríng the Arty from its 12V barrel connector instead of the USB connector?
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.
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.
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.
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 …”
Wow,Thanks very much!
I want to know that the command of "make upload… " will show the program result to host screen ?
- “make upload PROGRAM=dhrystone BOARD=coreplexip-e31-arty”
(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???