设备:淘宝店铺购买的AiPi-Cam-D200、AiPi-Cam-Floor,插在一起后用附带的数据线连接到电脑。
软件:Win11,https://github.com/Ai-Thinker-Open/AiPi-BL618-Open-SDK、官方固件、官方烧录工具(1.9.0)【后两者均为AiPi-Cam-D200_User-Man.pdf中提供的链接下载】。
前提条件:在设备管理器中显示“USB-SERIAL CH340(COM12)”。分离底板与开发板,底板仍连接在电脑上,设备管理器仍显示“USB-SERIAL CH340(COM12)”。开发板与底板一起连接到电脑时,无任何灯亮。已确认COM口正确。
操作:
(A)使用官方烧录工具烧录官方固件,烧录过程中按住Burn,短按RST。
(B)使用GitHub上的SDK,固件编译成功,设置 boot2_isp_mode = 0,make flash COMX=COM11,烧录过程中按住Burn,短按RST。
(C)使用GitHub上的SDK,固件编译成功,设置 boot2_isp_mode = 1,make flash COMX=COM11,烧录过程中按住Burn,出现“Please Press Reset Key”后短按RST。
现象:总体与【https://bbs.ai-thinker.com/forum.php?mod=viewthread&tid=43933&highlight=D200%2B%E7%83%A7%E5%BD%95】中表现一致,但是解决方案无效。
操作(A)与(B):握手失败,日志:
[20:01:48.632] - Program Start
[20:01:48.632] - ========= eflash loader cmd arguments =========
[20:01:48.634] - serial port is COM11
[20:01:48.634] - chiptype: bl616
[20:01:48.634] - cpu_reset=False
[20:01:48.715] - com speed: 2000000
[20:01:48.715] - ========= Interface is uart =========
[20:01:48.715] - Bootrom load
[20:01:48.716] - ========= get_boot_info =========
[20:01:48.716] - ========= image get bootinfo =========
[20:01:48.988] - tx rx and power off, press the machine!
[20:01:48.989] - cutoff time is 0.05
[20:01:49.050] - power on tx and rx
[20:01:50.048] - reset cnt: 0, reset hold: 0.05, shake hand delay: 0.1
[20:01:50.048] - clean buf
[20:01:50.050] - send sync
[20:01:50.157] - ack is b''
[20:01:50.157] - retry
[20:01:50.421] - tx rx and power off, press the machine!
[20:01:50.421] - cutoff time is 0.05
[20:01:50.484] - power on tx and rx
[20:01:51.479] - reset cnt: 0, reset hold: 0.05, shake hand delay: 0.1
[20:01:51.479] - clean buf
[20:01:51.481] - send sync
[20:01:51.589] - ack is b''
[20:01:51.589] - retry
[20:01:51.855] - tx rx and power off, press the machine!
[20:01:51.857] - cutoff time is 0.05
[20:01:51.917] - power on tx and rx
[20:01:52.921] - reset cnt: 0, reset hold: 0.05, shake hand delay: 0.1
[20:01:52.921] - clean buf
[20:01:52.923] - send sync
[20:01:53.044] - ack is b''
[20:01:53.045] - retry
[20:01:53.048] - shake hand fail
[20:01:53.049] - ########################################################################
[20:01:53.050] - 请按照以下描述排查问题:
[20:01:53.051] - Boot pin是否上拉到板子自身的3.3V,而不是外部的3.3V
[20:01:53.052] - UART RX是否连接到USB转串口的TX引脚
[20:01:53.052] - UART TX是否连接到USB转串口的RX引脚
[20:01:53.053] - 在使用烧录软件进行烧录前,是否在Boot pin拉高的情况下,使用Reset/Chip_En复位了芯片
[20:01:53.053] - 烧录软件所选择的COM口,是否是连接芯片的串口
[20:01:53.054] - 烧录软件上选择的波特率是否是USB转串口支持的波特率
[20:01:53.054] - 3.3V供电是否正常
[20:01:53.055] - 板子供电电流是否正常(烧录模式下,芯片耗电电流5-7mA)
[20:01:53.055] - ########################################################################
[20:01:53.056] - shake hand fail
[20:01:53.057] - ========= ChipID: =========
[20:01:53.057] - Get bootinfo time cost(ms): 4340.98046875
[20:01:53.058] - {"ErrorCode": "0050","ErrorMsg":"BFLB IMG LOAD SHAKEHAND FAIL"}
[20:01:53.059] - Burn Retry
[20:01:53.059] - Burn return with retry fail
操作(C):握手失败,
[20:11:44.011] - Program Start
[20:11:44.011] - ========= eflash loader cmd arguments =========
[20:11:44.013] - serial port is COM12
[20:11:44.013] - chiptype: bl616
[20:11:44.013] - cpu_reset=False
[20:11:44.136] - com speed: 2000000
[20:11:44.137] - ========= Interface is uart =========
[20:11:44.137] - isp mode speed: 2000000
[20:11:44.137] - Bootrom load
[20:11:44.137] - ========= get_boot_info =========
[20:11:44.137] - ========= image get bootinfo =========
[20:11:44.142] - Please Press Reset Key!
[20:11:51.568] - default set DTR high
[20:11:51.682] - clean buf
[20:11:51.685] - send sync
[20:11:51.806] - ack is b''
[20:11:51.807] - retry
[20:11:51.808] - default set DTR high
[20:11:51.914] - clean buf
[20:11:51.917] - send sync
[20:11:52.037] - ack is b''
[20:11:52.038] - retry
[20:11:52.039] - default set DTR high
[20:11:52.145] - clean buf
[20:11:52.148] - send sync
[20:11:52.270] - ack is b''
[20:11:52.271] - retry
[20:11:52.273] - shake hand fail
[20:11:52.273] - ########################################################################
[20:11:52.274] - 请按照以下描述排查问题:
[20:11:52.275] - Boot pin是否上拉到板子自身的3.3V,而不是外部的3.3V
[20:11:52.275] - UART RX是否连接到USB转串口的TX引脚
[20:11:52.275] - UART TX是否连接到USB转串口的RX引脚
[20:11:52.276] - 在使用烧录软件进行烧录前,是否在Boot pin拉高的情况下,使用Reset/Chip_En复位了芯片
[20:11:52.276] - 烧录软件所选择的COM口,是否是连接芯片的串口
[20:11:52.276] - 烧录软件上选择的波特率是否是USB转串口支持的波特率
[20:11:52.277] - 3.3V供电是否正常
[20:11:52.277] - 板子供电电流是否正常(烧录模式下,芯片耗电电流5-7mA)
[20:11:52.277] - ########################################################################
[20:11:52.277] - shake hand fail
[20:11:52.278] - ========= ChipID: =========
[20:11:52.278] - Get bootinfo time cost(ms): 8141.478759765625
[20:11:52.279] - {"ErrorCode": "0050","ErrorMsg":"BFLB IMG LOAD SHAKEHAND FAIL"}
[20:11:52.279] - Burn Retry
[20:11:52.280] - Burn return with retry fail
怀疑是底板的问题,购买了USB转TTL工具,过两天到货后再尝试。
请问各位大佬有什么解决方案吗?

