This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Raspberry PI 3 DSTREAM JTAG debugging

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.

Unable to connect to device Cortex-A53_0

DS-5 documentation says it support RPi-3. What do I miss?

Thank you for your help,

Jarek.

Parents
  • 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

Reply
  • 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

Children