add flash scripts to flash e1_tracer via https://github.com/dword1511/stm32-vserprog.git and dfu-util

This commit is contained in:
Joachim Steiger 2020-08-27 00:45:20 +02:00
parent 8858e127a2
commit 3c40deac2d
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,6 @@
#!/bin/sh
cat e1tracer-bootloader-20200822.bin 1M0xff.bin > tmp
dd if=tmp of=flashme1M.bin bs=1024 count=1024
rm tmp
flashrom -p serprog:dev=/dev/ttyACM3:4000000 -w flashme1M.bin

4
flashing/tracer_flash_dfu.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
dfu-util -d 1d50:6150 -c 1 -a 0 -D riscv_usb.bin
dfu-util -d 1d50:6150 -c 1 -a 1 -D fw_app.bin -R