Dear arm experts,
I try to debug my baremetel code on cortex_a55 boards(RK3568 SoC) with DS2021. When using DStream ST to connect the board, I encountered an error message: 'Failed to power up ARMCS-DP'.
How can I solve this problem? Do I need to update the version DS to obtain support for the Cortex-a55 boards?Looking forward to your reply.
Thanks Stephen,
Thank you very much for your reply. I have checked the relevant reference manuals and found that the SoC manual supports System debug, as shown in the figure below. This SoC supports the SW-DP interface.
I have also checked the circuit diagram of my development board. The ARM_JTAG port of this development board is connected through the pins of the SD card, such as D2 and D3 in the figure below. I connected them to the teammate interface of DSTREAM. I am currently checking to see if it’s the power-control subsystem's issue that you mentioned. However, I am not very familiar with the ARM System debug module, and I don’t know whether the above two supports are perfect enough to support the debug system. Does some other subsystems of ARM on the board need to cooperate to debug normally? The reason why I do not use JTAG is that the JTAG port of this board I use is multiplexed into other function, so I tend to use SWD for debugging.
Hi againThanks for checking your SoC manual. Yes, it looks like the SoC supports both SWD and JTAG debug connections.I still believe the most likely cause of the problem is that the ARMCS-DP is powered-down. It is quite common for this to be controlled by a power-control subsystem, which needs to be activated first.Take a look at the RK3568 TRM, Chapter 7 Power Management Unit (PMU)Stephen