openocd problem ls1046a

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

openocd problem ls1046a

1,866 次查看
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.pngxiongcl_0-1677676667371.png

And below is my openocd config file:

xiongcl_1-1677676926325.pngxiongcl_1-1677676926325.png

 

regards, thanks.

 

0 项奖励
回复
2 回复数

1,854 次查看
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 项奖励
回复

1,849 次查看
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 项奖励
回复