openocd problem ls1046a

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

openocd problem ls1046a

714 Views
xiongcl
Contributor I

I am booting zephyr RTOS on OK1046A board that use nxp ls1046a SoC(cortex-a53),but it occur a memory fault each times after enable mmu on this platform.

I use openocd to debug it, and I guess that whether the core0's execution is affected by another core after mmu is enabled when boot zephyr on cpu0(Maybe cache's effect?).  So I want to halted other cpus and just run cpu0. But i can not halt cpu2 and cpu3 using openocd with jtag.

xiongcl_0-1677676667371.png

And below is my openocd config file:

xiongcl_1-1677676926325.png

 

regards, thanks.

 

0 Kudos
Reply
2 Replies

702 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

The core2 has many breakpoints, the MMU is not able to handle and it stuck on halt state, please eliminate the breakpoints.

 

Regards

 

 

 

0 Kudos
Reply

697 Views
xiongcl
Contributor I

Thanks for your reply.

But in above picture, the core2 is stuck on running state and can not switch to halt state. At the same time, core1 has the same breakpoints but can responds to the halt command.

In addition, these breakpoints are not actively added by me. If possible, please tell me how to delete these breakpoints.

 

0 Kudos
Reply