最近我发了Stack Overflow 上的这个问题。然而,即使我给了赏金,也没有人帮助我。
尽管我知道交叉发布是令人沮丧的,我是带着好意而来的,我认为这个问题在这里可以有第二次机会。
问题:
我正在闪烁Sparkfun 边缘板与SparkFun 系列基本突破-CH340G使用 IDE 提供的一些示例官方教程。
虽然它已经多次正常工作,主要针对示例示例1_edge_test和使用 TensorFlow Lite 和 SparkFun Edge 在微控制器上实现 AI,有时我在闪烁时会收到此消息:
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与开发板建立连接,开发板以与 UART 闪烁预期不同的(未知)消息进行响应:AM_SECBOOT_WIRED_MSGTYPE_STATUS。
我按住按钮“14”刷新电路板,按下“重置”,然后执行“make bootload”,同时按住“14”。
我一直在对这个问题进行故障排除,它与通信时间有关,因为当我改变波特率(最初设置为 921600)时,错误会更频繁地发生。