9 years, 7 months ago.

FRDM-KL25Z no longer loading applications

I seem to have "bricked" my FRDM-KL25Z. I was happily loading and running applications. I don't know what I have done but now I get a FAIL.TXT file in my MBED drive. The text can say either "SWD ERROR" or "NOT CONSECUTIVE SECTORS" (I have seen both). I have gone back and reloaded the bootloader BOOTUPDATEAPP_Pemicro_v111.SDA and then reloaded firmware.s19. I get an MBED drive when I plug the board into the computer USB socket and all looks well. I have tried the board on my usual Linux machine (where it was happy before) and with a Windows laptop. I have tried downloading the binary file directly (from Chrome and from Firefox) and I have tried dragging and dropping the file to the MBED drive. Any help would be appreciated.

Question relating to:

The FRDM-KL25Z is an ultra-low-cost development platform for Kinetis L Series KL1x (KL14/15) and KL2x (KL24/25) MCUs built on ARM® Cortex™-M0+ processor. Features include easy access to MCU I/O, battery-ready, …

I used sometimes jlink to gain control over the chip to be able to erase it fully or pyOCD or uvision (just flash the blinky demo). I would give it a try to see if you can restore your chip.

posted by Martin Kojtal 23 Sep 2014

You didn't change anything hardware related? (Like adding a jumper on the power connection for the KL25). And is that windows laptop 8.1 or lower? I have also debricked stuff by playing around in the free Keil uVision using the CMSIS-DAP debugger of the mbed firmware. Which generally was just trying every erase option / debugger setting until it did something again.

posted by Erik - 23 Sep 2014

Thanks Martin and Erik. No, I haven't made any hardware changes to the board and the Windows machine was still running XP (I am mainly a Linux user). I have had situations with other boards (outside the mbed environment) where a board gets "lost". Sometimes they can only be recovered with a hardware debugger (e.g. JTAG). I don't have that capability right now but am I right in thinking that a software only debugging solution might work?

posted by Shaun Cullimore 24 Sep 2014

you can use OpenSDA Debugger in the frdm , use code warrior and can reflash it.. It works.. I faced the same problem and it is fine for me now..

posted by Ram Prasadh 22 Nov 2014
Be the first to answer this question.