openocd problem ls1046a

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

openocd problem ls1046a

1,852件の閲覧回数
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 件の賞賛
返信
2 返答(返信)

1,840件の閲覧回数
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,835件の閲覧回数
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 件の賞賛
返信