Skip to content

black magic probe, cmsis-dap, rt-thread and cherryusb on at32f435-start

Notifications You must be signed in to change notification settings

koendv/at32f435-start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

at32f435-start

at32f435

This is firmware for a debug probe that solves the question what to choose - OpenOCD or Black Magic Probe. With this firmware you do not have to choose between OpenOCD and Black Magic Probe - it does both.

use

Use openocd or black magic probe.

openocd

For openocd, use cmsis-dap:

$ ./bin/openocd -f openocd/scripts/interface/cmsis-dap.cfg -f openocd/scripts/target/stm32f0x.cfg
...
Info : Listening on port 3333 for gdb connections

In another window:

~$ arm-none-eabi-gdb -q
(gdb) tar ext :3333
Remote debugging using :3333

black magic

For black magic probe, connect to the first of the two usb serials:

$ arm-none-eabi-gdb -q
(gdb) tar ext /dev/ttyACM0
Remote debugging using /dev/ttyACM0

Connect the second usb serial to the target console:

$ minicom -D /dev/ttyACM1

specs

  • at32f435 arm processor, 288MHz, 1024 kbyte flash, 512 kbyte ram.
  • rt-thread open source real-time operating system
  • CherryUSB open source usb stack
  • Black Magic open source debug probe with built-in gdb server
  • free-dap a free and open source implementation of the CMSIS-DAP debugger firmware.

pinout

SIGNAL PIN
SWCLK A4
SWDIO A5
TDI A6
TDO A7
TXD B10
RXD B11

not truncated

About

black magic probe, cmsis-dap, rt-thread and cherryusb on at32f435-start

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published