How to dump IMX8M Mini Registers, ESR, CPSR etc

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to dump IMX8M Mini Registers, ESR, CPSR etc

2,329 Views
sreedhar_appala
Contributor IV

Hi,

I need to dump the register values on console of IMX8M Mini Registers, In one of our thirty party library we are seeing kernel panic, but the register dump is not shown on console output.

Could you please let me know the command to read all register values on console output.

Thank you, Sreedhar

0 Kudos
3 Replies

2,143 Views
nxf54947
NXP Employee
NXP Employee

Dear Sreedhar A,

 

You can try to use memtool, which is included in imx-test package. The following post already gives an explanation regarding this tool. Please check it out:

 

   https://community.nxp.com/thread/450782

 

Please have in mind that not all memory addresses are supported for reading and writing.

Best regards,

 

Ruben

      

0 Kudos

2,143 Views
sreedhar_appala
Contributor IV

Hi Ruben Charles,

I want to read the register values as well. like for example I want to read the X7 register value.

Can you please tell me how this can be achieved.

Thank you, Sreedhar

0 Kudos

2,143 Views
nxf54947
NXP Employee
NXP Employee

Dear Sreedhar A,


Besides the memtool, you could use a JTAG device for scan the registers of the processor. As prompting the values of the registers in console is not a task that the processor can handle during normal execution. 

Best regards,

Ruben 

0 Kudos