spacemeowx2 / blflash

bl602 serial flasher
Apache License 2.0
54 stars 15 forks source link

Does it support other models? For example BL616 #16

Open wsndshx opened 6 months ago

wsndshx commented 6 months ago

I am currently using BL616, but the compiled binary does not run properly after being flashed using BouffaloLabDevCube. I think it might be because the binaries generated by rust need to be flashed using other tools?

spacemeowx2 commented 6 months ago

I don't know because I have no device to test.

But I guess it don't support BL616. Flashing need a bootrom (https://github.com/spacemeowx2/blflash/tree/main/blflash/src/chip/bl602/image).

wsndshx commented 6 months ago

I don't know because I have no device to test.

But I guess it don't support BL616. Flashing need a bootrom (https://github.com/spacemeowx2/blflash/tree/main/blflash/src/chip/bl602/image).

Thank you for your response. May I inquire if the bootrom file you mentioned is obtained through compiling a file similar to https://github.com/bouffalolab/bouffalo_sdk/blob/master/examples/wifi/sta/wifi_ota/port/bl602/bflb_port_boot2.c?