Debugging problems after DMA configuration

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AndreJ87
Level 1
Level 1
First question asked First reply posted Welcome!

Hello,

I worked on the DMA configuration to copy the VADC result registers to RAM on the TC222S. It finally copied the adc results to the correct location and after a few seconds I lost the connection to the CPU.
I use a IC5000 debugger, the debug interface is DPA. I first thought there is an issue with the hardware, so I changed the hardware and after short time I couldn't connect to the other CPU, too. The message is "Cannot stop the cpu".

Is it possible to brick the cpu with a wrong DMA configuration? The cerberus works on the same bus as the DMA, perhaps it blocks the bus completely.
Is there some way to erase the chip, that it cannot run the code before the debugger connects?

 

0 Likes
1 Solution
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Hi AndreJ,

Please refer to 5.1.5 Start-up mode selection in  tc23x_tc22x_um_v1.1.pdf

 if yes - execute Internal start mode - CPU0 will be halted before the first user
instruction

So, if your CPU0 is halted after reset, your debugger should works.

dw

View solution in original post

0 Likes
1 Reply
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Hi AndreJ,

Please refer to 5.1.5 Start-up mode selection in  tc23x_tc22x_um_v1.1.pdf

 if yes - execute Internal start mode - CPU0 will be halted before the first user
instruction

So, if your CPU0 is halted after reset, your debugger should works.

dw

0 Likes