kl25z is not saving my code

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

kl25z is not saving my code

1,259 Views
juda-santos
Contributor II

Hi guys,

I'm new here and  new with the freescale platform as well. So, I'm just trying the basic "Hello World!" code,but I'm having some troubles. I can debug it normally, but when I try to use 'the GUI flash tool' using the connected probe I receive this result:


Device selected is NXP_KL2x_KL25Z128M4
User Specified Hardware Selection : Interface=OPENSDA and Port=USB1
Connecting to target.
OpenSDA detected - Flash Version 1.18
Device is NXP_KL2x_KL25Z128M4.
Mode is In-Circuit Debug.
(C)opyright 2012, P&E Microcomputer Systems, Inc. (www.pemicro.com)
API version is 101
Creating kernel driver for freertos
Server 1 running on 127.0.0.1:7224
Server 2 running on 127.0.0.1:7226
Server 3 running on 127.0.0.1:7228
Server 4 running on 127.0.0.1:7230
Server 5 running on 127.0.0.1:7232
Server 6 running on 127.0.0.1:7234
Server 7 running on 127.0.0.1:7236
Server 8 running on 127.0.0.1:7238
Server 9 running on 127.0.0.1:7240
Server 10 running on 127.0.0.1:7242
Warning: No data was programmed in FLASH
All Servers Running
Target Disconnected.

Basically, it's not saving my work.

Could someone help me with this?

Thanks

Labels (1)
6 Replies

1,031 Views
axjhross
Contributor I

I am having the same problem. Did you find a solution?

0 Kudos

1,031 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Judá Santos ,

Please tell me which board do you used? And also the MCUXpresso IDE version, please use the latest v10.2.0.

The "13. The GUI Flash Tool" of <MCUXpresso_IDE_User_Guide.pdf> introduce how to configure and flash ,

you can have a look , I attachec it for you.


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,031 Views
juda-santos
Contributor II

Hi Alice_Yang,

I'm using the NXP_KL2x_KL25Z128M4 and my MCUXpresso_IDE is  the v10.2.0_759. I already read the guide and I still have the same result.

0 Kudos

1,031 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello  Judá Santos .

Which board do you used ? For example FRDM-KL25 ? Or  a custom board ?

I test on FRDM-KL25 board, it can work well . On my side , the GUI Flash Tool for P&E probe is :

pastedImage_1.png


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,031 Views
juda-santos
Contributor II

Hello,
I'm using a FRDM-KL25Z. I tried the same as you showed, but I got the same result as before.

The weird thing is that I can use this board normally in a PC in my university, but I can't use it at home.

Anyway, thank you for your help. (:

0 Kudos

1,031 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Judá Santos,

What about the system version of your home ?

Please uninstall the P&E driver on PC, then reinstall it again.

BR

Alice

0 Kudos