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.
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,
Stuart
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.