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)

823件の閲覧回数
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 返答(返信)

803件の閲覧回数
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 件の賞賛
返信

797件の閲覧回数
erlend
Contributor II

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

0 件の賞賛
返信

782件の閲覧回数
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

767件の閲覧回数
erlend
Contributor II

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

0 件の賞賛
返信

762件の閲覧回数
Harry_Zhang
NXP Employee
NXP Employee

Hi @erlend 

We will fix it on  VSCode_25.08.00 version.

Thanks for your understanding.

BR

Harry