mbed FRDM KL25Z Upgrade

This content relates to a deprecated version of Mbed

Mbed 2 is now deprecated. For the latest version please see the Mbed OS documentation.

The mbed team worked with Freescale to ensure that it was possible to mbed-enable your freedom board! Once you have upgraded the your Freedom-KL25Z board, you will have

  • USB drag and drop programming
  • USB Virtual COM port for serial terminal
  • CMSIS-DAP interface for programming and debugging from offline tools
  • Free access to the mbed online compiler, mbed C/C++ SDK, and developer community

Its really simple, and its free, so lets get started!

Updating the interface

While holding down the small button between the USB connectors, plug the Freedom board into the connector marked SDA - the bottom one as shown.

/media/uploads/chris/frdm_small.png

When the FRDM-KL25Z is plugged in this way, it will appear as a disk called BOOTLOADER which you can simply copy the update file onto.

/media/uploads/chris/bootloader.png

Firmware update on Linux or Mac

If you are using Linux or Mac, according to the version of the bootloader of your board, the BOOTLOADER might not appear. If you experience this problem, you have no choice but to use a Windows machine to update the firmware.

The mbed interface upgrade file for the FRDM-KL25Z is :

After you have copied on the file onto the FRDM-KL25Z, simply unplug it, and plug it back in again, and the the USB disk will appear and an mbed disk.

/media/uploads/chris/mbed-disk.png

Restoring your FRDM-KL25Z

Should you wish to revert your FRDM-KL25Z back to its original state, simply use the original OpenSDA firmware:

More information are available here: http://www.pemicro.com/opensda/index.cfm

Getting Started with mbed

1. Connect your FRDM-KL25Z to a PC

Use the USB lead to connect your KL25Z to a PC, using the USB connector labelled "SDA". The status light will come on, indicating it has power. After a few seconds of activity, the PC will recognise the mbed Microcontroller as a standard USB drive.

/media/uploads/dan/winxp-disk.png/media/uploads/dan/mac-disk.png
Windows XP exampleMac OS X example

Go to the new USB Drive, and click MBED.HTM to open it in a web browser. Choose "Signup", and create your mbed Account. This will give you access to the Website, Tools, Libraries and Documentation.

3. Have Fun!

Where Next?

Troubleshooting

If the USB Flash drive does not appear:

  • Ensure the USB connector is plugged in fully. The Microcontroller can power up even when only partially connected, but it won't actually work!
  • Windows tends to be lazy, so you'll often have to hit F5 when you're in an explorer window to see new drives

If any of this doesn't work as described for you, please email support@mbed.co.uk


All wikipages