FRDM-KL25Z : Flash error - Keil uVision5

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

FRDM-KL25Z : Flash error - Keil uVision5

5,354 次查看
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 ?

标签 (1)
0 项奖励
回复
9 回复数

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

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

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

5,309 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

5,303 次查看
Alexa18
Contributor I

Yes it was disabled

0 项奖励
回复

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

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

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

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