VScode debugging app on flash not working

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

VScode debugging app on flash not working

2,666件の閲覧回数
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,618件の閲覧回数
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,623件の閲覧回数
Harry_Zhang
NXP Employee
NXP Employee

Hi @arunkumar_g 

HangZhang_1-1730456120443.png

Can this example work?

BR

Hang

0 件の賞賛
返信