Keil Logo

µVISION: Using MDK-ARM with the TWR-K64F mbed Kit


Information in this knowledgebase article applies to:

  • MDK-ARM V5.15 and later

QUESTION

I have a Freescale TWR-K64F mbed kit and would like to program and debug it using the CMSIS-DAP driver in MDK-ARM.

How do I do that?

ANSWER

This is basically a two-step process:

  • Download and load the BOOT application to your board.
  • Install the CMSIS-DAP for mbed driver on your PC.

Loading the BOOT Application

Before you can install the CMSIS-DAP driver, you have to load the boot application (.bin) file to your board. You may download the latest version using the link and procedure at the Firmware FRDM K64F page of the ARM mbed developer website.

Installing the CMSIS-DAP Driver for mbed

The CMSIS-DAP Debugger in µVision needs the CMSIS-DAP driver for mbed installed on your PC to communicate to the FRDM-K64F board.

To install the CMSIS-DAP driver for mbed:

  1. Download the CMSIS-DAP driver for mbed (mbedWinSerial_16466.exe) from the mbed site.
  2. Make sure your FRDM-K64F board is connected to your PC.
  3. Install the CMSIS-DAP driver. After installation, in Windows, opening the Devices and Printers dialog should show the following new devices on your PC:
    • MBED microcontroller USB Device
    • MBED CMSIS-DAP
    • mbed Serial Port(COMnn) nn = the COM port number

Testing the CMSIS-DAP Driver for mbed

Use µVision5 to verify that the CMSIS-DAP for mbed driver is working:

  1. Start µVision, and open any Cortex-M project.
  2. Click Project — Options for Target, then the Debug tab. Change the Use: selection to CMSIS-DAP Debugger.

  3. Clicking the Settings button displays the following dialog showing µVision connected to the MK64FN1M0xxx12 device via MBED CMSIS-DAP.

MORE INFORMATION

Last Reviewed: Tuesday, June 30, 2015


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.