bouffalolab / bl_iot_sdk

BL602/BL702 SDK. Any technical topic, please access the following link.
http://bbs.bouffalolab.com
Apache License 2.0
260 stars 170 forks source link

Flash times seem long #40

Open rickbronson opened 3 years ago

rickbronson commented 3 years ago

Hi,

When I flash (after I erase) using:

python3 bltool.py --write 0 whole_dts40M_pt2M_boot2release_c84015.bin

It takes 6 minutes! That seems really long to me. Am I doing something wrong?

Thanks,

Rick

YafeiJin commented 3 years ago

Please change the baudrate to 1000000.

rickbronson commented 3 years ago

That helped but not much. Went from 6 minutes to 4 minutes. How long is your flash time?:

What is the flash time using a Jlink JTAG?

What is the flash time using OTA?

Thanks again for the help.

Rick

YafeiJin commented 3 years ago

@rickbronson With our tool, it takes around 20s to burn, Around 30s for OTA, and the difference comes from data-transferring.