Bub*_*nja 7 microcontroller bootloader uart tensorflow
我闪烁着Sparkfun边缘板与SparkFun串行基本突围- CH340G使用一些的例子是,IDE中提供了公报教程。
尽管它已经正常运行了很多次,主要是针对具有TensorFlow Lite和SparkFun Edge的微控制器上的示例example1_edge_test和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
Run Code Online (Sandbox Code Playgroud)
当脚本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”闪烁板子,按“重置”,然后在按住“ 14”的同时执行“ make bootload”。
编辑:替代方法
我一直在对这个问题进行故障排除,它必须与通信时间有关,因为当我更改波特率(最初设置为921600)时,错误发生的机会更大。
| 归档时间: |
|
| 查看次数: |
144 次 |
| 最近记录: |