AnsweredAssumed Answered

Debugging iMX6 with JTAG BDI3000

Question asked by Alan Souza on Jul 14, 2015

I'm having issues trying to debug a custom iMX6 board with BDI3000. The state after powering up with BDI attached seems good to me:

IMX6#0>info

    Core number       : 0

    Core state        : debug mode (ARM)

    Debug entry cause : Debug Request

    Current PC        : 0x2780ad40

    Current CPSR      : 0x600001d3 (Supervisor)

    Current SPSR      : 0xca0c196d

 

However, I can't correctly read and write from memory.

Example:

 

IMX6#0>md 0x8a000000 1          

8a000000 : 0x00000071          113  q...

 

IMX6#0>mm 0x8a000000 0x1234abcd 1

 

IMX6#0>md 0x8a000000 1          

8a000000 : 0x00000061           97  a...

 

IMX6#0>mm 0x8a000000 0x12345678 1

 

IMX6#0>md 0x8a000000 1          

8a000000 : 0x04000071     67108977  q...

 

Apparently, it is not writing what is expected to. I need to make this process consistent an then load the u-boot into memory.

 

Does anyone know what is happening?

 

I'm using the attached configuration file. Any help would greatly appreciated.

Original Attachment has been moved to: regCortex-A9.def.zip

Original Attachment has been moved to: imx6.cfg.zip

Outcomes