VScode debugging app on flash not working

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

VScode debugging app on flash not working

2,633 Views
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 Kudos
Reply
2 Replies

2,585 Views
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 Kudos
Reply

2,590 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @arunkumar_g 

HangZhang_1-1730456120443.png

Can this example work?

BR

Hang

0 Kudos
Reply