Open arshadaleem-lm opened 3 years ago
Does OpenOCD support 64 bit targets?
Does OpenOCD support 64 bit targets?
Well, the OpenOCD shipped with FreedomStudio does support HiFive Unleashed, i.e. 64 bit target.
Thanks Arshad ! This is very helpful.
I was discouraged when I read the below on openocd.org: http://openocd.org/doc/doxygen/html/targetnotarm.html#:~:text=64%20bit,only%20supports%2032%20bit%20targets
I will try with the forked version of openocd from freedom studio.
Thanks once again, Jatan
Hi Arshad,
Did you use the already built OpenOCD from freedom studio? I couldn't use that because I need OpenOCD with bitbang driver. Looks like the pre-built OpenOCD on freedom studio supports USB.
Thanks, Jatan
Hi Arshad,
Did you use the already built OpenOCD from freedom studio? I couldn't use that because I need OpenOCD with bitbang driver. Looks like the pre-built OpenOCD on freedom studio supports USB.
Thanks, Jatan
Hi Jatan, Yes I used the already built OpenOCD from Freedom Studio. And yes, it supports USB debugging.
Regards, Arshad
Thanks Arshad !
I'm trying to Debug a hello world application on HiFive Unleashed using PlatformIO Core (CLI) tool. I've setup the utility using this Wiki: https://docs.platformio.org/en/latest/core/installation.html#installation
And used these commands to debug the application: https://github.com/platformio/platform-sifive/tree/master/examples/freedom-e-sdk_hello?utm_source=platformio.org&utm_medium=docs
I'm facing a strange error while starting the debug session:
Here are the complete verbose logs:
Output of readelf is as follows:
It appears that openocd available with PlatformIO only supports 32 bits targets.
Thanks.