Arm Community
Arm Community
  • Site
  • User
  • Site
  • Search
  • User
Open Source Software and Platforms
Open Source Software and Platforms
Wiki Configuring Keil MDK for Beetle
  • Help
  • Jump...
  • Cancel
  • About this wiki
  • Supported platforms
  • Obtaining support
  • +Arm Reference Platforms deliverables
  • +A-class platforms
  • -M-class platforms
    • -IoT Subsystems
      • Corstone-300 Platforms
      • -Beetle development board
        • Using mbed with Beetle
        • Configuring Keil MDK for Beetle
        • How do I drive the emulated and real LEDs in mbed code on Beetle?
        • How do I debug Beetle using DS 5?
        • Useful Links for Beetle platform
      • +Musca development boards
  • +R-class platforms
  • +FPGA prototyping boards
  • +Open source software

Configuring Keil MDK for Beetle

Keil Pack support for Beetle

Support for MDK development on Beetle is provided by a Keil Pack file that provides debug and Flash support. Note that this is a non-maintained Beta quality release.

`Arm.Beetle_DFP.2.0.0.pack' is available through Arm's Silver portal; it includes the following:

  • CMSIS-DAP debug configuration
  • Memory map information
  • Flash driver
  • Default compilation options
  • uVision example project

Installing the Pack

Arm Beetle

After installation the Keil Pack Installer should show an entry for Beetle:

Pack installer

Configuring Keil MDK project options for debug on Beetle

Keil MDK on Windows requires a driver for communicating with Beetle's CMSIS-DAP, see here.

The mbed CLI environment will allow export a uVision5 project; open this project in Keil MDK and make the following changes to the project options:

  • On the `Device' tab, change the device from `Cortex-M3' to `Beetle_SoC'

    Options for Target

  • On the `Debug' tab:
    • Change the default ULINK2 debug probe to `CMSIS-DAP Debugger'
    • Click `Settings' to bring up the `Target Driver Setup' window
      • On the `Debug' tab:
        • Set the `CSMIS-DAP-JTAG/SW Adapter' to `MBED CMSIS-DAP'

          Cortex-M Target Driver Setup

      • On the `Flash Download' tab:
        • Remove any existing device and add an entry for `TSMCULP55V2 256kB ONCHIP Flash'
        • Change the default size of RAM for the Flash algorithm from `0x1000' to `0x3000'

Keil Pack (CMSIS) examples

This section is deprecated; it has been left here for legacy support purposes.

The Pack also includes an example uVision project that can be extracted and built using MDK, however this example is not relevant if you are working with mbedOS.

Note: The example program assumes the presence of an Arduino Shield board populated with LEDs (the code with flash a series of LEds in sequence). By default Beetle does not include user accessible LEDs. See here for more information regraming the Arduino pinout and use of external LEDs.

  • Keil
  • Beetle IoT Evaluation Platform
  • Tutorial
  • Share
  • History
  • More
  • Cancel
Related
Recommended