Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 5 months ago.
Since I downloaded the mbed firmware to the FRDM-KL05Z board it disconnects and reconnects about every 30 seconds making it hard to work with . Does anyone know what is happening and how to make the board stay connected?
Question relating to:
5 years, 5 months ago.
The NXP Freedom boards, like the FRDM-KL05Z, include a multi-mode debug interface called OpenSDA. Each boards embeds a Kinetis K20 MCU, which flash has been preprogrammed with a Bootloader on the top of which users can easily load from the file explorer their prefered Application (sda or bin files) for MSD flash-programming, USB to Serial and Debug modes, the mbed solution being one of those. FRDM-KL and FRDM-KE boards feature a PEmicro proprietary Bootloader (also called OpenSDA v1). The FRDM-KL05Z has been launched early 2013, when Windows 10 didn't exist, so the version of its Bootloader needs probably to be updated.
The good news is that the operation is very easy:)
1. To garanty the success of the operation, ideally you should use a Windows 7 computer, but Windows 8 computer should be OK 2. Just visit the PEmicro website section dedicated to OpenSDA (www.pemicro.com/opensda) and download the latest OpenSDA Fimware Apps package. 3. Extract the zip file OpenSDA_Bootloader_Update_App_v111_2013_12_11.zip and extract again the file BOOTUPDATEAPP_Pemicro_v111.SDA on your computer hard-drive. 4. Keep Reset button pressed while connecting the USB cable, to start the board in Bootloader mode and release it after 2s. 5. Drag n drop the file "BOOTUPDATEAPP_Pemicro_v111.SDA" into the Bootloader drive from your file explorer and wait the download to complete. 5. When Green LED stop blinking, unplug and re-plug the USB cable from the FRDM-KL05Z OpenSDA USB port, your board should be now programmed with the latest PEmicro Bootloader version v1.11, which according to the release notes (included in the zip package), add support to MAC, Linux and Windows 8.1 and later. 6. The latest mbed Application for the FRDM-KL05Z is available on the developper.mbed website (https://developer.mbed.org/handbook/Firmware-FRDM-KL05Z), to program it, simply restart your board in Bootloader mode and drag n drop the file "20140530_k20dx128_kl05z_if_opensda.s19" into the Bootloader drive. When Download completed (Green LED stop blinking) restart your board and you should be fine.
For more informations about the OpenSDA interface please visit the NXP website: www.nxp.com/opensda Here you will find all the applications compatible with your board (PEmicroDebug_MSD, CMSIS-DAP_mbed, JLink), just select it in the list.
Please let us know your feedback if those steps resolved your computer issues? Thanks