mkroman / bouffalo-cli

BL602 Boot ROM utility
Apache License 2.0
8 stars 1 forks source link

Add programming baud rate #3

Closed mkroman closed 3 years ago

mkroman commented 3 years ago

Currently there's only a single global option to specify the baud rate when communicating with the boot ROM.

The eflash binary has a high-precision PLL clock so it's possible to achieve a higher baud rate, it'd make sense to be able to control this, especially since arbitrary baud rates are very portable.

When using the DT-BL10 board which has a C340N serial I've only had success when using 1M baud (when reading from serial - anything faster and it'd time out.)

mkroman commented 3 years ago

Added in https://github.com/mkroman/bouffalo-cli/commit/ad7253e2c55e8324e4dae4daa59a74d740d67e36