是按照这个上述步骤配置的,还是烧写不成功,我这边编译出来的whole bin文件也一样。
详细log如下
10:14:33.100] - ========= Interface is Uart =========
[10:14:33.107] - eflash loader bin is eflash_loader_40m.bin
[10:14:33.117] - Version: bflb_eflash_loader_v2.0.0
[10:14:33.117] - Program Start
[10:14:33.118] - ========= eflash loader cmd arguments =========
[10:14:33.118] - Config file: C:\Users\elink\Desktop\flash_tool\bl602\eflash_loader/eflash_loader_cfg.ini
[10:14:33.119] - serial port is COM5
[10:14:33.119] - chiptype: bl602
[10:14:33.119] - ========= Interface is Uart =========
[10:14:33.120] - com speed: 2000000
[10:14:33.120] - Eflash load helper file: C:\Users\elink\Desktop\flash_tool\bl602\eflash_loader/eflash_loader_40m.bin
[10:14:33.121] - Eflash load helper file: C:\Users\elink\Desktop\flash_tool\bl602\eflash_loader/eflash_loader_40m.bin
[10:14:33.121] - ========= load eflash_loader.bin =========
[10:14:33.121] - Load eflash_loader.bin via uart
[10:14:33.121] - ========= image load =========
[10:14:33.393] - tx rx and power off, press the machine!
[10:14:33.394] - cutoff time is 0.1
[10:14:33.495] - power on tx and rx
[10:14:34.225] - reset cnt: 0, reset hold: 0.005, shake hand delay: 0.1
[10:14:34.226] - clean buf
[10:14:34.432] - send sync
[10:14:34.634] - ack is b'4f4b'
[10:14:34.667] - shake hand success
[10:14:34.679] - get_boot_info
[10:14:34.690] - data read is b'0100000000000000030000007fe8c205b9181900'
[10:14:34.691] - ========= ChipID: 18b905c2e87f =========
[10:14:34.692] - sign is 0 encrypt is 0
[10:14:34.693] - segcnt is 1
[10:14:34.722] - segdata_len is 35744
[10:14:34.818] - 4080/35744
[10:14:34.915] - 8160/35744
[10:14:35.010] - 12240/35744
[10:14:35.106] - 16320/35744
[10:14:35.203] - 20400/35744
[10:14:35.298] - 24480/35744
[10:14:35.394] - 28560/35744
[10:14:35.491] - 32640/35744
[10:14:35.554] - 35744/35744
[10:14:35.570] - Run img
[10:14:35.687] - Load helper bin time cost(ms): 2565.766845703125
[10:14:35.789] - set flash cfg: 40000
[10:14:35.790] - Set flash config
[10:14:35.790] - Flash set para shake hand
[10:14:35.794] - clean buf
[10:14:35.898] - send sync
[10:14:36.102] - ack is b'4f4b'
[10:14:36.146] - Set para time cost(ms): 11.03515625
[10:14:36.147] - ========= flash read jedec ID =========
[10:14:36.162] - Read flash jedec ID
[10:14:36.163] - readdata:
[10:14:36.164] - b'ef401580'
[10:14:36.164] - Finished
[10:14:36.165] - Program operation
[10:14:36.166] - Dealing Index 0
[10:14:36.167] - ========= programming C:\Users\elink\Desktop\test.bin to 0x0
[10:14:36.177] - {"ErrorCode": "0040","ErrorMsg":"BFLB FLASH CFG NOT FIT WITH BOOTHEADER"}
[10:14:36.178] - Burn Retry
[10:14:36.179] - 0
[10:14:36.179] - Burn return with retry fail