Uploading to my Arty board not working


#21

My mistake, no magic at all, “E300ArtyDevKitFPGAChip.mcs” is from the master branch. “sifive.freedom.everywhere.e300artydevkit.E300ArtyDevKitConfig.mcs” is from the tagged release.

Both version are working fine now, but master version has UART baudrate 57600, and the other is 115200.


(Megan A. Wachs) #22

Ah yes, we turned down the FPGA frequency for more reliable successful builds, and did not adjust the default UART divider accordingly. Thanks for pointing this out.


(fox) #23

I have the same problem,can you tell me how to solve it? Thanks!
the problem is:
work/build/openocd/prefix/bin/openocd -f bsp/env/sirv-e203-arty/openocd.cfg
GNU MCU Eclipse 64-bits Open On-Chip Debugger 0.10.0+dev-00084-gae68d7da-dirty (2018-09-26-15:31)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 1000 kHz
Info : auto-selecting first available session transport “jtag”. To override use 'transport select '.
Info : clock speed 1000 kHz
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway…
Error: riscv.cpu: IR capture error; saw 0x1f not 0x01
Warn : Bypassing JTAG setup events due to errors
Error: Unsupported DTM version: 15
Info : Listening on port 3333 for gdb connections
Error: Target not examined yet

Error: Unsupported DTM version: 15
Warn : Flash driver of my_first_flash does not support free_driver_priv()
Makefile:242: recipe for target ‘run_openocd’ failed
make: *** [run_openocd] Error 1


(fox) #24

when i use ARN-USB-TINY-H download my program into Arty,it has this problem:
adapter speed: 1000 kHz
Info : auto-selecting first available session transport “jtag”. To override use 'transport select '.
Info : clock speed 1000 kHz
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway…
Error: riscv.cpu: IR capture error; saw 0x1f not 0x01
Warn : Bypassing JTAG setup events due to errors
Error: Unsupported DTM version: 15
Info : Listening on port 3333 for gdb connections
Error: Target not examined yet

Error: Unsupported DTM version: 15
Warn : Flash driver of my_first_flash does not support free_driver_priv()
localhost:3333: 连接超时.
“monitor” command not supported by this target.
“monitor” command not supported by this target.
You can’t do that when your target is `exec’
“monitor” command not supported by this target.
“monitor” command not supported by this target.
Successfully uploaded ‘demo_gpio’ to sirv-e203-arty.


(fox) #25

I have the same problem,can you tell me how to solve it? Thanks !!!