Sparkfun边缘消息“ !!!!有线升级失败!!。。。。终止脚本”

时间:2019-06-15 06:02:03

标签: tensorflow microcontroller uart bootloader

我将使用IDE在Sparkfun edge board中提供的一些示例,以SparkFun Serial Basic Breakout - CH340Goficial tutorial闪烁。

尽管它已经正常运行了很多次,主要是针对示例 example1_edge_test AI on a microcontroller with TensorFlow Lite and SparkFun Edge ,有时我在闪烁时会收到此消息:

Connecting with Corvette over serial port /dev/ttyUSB0...
Sending Hello.
Received response for Hello
Received Unknown Message
msgType =  0x131
Length =  0x5800
['0x80', '0x6', '0xf0', '0xa5', '0x31', '0x1', '0x0', '0x58', '0x0', '0x3', '0x0', '0x0', '0x0', '0xa0', '0xff', '0x4', '0x0', '0x2', '0x0', '0x0', '0x0', '0x7', '0x0', '0x0', '0x0', '0x1', '0x0', '0x0', '0x0', '0xff', '0xa3', '0x2d', '0xff', '0xff', '0x5f', '0x5', '0x0', '0x1', '0x0', '0x0', '0x0', '0x3', '0x0', '0xf4', '0x49', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff', '0xff']
!!!Wired Upgrade Unsuccessful!!!....Terminating the script

当脚本 AmbiqSuite-Rel2.0.0 / AmbiqSuite-Rel2.0.0 / boards / SparkFun_Edge_BSP / bsp / tools / uart_wired_update_sparkfun.py 建立与连接的响应时,似乎会发生这种情况 AM_SECBOOT_WIRED_MSGTYPE_STATUS

我按住“ 14”按钮使电路板闪烁,然后按住“ 14”并按“ reset”,然后执行“ make bootload”。

编辑:替代方法

我一直在对这个问题进行故障排除,它必须与通信时间有关,因为当我更改波特率(最初设置为921600)时,错误发生的机会更多。

0 个答案:

没有答案