ch32-rs / wlink

An open source WCH-Link library/command line tool written in Rust.
Apache License 2.0
155 stars 25 forks source link

[feature request] download each block respectively when hex is not sequential #40

Closed kaidegit closed 6 months ago

kaidegit commented 8 months ago

When a firmware is merged from bootloader and app, the hex file will be not sequential. However, using wlink flash seems to download the empty part in the middle, which would cause the download time be longer.

andelf commented 8 months ago

Good point. This is very useful for customized second-stage apps.

OpusElectronics commented 8 months ago

I was going to ask, and found this ticket. :) The request would be when using elf files as well.

Apart from the typical bootloader/app situation, another use case is putting constant data into the non-zero-wait Flash area, something I'm trying right now.