Hi,
A silly question, but is it possible to DMA from the TMS570LS20216 program counter into RAM? I would be surprised if the PC is in the address space for such an operation, but you never know, it doesn't hurt to ask.
Regards, Tony.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
A silly question, but is it possible to DMA from the TMS570LS20216 program counter into RAM? I would be surprised if the PC is in the address space for such an operation, but you never know, it doesn't hurt to ask.
Regards, Tony.
Tony,
Inherently the CPU registers are not memory mapped in the ARM architectures.
However, we do allow the bus masters on the 570 to access the CoreSight debug logic, which is memory mapped. If you were very, very clever with the DMA programming you could effectively drive the CoreSight debug logic in the CPU to gain access to the CPU internal registers in the same fashion as a debugger. I would guess that the payback in getting this to work would probably not be worth the time spent.
Regards,
Karl
Tony,
I'm not aware of any customer who has taken advantage of the memory mapped debug feature to date. Here are a few tips that might help: