OpenCores
no use no use 1/1 no use no use
problem running orpsoc on de0 nano
by sposnjak on Aug 28, 2013
sposnjak
Posts: 2
Joined: Sep 29, 2012
Last seen: Aug 28, 2013
I am testing orpsoc on de0 nano. I followed "The Guide" (http://kevinmehall.net/openrisc/guide/) and everything went fine except after i download the bitstream to FPGA and try to run the openocd I get:

simonp@zora:~/openrisc/toolchain/openOCD$ ./src/openocd -f ./tcl/interface/altera-usb-blaster.cfg -f altera-dev.tcl
Open On-Chip Debugger 0.5.0-dev-g187f984 (2013-08-28-22:19)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
3000 kHz
Warn : Interface already configured, ignoring
3000 kHz
Info : No lowlevel driver configured, will try them all
Info : usb blaster interface using libftdi
Info : clock speed 3000 kHz
Info : JTAG tap: or1k.cpu tap/device found: 0x020f30dd (mfg: 0x06e, part: 0x20f3, ver: 0x0)
Error: received CRC (0xfff927ff) not same as calculated CRC (0x2926cf53)
Error: received CRC (0x496db27f) not same as calculated CRC (0x0965964a)
Error: received CRC (0xfff927ff) not same as calculated CRC (0x2926cf53)
Error: received CRC (0x496db27f) not same as calculated CRC (0x0965964a)
Warn : Debug IF CPU control reg read failure.
Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
Warn : attempt 1 of 5
Error: received CRC (0xfff927ff) not same as calculated CRC (0x2926cf53)
Error: received CRC (0x496db27f) not same as calculated CRC (0x0965964a)
Warn : Debug IF CPU control reg read failure.
Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
Warn : attempt 2 of 5
Error: received CRC (0xfff927ff) not same as calculated CRC (0x2926cf53)
Error: received CRC (0x496db27f) not same as calculated CRC (0x0965964a)
Warn : Debug IF CPU control reg read failure.
Warn : Resetting JTAG TAP state and reconnectiong to debug IF.
Warn : attempt 3 of 5

Any ideas what could have gone wrong?

Thank you in advance.

/simon
RE: problem running orpsoc on de0 nano
by sposnjak on Aug 28, 2013
sposnjak
Posts: 2
Joined: Sep 29, 2012
Last seen: Aug 28, 2013
Found the problem: OpenOcd should be compiled with --enable-adv_debug_sys otherwise you get the error message.

Hopefully somebody will found this information helpful.

/simon
RE: problem running orpsoc on de0 nano
by rozpruwacz on Aug 29, 2013
rozpruwacz
Posts: 25
Joined: Feb 28, 2009
Last seen: Apr 4, 2021
good to hear that You managed to run openocd with your setup !!!

just for the record ... I don't know where did You get the copy of the openOCD, but the version which supports adv_debug_if also supports the old debug_if (which is built by default). So only for those who use adv_debug_if, they must enable --enable-adv_debug_sys switch when building openOCD.

no use no use 1/1 no use no use
© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.