Kauai Labs navX2-MXP User Manual page 96

Robotics navigation sensor
Table of Contents

Advertisement

Advanced
"Classic" navX-MXP Firmware Customization
https://www.freddiechopin.info/en/articles/34-news/92-openocd-w-wersji-080)
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.
93

Advertisement

Table of Contents
loading

Related Products for Kauai Labs navX2-MXP

Table of Contents