I have trouble with RPi-3 bare metal debugging. I use DSTREAM unit with DS-5 (upgraded, the latest version).
1. U-boot was added a startup code that sets up GPIO pins to support JTAG connection
2. DS-5 properly does boundary scanning, result is similar to https://community.arm.com/tools/f/discussions/5908/ds-5-and-raspberry-pi-2. CPUs are properly detected, no error is reported. Startup code does the job, as without it the boundary scan fails.
3. When I try to connect to the target, I get this error message:
Unable to connect to device Cortex-A53_0
An unknown error was received.
DS-5 documentation says it support RPi-3. What do I miss?
Thank you for your help,
Jarek.
Hi Jarek,
You do not need to do the 'boundary scanning'. Part of the support for the RPI-3 is that there is already a platform configuration included within DS-5 for the RPI3. You need to use the included one as there are essential parts of the debug architecture that are hidden if you use PCE to detect the target.
Please see the screenshot from the Debug configuration launcher panel. Use the shipped configurations.
If you are still having problems then do please let me know and I'll try it myself.
Regards
Stuart
RPi-3 configuration in not present in DS-5 debug configuration. RPi-2 is. I use DS-5 Professional Edition ver. 5.28.1 build no. 5281011. Please find some error screens:
Debug started on
Ah, the problem is that you are using the Professional Edition.
This does not have the support for Arm v8-A processors such as the Cortex-A53. That's why you can see the RPi-2 but not the RPi-3.
Support for Arm v8-A processors such as the Cortex-A53 is included within the DS-5 Ultimate edition.
You can see more about the DS-5 editions at https://developer.arm.com/products/software-development-tools/ds-5-development-studio/editions
To check if you have access to the Ultimate Edition, you could try try it and see ?
Go 'Help' -> 'Arm License Manager' and then at the bottom change the toolkit in use to be 'DS-5 Ultimate Edition' and then close, and see what happens.
If you have a floating license server then you might be able to get an Ultimate license if one is available ?
Then re-test and see if that makes any change ?
Regardless, the error reporting should be a lot better, I would have expected some error to be fed back to you when you try to connect.
I'll do some investigating on my side to see what is going on.
Regards,
Yes, that's it! I have switched to the Ultimate DS-5 version and I'm able to debug the RPi-3.
Thank you for your help!
Excellent, glad to hear it is all working for you now.