-
Notifications
You must be signed in to change notification settings - Fork 76
Description
g:\Down\Sipeed\Boards\BL702>bflb-mcu-tool --chipname=bl702 --port=COM6 --baudrate=115200 --xtal=32M --firmware="usb2uartjtag_bl702.bin"
[13:58:31.733] - ==================================================
[13:58:31.733] - Chip name is bl702
[13:58:31.733] - Serial port is COM6
[13:58:31.733] - Baudrate is 115200
[13:58:31.733] - Firmware is usb2uartjtag_bl702.bin
[13:58:31.733] - Device Tree is None
[13:58:31.733] - ==================================================
[13:58:31.734] - Default flash clock is XCLK
[13:58:31.735] - Default pll clock is 144M
[13:58:31.743] - EFUSE_CFG
[13:58:31.743] - BOOTHEADER_CFG
[13:58:31.750] - create bootheader using D:\Python312\Lib\site-packages\bflb_mcu_tool\chips\bl702\img_create_mcu/efuse_bootheader_cfg.ini
[13:58:31.750] - Updating data according to <D:\Python312\Lib\site-packages\bflb_mcu_tool\chips\bl702\img_create_mcu/efuse_bootheader_cfg.ini[BOOTHEADER_CFG]>
[13:58:31.752] - created file len: 176
[13:58:31.755] - create efuse using D:\Python312\Lib\site-packages\bflb_mcu_tool\chips\bl702\img_create_mcu/efuse_bootheader_cfg.ini
[13:58:31.756] - Updating data according to <D:\Python312\Lib\site-packages\bflb_mcu_tool\chips\bl702\img_create_mcu/efuse_bootheader_cfg.ini[EFUSE_CFG]>
[13:58:31.757] - created file len: 128
[13:58:31.764] - Image create path: D:\Python312\Lib\site-packages\bflb_mcu_tool\chips\bl702\img_create_mcu
[13:58:31.765] - Config file: D:\Python312\Lib\site-packages\bflb_mcu_tool\chips\bl702\img_create_mcu/img_create_cfg.ini
[13:58:31.769] - Image hash is b'3a3a2bb7f8d21c60b72353253543212327a8c1f5f6a594d0f5aee56c0d5fa4b0'
[13:58:31.771] - Header crc: b'c05331f9'
[13:58:31.772] - Write flash img
[13:58:31.776] - Encrypt efuse data
[13:58:31.892] - ========= eflash loader config =========
[13:58:31.936] - eflash loader version: v2.6.0
[13:58:31.936] - program start
[13:58:31.937] - ========= eflash loader cmd arguments =========
[13:58:31.939] - config file: D:\Python312\Lib\site-packages\bflb_mcu_tool\chips\bl702\eflash_loader\eflash_loader_cfg.ini
[13:58:31.940] - serial port is COM6
[13:58:31.940] - cpu reset flag is False
[13:58:31.940] - chip type: bl702
[13:58:31.941] - ========= interface is uart =========
[13:58:31.941] - uart speed: 115200
[13:58:31.942] - eflash load helper file: D:\Python312\Lib\site-packages\bflb_mcu_tool\chips\bl702\eflash_loader\eflash_loader_32m.bin
[13:58:31.942] - ========= load eflash_loader.bin =========
[13:58:31.943] - load eflash_loader.bin via uart
[13:58:31.943] - ========= image load =========
[13:58:32.156] - ack is not ok
[13:58:32.158] - resp: FL
[13:58:32.168] - default set DTR high
[13:58:32.269] - usb serial port
[13:58:32.319] - clean buf
[13:58:32.322] - send sync
[13:58:32.426] - ack is
[13:58:32.426] - retry
[13:58:32.428] - default set DTR high
[13:58:32.530] - usb serial port
[13:58:32.580] - clean buf
[13:58:32.583] - send sync
[13:58:32.804] - ack is 4f4b
[13:58:32.836] - handshake succeeded
[13:58:32.846] - get boot info
[13:58:32.855] - data read is b'0100020700000000931d04002700040400004c835f4cb97c'
[13:58:32.855] - ========= chip id: 00004c835f4cb97c =========
[13:58:32.856] - last boot info: None
[13:58:32.858] - sign is 0, encrypt is 0
[13:58:32.860] - segcnt is 1
[13:58:32.880] - segdata len is 59200
[13:58:32.905] - 4080/59200
[13:58:32.928] - 8160/59200
[13:58:32.953] - 12240/59200
[13:58:32.977] - 16320/59200
[13:58:33.001] - 20400/59200
[13:58:33.025] - 24480/59200
[13:58:33.050] - 28560/59200
[13:58:33.074] - 32640/59200
[13:58:33.100] - 36720/59200
[13:58:33.124] - 40800/59200
[13:58:33.149] - 44880/59200
[13:58:33.174] - 48960/59200
[13:58:33.197] - 53040/59200
[13:58:33.222] - 57120/59200
[13:58:33.239] - 59200/59200
[13:58:33.249] - Run img
[13:58:33.360] - load helper bin time cost(ms): 1417.115
[13:58:33.461] - Flash load handshake
[13:59:03.931] - error: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Присоединенное к системе устройство не работает.', None, 31)
[13:59:04.933] - error: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Присоединенное к системе устройство не работает.', None, 31)
[13:59:05.941] - default set DTR high
[13:59:06.042] - clean buf
[13:59:06.043] - error: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Присоединенное к системе устройство не работает.', None, 31)
[13:59:06.043] - ErrorCode: 0001, ErrorMsg: BFLB EFLASH LOADER HANDSHAKE FAIL
[13:59:06.047] - read mac addr failed
[13:59:06.049] - Flash load handshake
[13:59:06.051] - error: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Присоединенное к системе устройство не работает.', None, 31)
[13:59:07.053] - error: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Присоединенное к системе устройство не работает.', None, 31)
[13:59:08.060] - default set DTR high
[13:59:08.161] - clean buf
[13:59:08.162] - error: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Присоединенное к системе устройство не работает.', None, 31)
[13:59:08.163] - ErrorCode: 0001, ErrorMsg: BFLB EFLASH LOADER HANDSHAKE FAIL
[13:59:08.166] - read mac addr failed
[13:59:08.167] - Flash load handshake
[13:59:08.176] - error: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Присоединенное к системе устройство не работает.', None, 31)
[13:59:09.178] - error: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Присоединенное к системе устройство не работает.', None, 31)
[13:59:10.187] - default set DTR high
[13:59:10.289] - clean buf
[13:59:10.290] - error: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Присоединенное к системе устройство не работает.', None, 31)
[13:59:10.290] - ErrorCode: 0001, ErrorMsg: BFLB EFLASH LOADER HANDSHAKE FAIL
[13:59:10.291] - read mac addr failed
[13:59:10.292] - Flash load handshake
[13:59:10.294] - error: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Присоединенное к системе устройство не работает.', None, 31)
[13:59:11.294] - error: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Присоединенное к системе устройство не работает.', None, 31)
[13:59:12.303] - default set DTR high
[13:59:12.405] - clean buf
[13:59:12.406] - error: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Присоединенное к системе устройство не работает.', None, 31)
[13:59:12.409] - ErrorCode: 0001, ErrorMsg: BFLB EFLASH LOADER HANDSHAKE FAIL
[13:59:12.409] - read mac addr failed
[13:59:12.410] - Flash load handshake
[13:59:12.412] - error: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Присоединенное к системе устройство не работает.', None, 31)
[13:59:13.413] - error: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Присоединенное к системе устройство не работает.', None, 31)
[13:59:14.421] - default set DTR high
[13:59:14.522] - clean buf
[13:59:14.523] - error: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Присоединенное к системе устройство не работает.', None, 31)
[13:59:14.523] - ErrorCode: 0001, ErrorMsg: BFLB EFLASH LOADER HANDSHAKE FAIL
[13:59:14.524] - read mac addr failed
[13:59:14.525] - burn retry
[13:59:14.525] - burn return with retry failed