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

changes/81/19981/1
Joachim Steiger 2 years ago
parent 8858e127a2
commit 3c40deac2d
  1. 6
      flashing/tracer_flash_bootloader.sh
  2. 4
      flashing/tracer_flash_dfu.sh

@ -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

@ -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
Loading…
Cancel
Save