Install OpenSDAv2 Firmware on FRDM-K64F Board

The FRDM-K64F platform features OpenSDAv2 that offers several options for serial communication, flash programming, and run-control debugging. The Simulink Coder Support Package for NXP FRDM-K64F Board supports the boards that are loaded with two variants of OpenSDAv2 firmware, mbed-firmware and the JLink Segger firmware. This section describes the steps to update the board with mbed-firmware or the segger firmware.

Install JLink Segger Firmware for NXP FRDM-K64F Board

  1. Go to the https://www.segger.com/downloads/jlink page.

    Scroll down to the J-Link OpenSDA - Board-Specific Firmwares section. Click the plus sign to expand the list of ARM-based Freescale boards.

    Click the Download button next to FRDM-K64F and download the file 02_OpenSDA_FRDM-K64F.bin to your computer.

  2. Press the Reset button on the FRDM-K64F board and connect a USB cable from your computer to the OpenSDA mini-B USB connector of the FRDM-K64F board.

  3. The LED blinks on the board indicating that the board is now in bootloader mode. Release the Reset button.

  4. Open Windows Explorer and locate the BOOTLOADER drive.

  5. Copy the file 02_OpenSDA_FRDM-K64F.bin from the folder in which you downloaded to the BOOTLOADER drive on your computer.

  6. To power cycle your board, unplug your board from the computer, and then plug it back in to the computer.

  7. Once the board is plugged into the computer. You can see the FRDM-K64F drive in the windows explorer.

Install mbed Firmware for NXP FRDM-K64F Board

The FRDM-K64F board comes with the mbed CMSIS-DAP firmware installed by default. It appears as a removable storage drive with a volume label of MBED.

If the volume label MBED does not appear or to upgrade your board with mbed firmware, follow these steps:

  1. Download the latest mbed interface upgrade file for the FRDM-K64F from the link: https://developer.mbed.org/handbook/Firmware-FRDM-K64F.

  2. Press the Reset button on the FRDM-K64F board and connect a USB cable from your computer to the OpenSDA mini-B USB connector of the FRDM-K64F board.

  3. The LED blinks on the board indicating that the board is in the bootloader mode. Release the Reset button.

  4. Open Windows Explorer and locate the BOOTLOADER drive.

  5. Copy the file 0226_k20dx128_k64f_0x5000.bin from the folder in which you downloaded to the BOOTLOADER drive on your computer.

  6. To power cycle your board, unplug your board from the computer, and plug it back in to the computer.

  7. Once the board is plugged into the computer, you can see the MBED drive in the windows explorer.