Another readily available board with a user USB port, and this one lets you test the st usbfs peripheral on a device with trace facilities.
14 lines
379 B
INI
14 lines
379 B
INI
source [find interface/stlink-v2.cfg]
|
|
set WORKAREASIZE 0x4000
|
|
source [find target/stm32f3x.cfg]
|
|
|
|
# serial of my f3 disco board.
|
|
hla_serial "S?n\x06gePQ6G%g"
|
|
|
|
tpiu config internal swodump.stm32f3-disco.log uart off 72000000
|
|
|
|
# Uncomment to reset on connect, for grabbing under WFI et al
|
|
reset_config srst_only srst_nogate
|
|
# reset_config srst_only srst_nogate connect_assert_srst
|
|
|