Hello,
I’m trying to remake the demo of Multizone Secure Iot Stack for a school project.
So I followed the tutorial but I’m stuck when loading the .hex file on the Arty A7 100T card.
There are some errors related to JTAG : “JTAG scan chain interrogation failed: all ones”.
I have checked and rechecked the wire connection between the Arty board and the ARM-USB-TINY-H but everything is correct.
The definition of the file “/etc/udev/rules.d/99-openocd.rules” is correct too.
I ask if anyone can help me, I’m starting with openOCD. thanks.
This is the error output :
/home/aldwin/Documents/M2_CSSE/Project_HexFive/hexfive/softwares/riscv-openocd-20181226/bin/openocd -f bsp/X300/openocd.cfg &
/home/aldwin/Documents/M2_CSSE/Project_HexFive/hexfive/softwares/riscv-gnu-toolchain-20181226/bin/riscv64-unknown-elf-gdb multizone.hex --batch -ex “set mem inaccessible-by-default off” -ex “set remotetimeout 240” -ex “set arch riscv:rv32” -ex “target extended-remote localhost:3333” -ex “monitor reset halt” -ex “monitor flash protect 0 64 last off” -ex “load” -ex “monitor resume” -ex “monitor shutdown” -ex “quit”
Open On-Chip Debugger 0.10.0+dev-00227-gc3c76bfa (2018-12-27-16:00)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 10000 kHz
Info : auto-selecting first available session transport “jtag”. To override use 'transport select ‘.
The target architecture is assumed to be riscv:rv32
Info : ftdi: if you experience problems at higher adapter clocks, try the command “ftdi_tdo_sample_edge falling”
Info : clock speed 10000 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: 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
Error: Unsupported DTM version: 15
localhost:3333: Connexion terminée par expiration du délai d’attente.
“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