FRDM-KL25Z : Flash error - Keil uVision5

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

FRDM-KL25Z : Flash error - Keil uVision5

4,409 Views
Alexa18
Contributor I

I'm a beginner. I'm trying to flash the example blink code to FRDM KL25Z board on Keil. But I'm getting this error "No debug unit device found" (Whereas I've plugged in my board to my laptop). Can anyone help me out with this ?

Labels (1)
0 Kudos
Reply
9 Replies

4,386 Views
Alexa18
Contributor I

Alexa18_0-1639020352437.png

It says Port undetected as shown above. I tried disconnecting and reconnecting and refreshing, but it is still not working. Can you please make me understand what is causing the problem?

0 Kudos
Reply

4,380 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Please check whether the bootloader and firmware of OpenSDA is OK by refer: Recovering OpenSDA Boards with Windows 10

0 Kudos
Reply

4,371 Views
Alexa18
Contributor I

Hey, Thank you. My bootloader Version is 1.09.    And I'm using Windows 10.

I followed instructions given in the link that you had suggested. But, I failed to update the bootloader. 

The version is not changing. Also the LASTSTAT.txt file in bootloader drive used to have '"error" before. But now it says "programming..."

So yeah, I'm unable to update the bootloader. Any solutions to this?

0 Kudos
Reply

4,364 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Please make sure this step: Disable/stop Windows Services. Some computers may enable automatically.

0 Kudos
Reply

4,358 Views
Alexa18
Contributor I

Yes it was disabled

0 Kudos
Reply

4,352 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Have you tried to use other PC? If still not work, then you may have to update the bootloader by using Windows 7.

0 Kudos
Reply

4,404 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi Alexa,

The onboard debugger is PEMicro OpenSDA, so please select it and try to debug again.

Keil MDK Pemicro Debugger.png

You can getting started with MCUXpresso Software and Tools, there are a lots of Keil MDK project examples in MCUXpresso SDK.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply

4,398 Views
Alexa18
Contributor I

I'm getting this error with that. 

Alexa18_0-1639017565381.png

Also when I plug it in to my laptop, it doesn't appear as a storage device. An LED on the board blinks right when I connect it to my PC and goes off

0 Kudos
Reply

4,391 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

PE34298 is a known issue with old project that select Freesacle as Vendor. Please click Select New Device and chose NXP.

Select New Device.png

0 Kudos
Reply