uploading using serial - tomaskovacik/audi_concert1_chorus1_volume_fix GitHub Wiki

work in progress

set solder jumpers based on this picture (boot0 set to 1, boot1 set to 0):

connect serial adapter (3v3 must have the serious current capability, cp2102 3v3 output is not adequate, or you can use 5V output of adapter and connect it to appropriate pin in place of the USB connector)

then upload the latest firmware using this command:

${HOME}/.arduino15/packages/stm32duino/tools/stm32tools/2021.5.31/linux/stm32flash/stm32flash -w ./current_serial1_nousb_st32f104c6t6_HWv3.bin /dev/ttyUSB0 
stm32flash Arduino_STM32_0.9

http://github.com/rogerclarkmelbourne/arduino_stm32

Using Parser : Raw BINARY
Interface serial_posix: 57600 8E1
Version      : 0x22
Option 1     : 0x00
Option 2     : 0x00
Device ID    : 0x0412 (Low-density)
- RAM        : 10KiB  (512b reserved by bootloader)
- Flash      : 32KiB (sector size: 4x1024)
- Option RAM : 16b
- System RAM : 2KiB
Write to memory
Erasing memory
Wrote and verified address 0x08007e30 (100.00%) Done.

Starting execution at address 0x08000000... done.

latest firmware are here, archive here