Windows PowerShell
(C) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.
Установите последнюю версию PowerShell для новых функций и улучшения!
https://aka.ms/PSWindows
PS C:\Users\koltinov\Downloads\bl_mcu_sdk-1cf3d1455b3baf66a9e3237365fcdfd69d821487\bl_mcu_sdk-1cf3d1455b3baf66a9e3237365fcdfd69d821487\tools\bflb_flash_tool> .\bflb_mcu_tool.exe --chipname=bl702 --port=COM3 --xtal=32M --firmware=1.bin
[20:06:37.874] - ==================================================
[20:06:37.874] - Chip name is bl702
[20:06:37.874] - Serial port is COM3
[20:06:37.874] - Baudrate is 115200
[20:06:37.874] - Firmware is 1.bin
[20:06:37.874] - Default flash clock is 72M
[20:06:37.874] - Default pll clock is 144M
[20:06:37.874] - ==================================================
[20:06:37.902] - Update flash cfg finished
[20:06:37.908] - EFUSE_CFG
[20:06:37.908] - BOOTHEADER_CFG
[20:06:37.918] - Create bootheader using C:\Users\koltinov\Downloads\bl_mcu_sdk-1cf3d1455b3baf66a9e3237365fcdfd69d821487\bl_mcu_sdk-1cf3d1455b3baf66a9e3237365fcdfd69d821487\tools\bflb_flash_tool\chips\bl702\img_create_mcu/bootheader_cfg.ini
[20:06:37.918] - Updating data according to <C:\Users\koltinov\Downloads\bl_mcu_sdk-1cf3d1455b3baf66a9e3237365fcdfd69d821487\bl_mcu_sdk-1cf3d1455b3baf66a9e3237365fcdfd69d821487\tools\bflb_flash_tool\chips\bl702\img_create_mcu/bootheader_cfg.ini[BOOTHEADER_CFG]>
[20:06:37.920] - Created file len:176
[20:06:37.923] - Image create path: C:\Users\koltinov\Downloads\bl_mcu_sdk-1cf3d1455b3baf66a9e3237365fcdfd69d821487\bl_mcu_sdk-1cf3d1455b3baf66a9e3237365fcdfd69d821487\tools\bflb_flash_tool\chips\bl702\img_create_mcu
[20:06:37.923] - Config file: C:\Users\koltinov\Downloads\bl_mcu_sdk-1cf3d1455b3baf66a9e3237365fcdfd69d821487\bl_mcu_sdk-1cf3d1455b3baf66a9e3237365fcdfd69d821487\tools\bflb_flash_tool\chips\bl702\img_create_mcu/img_create_cfg.ini
[20:06:37.936] - Image hash is b'd8e760091ccb2e3c78c1674266f19dc0aa2eeeab20c515e718c833fea61dae36'
[20:06:37.936] - Header crc: b'ab85c9c9'
[20:06:37.936] - Write flash img
[20:06:37.937] - ========= eflash loader config =========
[20:06:37.962] - Version: bflb_eflash_loader_v2.1.2
[20:06:37.962] - Program Start
[20:06:37.962] - ========= eflash loader cmd arguments =========
[20:06:37.963] - Config file: C:\Users\koltinov\Downloads\bl_mcu_sdk-1cf3d1455b3baf66a9e3237365fcdfd69d821487\bl_mcu_sdk-1cf3d1455b3baf66a9e3237365fcdfd69d821487\tools\bflb_flash_tool\chips\bl702\eflash_loader\eflash_loader_cfg.ini
[20:06:37.963] - serial port is COM3
[20:06:37.963] - chiptype: bl702
[20:06:37.963] - ========= Interface is uart =========
[20:06:37.963] - com speed: 115200
[20:06:37.964] - Eflash load helper file: C:\Users\koltinov\Downloads\bl_mcu_sdk-1cf3d1455b3baf66a9e3237365fcdfd69d821487\bl_mcu_sdk-1cf3d1455b3baf66a9e3237365fcdfd69d821487\tools\bflb_flash_tool\chips\bl702\eflash_loader/eflash_loader_32m.bin
[20:06:37.964] - Eflash load helper file: C:\Users\koltinov\Downloads\bl_mcu_sdk-1cf3d1455b3baf66a9e3237365fcdfd69d821487\bl_mcu_sdk-1cf3d1455b3baf66a9e3237365fcdfd69d821487\tools\bflb_flash_tool\chips\bl702\eflash_loader/eflash_loader_32m.bin
[20:06:37.964] - ========= load eflash_loader.bin =========
[20:06:37.964] - Load eflash_loader.bin via uart
[20:06:37.964] - ========= image load =========
[20:06:38.053] - usb serial port
[20:06:38.114] - clean buf
[20:06:38.118] - send sync
[20:06:38.221] - ack is b''
[20:06:38.221] - retry
[20:06:38.221] - usb serial port
[20:06:38.283] - clean buf
[20:06:38.287] - send sync
[20:06:38.503] - ack is b'4f4b'
[20:06:38.550] - shake hand success
[20:06:38.565] - get_boot_info
[20:06:38.567] - data read is b'0100020700000000931d0400250004040000b6495f4cb97c'
[20:06:38.567] - ========= ChipID: 0000b6495f4cb97c =========
[20:06:38.567] - sign is 0 encrypt is 0
[20:06:38.573] - segcnt is 1
[20:06:38.578] - segdata_len is 64784
[20:06:38.592] - 4080/64784
[20:06:38.605] - 8160/64784
[20:06:38.619] - 12240/64784
[20:06:38.632] - 16320/64784
[20:06:38.646] - 20400/64784
[20:06:38.659] - 24480/64784
[20:06:38.673] - 28560/64784
[20:06:38.686] - 32640/64784
[20:06:38.700] - 36720/64784
[20:06:38.713] - 40800/64784
[20:06:38.727] - 44880/64784
[20:06:38.741] - 48960/64784
[20:06:38.754] - 53040/64784
[20:06:38.767] - 57120/64784
[20:06:38.781] - 61200/64784
[20:06:38.794] - 64784/64784
[20:06:38.796] - Run img
[20:06:38.909] - Load helper bin time cost(ms): 944.58740234375
[20:06:39.015] - ========= flash read jedec ID =========
[20:06:39.015] - Flash load shake hand
COM3 115200 bl702
[20:06:39.107] - clean buf
[20:06:39.111] - send sync
[20:06:39.320] - ack is b'4f4b'
[20:06:39.367] - Read flash jedec ID
[20:06:39.367] - readdata:
[20:06:39.367] - b'c2201380'
[20:06:39.367] - Finished
[20:06:39.367] - Program operation
[20:06:39.367] - Dealing Index 0
[20:06:39.367] - ========= programming chips\bl702\img_create_mcu\bootinfo.bin to 0x0
[20:06:39.369] - ========= flash load =========
[20:06:39.369] - ========= flash erase =========
[20:06:39.369] - Erase flash from 0x0 to 0xaf
[20:06:39.426] - Erase time cost(ms): 56.771484375
[20:06:39.430] - Load 176/176 {"progress":100}
[20:06:39.430] - Load 176/176 {"progress":100}
[20:06:39.430] - Write check
[20:06:39.430] - Flash load time cost(ms): 1.395263671875
[20:06:39.430] - Finished
[20:06:39.430] - Sha caled by host: e05cd5451c600e9976aa69e556e6992bcccf59fc9e000e839b85662feb038725
[20:06:39.430] - xip mode Verify
[20:06:39.431] - Read Sha256/176
[20:06:39.431] - Flash xip readsha time cost(ms): 0.521484375
[20:06:39.431] - Finished
[20:06:39.432] - Sha caled by dev: e05cd5451c600e9976aa69e556e6992bcccf59fc9e000e839b85662feb038725
[20:06:39.432] - Verify success
[20:06:39.432] - Dealing Index 1
[20:06:39.432] - ========= programming chips\bl702\img_create_mcu\img.bin to 0x2000
[20:06:39.434] - ========= flash load =========
[20:06:39.434] - ========= flash erase =========
[20:06:39.434] - Erase flash from 0x2000 to 0xbcff
[20:06:39.974] - Erase time cost(ms): 539.272216796875
[20:06:39.984] - Load 2048/40192 {"progress":5}
[20:06:39.994] - Load 4096/40192 {"progress":10}
[20:06:40.003] - Load 6144/40192 {"progress":15}
[20:06:40.012] - Load 8192/40192 {"progress":20}
[20:06:40.022] - Load 10240/40192 {"progress":25}
[20:06:40.030] - Load 12288/40192 {"progress":30}
[20:06:40.039] - Load 14336/40192 {"progress":35}
[20:06:40.049] - Load 16384/40192 {"progress":40}
[20:06:40.058] - Load 18432/40192 {"progress":45}
[20:06:40.067] - Load 20480/40192 {"progress":50}
[20:06:40.076] - Load 22528/40192 {"progress":56}
[20:06:40.086] - Load 24576/40192 {"progress":61}
[20:06:40.095] - Load 26624/40192 {"progress":66}
[20:06:40.103] - Load 28672/40192 {"progress":71}
[20:06:40.113] - Load 30720/40192 {"progress":76}
[20:06:40.122] - Load 32768/40192 {"progress":81}
[20:06:40.131] - Load 34816/40192 {"progress":86}
[20:06:40.140] - Load 36864/40192 {"progress":91}
[20:06:40.149] - Load 38912/40192 {"progress":96}
[20:06:40.156] - Load 40192/40192 {"progress":100}
[20:06:40.156] - Load 40192/40192 {"progress":100}
[20:06:40.156] - Write check
[20:06:40.156] - Flash load time cost(ms): 180.606201171875
[20:06:40.156] - Finished
[20:06:40.156] - Sha caled by host: d8e760091ccb2e3c78c1674266f19dc0aa2eeeab20c515e718c833fea61dae36
[20:06:40.156] - xip mode Verify
[20:06:40.166] - Read Sha256/40192
[20:06:40.166] - Flash xip readsha time cost(ms): 8.902587890625
[20:06:40.166] - Finished
[20:06:40.167] - Sha caled by dev: d8e760091ccb2e3c78c1674266f19dc0aa2eeeab20c515e718c833fea61dae36
[20:06:40.167] - Verify success
[20:06:40.167] - Program Finished
[20:06:40.167] - All time cost(ms): 2204.489990234375
[20:06:40.277] - [All Success]
PS C:\Users\koltinov\Downloads\bl_mcu_sdk-1cf3d1455b3baf66a9e3237365fcdfd69d821487\bl_mcu_sdk-1cf3d1455b3baf66a9e3237365fcdfd69d821487\tools\bflb_flash_tool>