See https://github.com/sinara-hw/Stabilizer
rustup target add thumbv7em-none-eabihf
cargo build --release
gdb
(or a cross arm gdb and edit .cargo/config
accordingly)openocd -f stabilizer.cfg
and leave it runningcargo run --release
1-8
to the pins on the St-Link v2 single row 2.54mm connector as 647513(82)
((i)
marks an unused wire)
and to the 1.27mm dual row on Stabilizer as 657483x2x1
(x
marks an unused pin, enumeration is standard for dual row, as in the
schematic).
It's just folding the ribbon between wires 5
and 6
. The signals on the ribbon
are then NRST,TDI,TDO,TCK,TMS,3V3,GND,GND
.
dfu-util
)cargo objcopy --release --bin stabilizer -- -O binary stabilizer.bin
or arm-none-eabi-objcopy -O binary target/thumbv7em-none-eabihf/release/stabilizer stabilizer.bin
dfu-util -a 0 -s 0x08000000:leave -D stabilizer.bin
cargo objcopy --release --bin stabilizer -- -O binary stabilizer.bin
or arm-none-eabi-objcopy -O binary target/thumbv7em-none-eabihf/release/stabilizer stabilizer.bin
stabilizer.bin
to the NODE_H743ZI
USB diskStabilizer can be configured via newline-delimited JSON over TCP. It listens on port 1235. stabilizer.py contains a reference implementation of the protocol.