开发板的正常烧录(第一次)日志是这样:
make flash COMX=COM17
./../../tools/bflb_tools/bouffalo_flash_cube/BLFlashCommand.exe --interface=uart --baudrate=2000000 --port=COM17 --chipname=bl616 --cpu_id= --config=flash_prog_cfg.ini
['./../../tools/bflb_tools/bouffalo_flash_cube/BLFlashCommand.exe', '--interface=uart', '--baudrate=2000000', '--port=COM17', '--chipname=bl616', '--cpu_id=', '--config=flash_prog_cfg.ini']
[13:57:22.242] - Serial port is COM17
[13:57:22.243] - ==================================================
[13:57:22.244] - Program Start
[13:57:22.245] - ========= eflash loader cmd arguments =========
[13:57:22.246] - serial port is COM17
[13:57:22.246] - chiptype: bl616
[13:57:22.246] - cpu_reset=False
[13:57:22.255] - ========= Interface is uart =========
[13:57:22.255] - isp mode speed: 2000000
[13:57:22.255] - Bootrom load
[13:57:22.255] - ========= get_boot_info =========
[13:57:22.255] - ========= image get bootinfo =========
[13:57:22.269] - Please Press Reset Key!
[13:57:22.587] - isp ready
[13:57:25.133] - default set DTR high
[13:57:25.234] - clean buf
[13:57:25.237] - send sync
[13:57:25.465] - ack is b'4f4b464c0201464c0201464c0201464c0201'
[13:57:25.495] - shake hand success
[13:57:26.001] - data read is b'0100160600000100279280016fb835cf0eb415000f758010'
[13:57:26.001] - ========= ChipID: b40ecf35b86f =========
[13:57:26.001] - Get bootinfo time cost(ms): 3745.568359375
[13:57:26.001] - change bdrate: 2000000
[13:57:26.002] - Clock PLL set
[13:57:26.003] - Set clock time cost(ms): 1.0
[13:57:26.122] - flash set para
[13:57:26.122] - get flash pin cfg from bootinfo: 0x02
[13:57:26.122] - set flash cfg: 14102
[13:57:26.122] - Set flash config
[13:57:26.125] - Set para time cost(ms): 3.00341796875
[13:57:26.126] - ========= flash read jedec ID =========
[13:57:26.127] - Read flash jedec ID
[13:57:26.128] - readdata:
[13:57:26.128] - b'c8601600'
[13:57:26.128] - Finished
[13:57:26.133] - Program operation
[13:57:26.133] - Dealing Index 0
[13:57:26.133] - ========= programming C:\Users\MARCOG\ait-m61\AiPi-Open-Kits\aithinker_Ai-M6X_SDK\examples\helloworld\.\build\build_out\helloworld_bl616.bin
[13:57:26.136] - flash para file: C:\Users\MARCOG\ait-m61\AiPi-Open-Kits\aithinker_Ai-M6X_SDK\tools\bflb_tools\bouffalo_flash_cube\chips/bl616/efuse_bootheader/flash_para.bin
[13:57:26.137] - Set flash config
[13:57:26.141] - Set para time cost(ms): 4.13232421875
[13:57:26.141] - ========= flash load =========
[13:57:26.141] - ========= flash erase =========
[13:57:26.141] - Erase flash from 0x0 to 0x97bf
[13:57:26.307] - Erase time cost(ms): 164.88818359375
[13:57:26.323] - Load 2048/38848 {"progress":5}
[13:57:26.339] - Load 4096/38848 {"progress":10} |