Arm Community
Arm Community
  • Site
  • User
  • Site
  • Search
  • User
Open Source Software and Platforms
Open Source Software and Platforms
Wiki How do I debug Beetle using DS 5?
  • 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

How do I debug Beetle using DS 5?

The Beetle board supports external debug connections over CoreSight 10 or 20 pin connections (J59 and J16 respectively).

By default while the Beetle is mounted as a mass storage device on your host PC its debug pins are "claimed" for CMSIS-DAP debugging. In order to release these pins for use by an external debugger you need to boot the board in ISP mode, i.e. the mode used for Flash programming.

To connect to the Beetle using DS-5:

  1. Connect the DSTREAM to the Beetle via either CoreSight 10 or 20 pin connection
  2. Hold down the ISP button as you are plugging in the Beetle's mini USB-B cable
  3. The board should now boot in ISP mode
    • The board should mount as a mass storage device named `CRP Disabled' or `CRP DISABLED' rather than the normal `MBED'
  4. From DS-5 you should now be able to auto-detect the platform

After auto-detection completes and a new debug configuration is saved you can connect to the Beetle board and debug as normal.

  • DS-5 Development Studio
  • Beetle IoT Evaluation Platform
  • DS-5 Debugger
  • FAQ
  • Share
  • History
  • More
  • Cancel
Related
Recommended