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.

Dm8168 chips a8 work abnormal mode

 Question 1:

debug step by step ,PC of a8 Have been located in three places cycle

1:
PC 0xFFFF0010 Core Register: Program Counter 
SP 0xC064A18C Core Register: General Purpose Register 13
LR 0xFFFF028C Core Register: General Purpose Register 14
2:
PC 0xFFFF0280 Core Register: Program Counter 
SP 0xC064A18C Core Register: General Purpose Register 13 
LR 0xFFFF028C Core Register: General Purpose Register 14 
3:
PC 0xFFFF0284 Core Register: Program Counter 
SP 0xC064A18C Core Register: General Purpose Register 13 
LR 0xFFFF0284 Core Register: General Purpose Register 14 

The product does not work any more,no panic and oops,did not get rid of this address range.

Question 2:

the the kernel of a8 cannot access to memory data by emulator(XDS560v2 STM)  except cortexM3-ISS.

connect target on cortexM3-ISS, it can access to memory date with physical addr . and the date is correct.

The two problems are exist at the same time.

 

  • Stop mode debugging (Connecting JTAG+CCS to target) is not very useful to debug A8 running Linux. All addresses would be processor virtual address. You could load symbols for vmlinux and check if control is halted in any valid function. Building kernel with debug symbols enabled and stack unwinding support would give more info to debug .

    For question (2) as I said A8 will be configured with MMU enabled so you cant use physical addr to view memory.