9 years, 2 months ago.

How to avoid reset for flashing the code on FRDM-KL25Z board

I have updated my board to latest firmware and latest OpenSDA application on FRDM-KL25Z board. I am working on Mac OS X platform.

I see that, we need to reset the board always after copying the new binary file on to the MBED drive.

When i use the Open SDA application from Freescale (provided in P&E website), i do not need to reset the board.

Is there any way to automate this reset when you use the OpenSDA application provided by mbed ?

Question relating to:

1 Answer

9 years, 2 months ago.

You can also send a break character from a serial terminal.

Thanks Sam.

I have tried what you said for the FRDM-K64F board. It worked. But not for KL25Z.

I see that latest s19 record file (available in mbed) is not working correctly with the latest BOOT firmware 1,11 (downloaded from P&E). After copying the binary file, i do not see that program running on target. I tried on windows also, i get the same issue.

Please let me know if there is any latest version available for KL25Z ?

I have see the similar issue in the post where you have asked for more information from the user.

http://developer.mbed.org/questions/4371/Upgrade-new-FRDM-KL25Z/

I would like to provide more details on my setup.

First, i have flashed my FRDM-KL25Z board in BOOTLOADER mode with the latest Bootloader (BOOTUPDATEAPP_Pemicro_v111.SDA).

Then again i copied the latest MSD firware(MSD-DEBUG-FRDM-KL25Z_Pemicro_v114.SDA). If i drag and drop the binary generated from mbed to FRDM-KL25Z, then the executable works well on windows and mac too. I would like to automate the download process and used cp command on mac. Which is not working. Let me know if you have any idea why cp is not working. I suspected there may be issue with the MSD firmware on Mac OS X.

Then i started using the firmware 20140530_k20dx128_kl25z_if_opensda.s19 file provided mbed with latest BOOTLOADER (BOOTUPDATEAPP_Pemicro_v111.SDA). Now, If i drag and drop the binary generated from mbed to FRDM-KL25Z, then the executable does work on windows and mac too. I get different error messages in the fail.txt. - SWD Error

posted by Jags K 25 Feb 2015

Are you able to get this blinky http://developer.mbed.org/platforms/KL25Z/#downloading-a-program working using 20140530_k20dx128_kl25z_if_opensda.s19

I cant much help you with the PE apps.

posted by Sam Grove 25 Feb 2015

Hi Jags, are you still having issues with this? Sometime certain platforms are picky about which command you use to copy the binary. I'm curious, have you tried making a local copy of the file, then use the "mv" command to put it on the mbed? I'm not sure if that will help, but it could just be a nuance of "cp".

posted by Brian Daniels 08 May 2015

Assigned to -deleted- 9 years, 2 months ago.

This means that the question has been accepted and is being worked on.