VScode debugging app on flash not working

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

VScode debugging app on flash not working

2,640 次查看
arunkumar_g
Contributor IV

Hello,

 

I was able to build the hello world app and when tried to deploy to 1189EVK, it does not work. The debugger starts up and shows as 'running'  and does not break at main() nor cannot be stopped. Console does not print anything.

I have tried flash erase via ".\LinkServer.exe flash MIMXRT1189xxxxx:MIMXRT1180-EVK erase", installing and re-installing mcu usb drivers , reinstalling mcuxpresso plugin etc.

Attached is the debugger log with engine logging.

What could I try next?

Thanks

 

0 项奖励
回复
2 回复数

2,592 次查看
DragosMiloiu
NXP Employee
NXP Employee

Hello @arunkumar_g,

Please try the following steps:

- Erase flash (right click on the project and select "Erase Flash"). Once the operation is completed it will show a message that it was successful.

- Flash the application (from QuickStart panel->Flash Programmer-> Select project-> Run)

- Debug (it may stop at reset handler; if yes, please issue continue command to reach "main")

Regards,

Dragos.

0 项奖励
回复

2,597 次查看
Harry_Zhang
NXP Employee
NXP Employee

Hi @arunkumar_g 

HangZhang_1-1730456120443.png

Can this example work?

BR

Hang

0 项奖励
回复