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

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

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

824 次查看
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 项奖励
回复
5 回复数

804 次查看
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 项奖励
回复

798 次查看
erlend
Contributor II

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

0 项奖励
回复

783 次查看
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

768 次查看
erlend
Contributor II

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

0 项奖励
回复

763 次查看
Harry_Zhang
NXP Employee
NXP Employee

Hi @erlend 

We will fix it on  VSCode_25.08.00 version.

Thanks for your understanding.

BR

Harry