Struggling with uploading Hello World sketch

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

Struggling with uploading Hello World sketch

254 Views
Tyler5638
Contributor I

I'm new to MCUXpresso IDE and im trying to upload a hello world sketch to my Kinetis KL82.  I successfully installed the SDK for the board from MCUXpresso SDK Builder. I then built the Hello world sketch, and it built with no errors but when I tried running it I got this error: 

Tyler5638_0-1751054618943.png

I was using this tutorial as a reference: How to Install MCUXpresso IDE | NXP| Getting started with FRDM-KL25Z - YouTube

I'm on a Dell XPS 17 which doesn't have any USB ports, so I used a USB-to-USB-c converter to connect to my board. I went to the device manager to see if it says the device is connected and it said it was connected, plus when I connected a wireless mouse to the converter, the mouse worked perfectly fine. So, I've eliminated that being the error. What could be the error here? 

0 Kudos
Reply
8 Replies

210 Views
AdrianOltean
NXP Employee
NXP Employee

After providing the details asked by @Alice_Yang, please also make sure that LinkServer pack is still installed (not uninstalled by mistake) and there's no antivirus or firewall blocking the executables from there. The dialog from your screenshot has a "Details" button - is there anything useful shown once you click it?

Please also offer us full diagnostics information by going to Help -> MCUXpresso IDE Save Info for Support. Export diagnostics after you reproduce the debug failure.

Best regards,

Adrian

0 Kudos
Reply

179 Views
Tyler5638
Contributor I

Where can I check to see if the LinkServer pack is installed? Heres the further details of the error:

Tyler5638_0-1751738062375.png

I believe it just showed the directory to the program.

I atatched the zip file of the diagnostics

 

 

0 Kudos
Reply

135 Views
AdrianOltean
NXP Employee
NXP Employee
From your screenshot, I suspect you're not using any of the debug solutions supported by MCUXpresso IDE. I think you manually created a Run/Debug configuration that tries to execute the ELF on the host OS.

Please use the blue bug button in the the IDE's toolbar or use the Debug button from the Quickstart Panel to start a debug session. You should have a LinkServer, J-Link or PEmicro debug configuration created based on your selected probe. Make sure you delete all the previously created debug configurations from your project to make sure that they are recreated by the IDE.

Debugging procedure is also described in the User Guide - please have a look.

Best regards,
Adrian

PS: Please export diagnostics information as I previously instructed in my older post.
0 Kudos
Reply

217 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Tyler5638 

  1. Is your board an FRDM board from NXP or your own customized board?
  2. Please check if the Device Manager recognizes the debugger when it is connected.
  3. You can first test with a PC that has a USB port.

 

BR

Alice

0 Kudos
Reply

198 Views
Tyler5638
Contributor I
My board is a FRDM board from NXP. I checked my device manager on my Lenovo laptop, which has a USB port, to see if it recognized the debugger, and considering nothing popped up, I don't think it recognized it.
0 Kudos
Reply

189 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Tyler5638 

Thanks for your reply.

If the USB port is not recognized by the Device Manager, it cannot be used.

 

 

BR

Alice

0 Kudos
Reply

182 Views
Tyler5638
Contributor I

So I tried this again with the USB-to-USB-c converter on the laptop that I was using before that does not have a USB port and it recogonized the USB port.

Tyler5638_1-1751737425095.png

 

 

0 Kudos
Reply

141 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Tyler5638 

Please confirm to connect the J5 port (SDA USB). The device manager should recognize the corresponding port as follows:

Alice_Yang_0-1751859626545.png

 

BR

Alice

 

0 Kudos
Reply