Kauai Labs navX-MXP User Manual page 93

Robotics navigation sensor
Table of Contents

Advertisement

Advanced
Firmware Customization
OpenOCD includes A gdb server that runs with the ST-LINK/V2.
MPORTANT NOTE: THe 0.9.0 release of OpenOCD contains a bugfix; earlier releases
of OpenOCD from cannot communicate correctly with the STM32F411 microcontroller
used in the navX-MXP. If you are not able to acquire this release of OpenOCD, please
contact support@kauailabs.com for information on how to proceed.
Configure Eclipse to run OpenOCD
Run->External Tools->External Tools Configuration...
Add a new configuration, name it "OpenOCD"
In the "main" tab, under Location, provide the path to the location of Open OCD. E.g.,
C:\OpenOCD\openocd-09.0\bin-x64\openocd-x64-0.9.0.exe
In the same "main" tab, in the Arguments window, enter the following:
-f C:\OpenOCD\openocd-0.9.0\scripts\interface\stlink-v2.cfg -f
C:\OpenOCD\openocd-0.9.0\scripts\target\stm32f4x_stlink.cfg
To start the OpenOCD Server, Select Run->ExternalTools?->OpenOCD (where
OpenOCD is the name provided earlier on the "main" tab)
Once the OpenOCD Server has started, the debug session can be started.
90

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Kauai Labs navX-MXP

Table of Contents