bldc/blackmagic
Son Nguyen bf7bed0b6f
Fix blackmagic.mk line termination
It currently fails to build on Mac M1 due to lines not terminating correctly.
2022-02-19 11:55:11 +07:00
..
target blackmagic: Support more nrf5 target revisions 2021-10-13 15:14:53 +02:00
README.md Made build script non-verbose and removed some codacy warnings 2019-03-31 11:21:28 +02:00
blackmagic.mk Fix blackmagic.mk line termination 2022-02-19 11:55:11 +07:00
bm_if.c blackmagic: Support more nrf5 target revisions 2021-10-13 15:14:53 +02:00
bm_if.h blackmagic: Add cmd to write to target memory. 2021-10-01 16:29:57 +02:00
exception.c Added SWD programming support (based on Black Magic Probe) and open loop duty cycle control 2019-03-31 10:49:18 +02:00
exception.h Added SWD programming support (based on Black Magic Probe) and open loop duty cycle control 2019-03-31 10:49:18 +02:00
general.h Added SWD programming support (based on Black Magic Probe) and open loop duty cycle control 2019-03-31 10:49:18 +02:00
platform.c Added SWD programming support (based on Black Magic Probe) and open loop duty cycle control 2019-03-31 10:49:18 +02:00
platform.h Made build script non-verbose and removed some codacy warnings 2019-03-31 11:21:28 +02:00
platform_support.h Added SWD programming support (based on Black Magic Probe) and open loop duty cycle control 2019-03-31 10:49:18 +02:00
swdptap.c Added SWD programming support (based on Black Magic Probe) and open loop duty cycle control 2019-03-31 10:49:18 +02:00
swdptap.h Added SWD programming support (based on Black Magic Probe) and open loop duty cycle control 2019-03-31 10:49:18 +02:00
target.h Added SWD programming support (based on Black Magic Probe) and open loop duty cycle control 2019-03-31 10:49:18 +02:00
timing.c Added SWD programming support (based on Black Magic Probe) and open loop duty cycle control 2019-03-31 10:49:18 +02:00
timing.h Added SWD programming support (based on Black Magic Probe) and open loop duty cycle control 2019-03-31 10:49:18 +02:00

README.md

Black Magic Probe

This is the black magic probe integration in the VESC firmware. You can read more about the black magic probe at
https://github.com/blacksphere/blackmagic/wiki

The black magic probe software allows the VESC to be used as a SWD programmer and, to some extent, debugger. Currently only a subset of the targets and functionality of the black magic probe is included, in order to not use too much flash. If more targets are needed later it is easy to add them.

Targets that are supported:

  • NRF51 series
  • NRF52 series
  • STM32F0
  • STM32F1
  • STM32F3
  • STM32F2
  • STM32F4
  • STM32F7
  • STM32L0
  • STM32L1
  • STM32L4

Note that not all of the targets can be programmed by VESC Tool at the moment, but if the need arises they can easily be added to bm_if.c and pageswdprog.c in VESC Tool.

The VESC terminal also has some commands that provide additional functionality over the GUI page, such as reading and manipulating the option bytes and reading the device ID. The terminal commands also support some operations on targets not added to the GUI.