gicking / stm8gal

PC tool for uplading hexfiles to the STM8 microcontroller via UART or SPI , using the built-in ROM bootloader. Works under Windows and Posix operating systems
Apache License 2.0
80 stars 21 forks source link

Verify slow in reply mode #20

Closed gicking closed 3 years ago

gicking commented 3 years ago

Reading out and/or verifying data in "UART reply mode" is very slow over 2-wire interface. This is caused by a few ms latency for each byte which must be echoed by the PC. Using a FT232R, reading back 14kB takes ~5min

gicking commented 3 years ago

Fixed via v1.4.2 and CRC32 verify option (32kB in 2.4s, 128kB in 4.9s). To use CRC32 check use option "-V 1"

MarkStokes71 commented 3 years ago

Thank you, this should prove very valuable!

gicking commented 3 years ago

Update v1.4.3 fixes an address conflict with STM8L low-density BL v1.0. RAM code now starts at 0x210. For technical details see https://github.com/gicking/stm8gal/blob/master/verify_CRC32/README.md