MCUXpresso for VS Code: Built projects flash without errors but don’t run (MIMXRT1160-EVK)

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

MCUXpresso for VS Code: Built projects flash without errors but don’t run (MIMXRT1160-EVK)

2,306 Views
erlend
Contributor II

I’ve been following the Getting Started with MCUXpresso for VS Code guide and I'm working with a MIMXRT1160-EVK.

Using VS Code and the MCUXpresso extension, I can successfully import SDKs (both from the remote archive and via the SDK builder), and build and flash demo projects without any errors. However, when I run a simple example like the LED blinky, the code compiles and flashes successfully, but the LED does not blink.

Strangely, if I do the exact same thing using the MCUXpresso IDE (not VS Code), the LED blinky example works as expected. Even importing a known-working project from the IDE into VS Code works fine, it builds, flashes, and runs correctly.

I’ve tried multiple SDK versions and different examples, but the issue is consistent: builds done from scratch in VS Code seem to flash but not execute properly.

Has anyone else experienced this? Any ideas on what could be going wrong?

0 Kudos
Reply
5 Replies

2,286 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @erlend 

“Strangely, if I do the exact same thing using the MCUXpresso IDE (not VS Code), the LED blinky example works as expected. ”

You mentioned that it can work.

Did you try to import the local working SDK package?

Harry_Zhang_0-1754881252802.png

BR

Harry

0 Kudos
Reply

2,280 Views
erlend
Contributor II

Yes, i have tried with both local and remote archive, same result for both.

0 Kudos
Reply

2,265 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @erlend 

I have tested it.

You are right.

There is bug in our RT1160 VSCODE LEDBLINKY PROJECT.

I have reported it to our VSCODE team.

Thanks for your information.

BR

Harry

2,250 Views
erlend
Contributor II

Okay thanks, I have also tried with the "Hello world" demo, which i had the same problem with.

0 Kudos
Reply

2,245 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @erlend 

We will fix it on  VSCode_25.08.00 version.

Thanks for your understanding.

BR

Harry