FRDM-KL25Z : Flash error - Keil uVision5

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FRDM-KL25Z : Flash error - Keil uVision5

5,318件の閲覧回数
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,295件の閲覧回数
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,289件の閲覧回数
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,280件の閲覧回数
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,273件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信

5,267件の閲覧回数
Alexa18
Contributor I

Yes it was disabled

0 件の賞賛
返信

5,261件の閲覧回数
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,313件の閲覧回数
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,307件の閲覧回数
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,300件の閲覧回数
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 件の賞賛
返信