Hi all,
I found the DSP core is sometimes hung.
I want to know if it is possible to read DSP register and DSP program counter from Linux command.
Thank you.
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 all,
I found the DSP core is sometimes hung.
I want to know if it is possible to read DSP register and DSP program counter from Linux command.
Thank you.
Hi Yordan,
This table doesn't show the exact register address.
e.g. what is address of interrupt enable register (IER)?
BTW, I use devmem2 to access value in the specific address. From table 8-1, it says 0x0001000000(physical 40-bit address) is C66x CorePac registers.
Then I try this address in the Linux.
root@k2hk:~# devmem2 0x0001000000
/dev/mem opened.
Memory mapped at address 0xb6fc7000.
Read at address 0x01000000 (0xb6fc7000): 0x49200200
I think 0xb6fc7000 is the physical address.
(1) What is Linux command can map physical address?
(2) how do I tell registers belong to which Cores? The 8-1 table doesn't show the difference of the register address among different cores.
Thanks
Hi,
Actually the 0xb6fc7000 is the address format after linux virtualization (linux kernel & user space work with virtual addresses).
(2) how do I tell registers belong to which Cores? The 8-1 table doesn't show the difference of the register address among different cores.