Alternative firmware for the BlackIce II to allow uploads over serial.
This firmware is hacky and should be used at your own risk.
mkdir build
cd build
cmake ..
build
serialware.bin
should now exist in the build directory and be ready for flashing.
- Connect SWD device (e.g. Raspberry PI or STLink)
- Create
openocd.cfg
, replacing the interface file and adapter speed as necessarysource /usr/local/share/openocd/scripts/interface/raspberrypi-native.cfg transport select swd source /usr/local/share/openocd/scripts/target/stm32l4x.cfg reset_config srst_nogate adapter_nsrst_delay 100 adapter_nsrst_assert_width 100 adapter speed 5 init targets
- Start openocd
sudo openocd
- Connect to openocd
telnet localhost 4444
- Flash
halt flash write_image erase serialware.bin 0x08000000
- Reset device
The firmware is based upon the original BlackIce II firmware.