Launching failed (MK66FN2M0xxx18)

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

Launching failed (MK66FN2M0xxx18)

Jump to solution
506 Views
Minodora27
Contributor I

Hi Team:
I tried to run a simple program to turn off the red LED, but I get this error. What could it be from? I also tried loading the file into JLink using loadfile and then go, but nothing happens.

I am using RDDRONE-FMUK66, JLINK EDU Mini, and the connections are like in the picture.

462548480_1498831017293141_8632122310058850160_n.jpg

Minodora27_0-1729523044265.png

It appears in the debug for JLink, but not in the run.

Minodora27_1-1729523226533.png

 

Untitled.png

0 Kudos
Reply
1 Solution
428 Views
Celeste_Liu
NXP Employee
NXP Employee

Hello @Minodora27 ,

I will be patient and help you. The SDK for the K6* chip can be obtained in the following way.

Celeste_Liu_4-1729826626645.png

After the SDK is downloaded, it can be imported into MCUXpresso by dragging.

Celeste_Liu_1-1729825069114.png

The led_blinky demo can be found in the following way.

Celeste_Liu_3-1729826281065.png

Through the example of this demo, you can see its control over the LED GPIO. You can compile this project and try to burn it to see if there are still any problems.

Celeste_Liu_5-1729826700916.png

I hope the above information is useful to you. If you still have questions, please feel free to contact me.

Best Regards,

Celeste

View solution in original post

0 Kudos
Reply
3 Replies
458 Views
Celeste_Liu
NXP Employee
NXP Employee

Hello @Minodora27 ,

Thank you for contacting NXP Technical Support. Please let us know whether you are using a custom development board or an FRDM reference board. Also, is this program written by you personally? To troubleshoot possible hardware issues, you can try the led_blinky example program in our SDK. The SDK download link is: MCUXpresso SDK Builder. It is recommended that you operate according to the instructions in /doc/readme.txt.

At the same time, you can also use a multimeter to measure the level of the GPIO pin to determine whether it is driven.

Best Regards,

Celeste

0 Kudos
Reply
453 Views
Minodora27
Contributor I
Hi, @Celeste_Liu! Thank you for the response! The board used is the RDDRONE_FMUK66, which means the processor is from the Kinetis K6x series, and the program is the default one (Hello World) + the function that turns off the red LED (taken from board.h). I found a tutorial on a Linux VM that also uses PX4, but I am working on Windows, and I don't need PX4. I'm just starting out and wanted to see how to program and run the code.I can't find led_blinky, and I don't know how to start. Please help me.
0 Kudos
Reply
429 Views
Celeste_Liu
NXP Employee
NXP Employee

Hello @Minodora27 ,

I will be patient and help you. The SDK for the K6* chip can be obtained in the following way.

Celeste_Liu_4-1729826626645.png

After the SDK is downloaded, it can be imported into MCUXpresso by dragging.

Celeste_Liu_1-1729825069114.png

The led_blinky demo can be found in the following way.

Celeste_Liu_3-1729826281065.png

Through the example of this demo, you can see its control over the LED GPIO. You can compile this project and try to burn it to see if there are still any problems.

Celeste_Liu_5-1729826700916.png

I hope the above information is useful to you. If you still have questions, please feel free to contact me.

Best Regards,

Celeste

0 Kudos
Reply