Hi,
I'm under the impression that when flashing from the CLI (on linux or windows), all I need to do is select the correct COM/tty and flash the chip.
On the M0S dock, I'm also supposed to press the "BOOT" key at some point. Still, no matter when I press it (before power, after power, before and during flash), I get this log (on windows and linux, from CLI and from Bouffalo Lab Dev Cube...):
[14:58:55.685] - Address=0x10000
[14:58:55.687] - Program Start
[14:58:55.688] - ========= eflash loader cmd arguments =========
[14:58:55.691] - serial port is COM3
[14:58:55.691] - chiptype: bl616
[14:58:55.692] - cpu_reset=False
[14:58:55.906] - com speed: 2000000
[14:58:55.907] - ========= Interface is uart =========
[14:58:55.908] - Bootrom load
[14:58:55.910] - ========= get_boot_info =========
[14:58:55.911] - ========= image get bootinfo =========
[14:58:56.191] - tx rx and power off, press the machine!
[14:58:56.192] - cutoff time is 0.05
[14:58:56.246] - power on tx and rx
[14:58:57.231] - reset cnt: 0, reset hold: 0.05, shake hand delay: 0.1
[14:58:57.231] - clean buf
[14:58:57.234] - send sync
[14:58:57.356] - ack is b''
[14:58:57.356] - retry
[14:58:57.626] - tx rx and power off, press the machine!
[14:58:57.626] - cutoff time is 0.05
[14:58:57.689] - power on tx and rx
[14:58:58.671] - reset cnt: 0, reset hold: 0.05, shake hand delay: 0.1
[14:58:58.671] - clean buf
[14:58:58.675] - send sync
[14:58:58.797] - ack is b''
[14:58:58.797] - retry
[14:58:59.072] - tx rx and power off, press the machine!
[14:58:59.072] - cutoff time is 0.05
[14:58:59.135] - power on tx and rx
[14:59:00.128] - reset cnt: 0, reset hold: 0.05, shake hand delay: 0.1
[14:59:00.128] - clean buf
[14:59:00.131] - send sync
[14:59:00.238] - ack is b''
[14:59:00.238] - retry
[14:59:00.240] - shake hand fail
[14:59:00.242] - ########################################################################
[14:59:00.242] - 请按照以下描述排查问题:
[14:59:00.243] - Boot pin是否上拉到板子自身的3.3V,而不是外部的3.3V
[14:59:00.244] - UART RX是否连接到USB转串口的TX引脚
[14:59:00.245] - UART TX是否连接到USB转串口的RX引脚
[14:59:00.245] - 在使用烧录软件进行烧录前,是否在Boot pin拉高的情况下,使用Reset/Chip_En复位了芯片
[14:59:00.246] - 烧录软件所选择的COM口,是否是连接芯片的串口
[14:59:00.247] - 烧录软件上选择的波特率是否是USB转串口支持的波特率
[14:59:00.248] - 3.3V供电是否正常
[14:59:00.249] - 板子供电电流是否正常(烧录模式下,芯片耗电电流5-7mA)
[14:59:00.250] - ########################################################################
[14:59:00.251] - shake hand fail
[14:59:00.254] - ========= ChipID: =========
[14:59:00.254] - Get bootinfo time cost(ms): 4342.61376953125
[14:59:00.256] - {"ErrorCode": "0050","ErrorMsg":"BFLB IMG LOAD SHAKEHAND FAIL"}
[14:59:00.258] - Burn Retry