Files
archery/design_doc/debug.md
gcw_4spBpAfv 3bc48598cd 'debug.md'
2026-03-25 18:25:45 +08:00

37 lines
2.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

1. 问题描述开机失败一直遇到Traceback (most recent call last):
File "/tmp/maixpy_run/main.py", line 525, in <module>
cmd_str()
File "/tmp/maixpy_run/main.py", line 102, in cmd_str
camera_manager.init_camera(640, 480)
File "/tmp/maixpy_run/camera_manager.py", line 59, in init_camera
self._camera = camera.Camera(width, height)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: : Runtime error: mmf vi init failed
解决方案:
根据过往经验极有可能是摄像头的接线有问题。因为在测试环境摄像头是通过一个24针转22针的线出来的然后再通过一个接线中继连接到一个22针
的fpc线到Maixcam。接线中继如果是24针的多了两针需要选好一边然后对连。但这里很容易出错或者松动。可以先用摄像头本身的金色接线直接接到
Maixcam然后跑test目录下的test_cammera.py看看能不能正常启动如果正常就确定是中继接线的问题。
2. 问题描述202609 批次的拓展版,在连接 202601 批次的电源板,或者不链接电源板的时候,开机后不久,出错,程序退出,日志是:
[v1.2.10] [INFO] network.py:1078 - [NET] TCP主线程启动
[v1.2.10] [INFO] network.py:406 - [NET] WiFi不可用或无法连接服务器使用4G网络
[v1.2.10] [INFO] network.py:475 - 连接到服务器,使用4G...
[v1.2.10] [INFO] network.py:527 - [4G-TCP] AT+MIPCLOSE=2 response:
OK
+MIPCLOSE: 2
-- [E] read failed
Trigger signal, code:SIGSEGV(11)!
maix multi-media driver released.
ISP Vipipe(0) Free pa(0x8a52c000) va(0x0x3fbeb5e000)
program exit failed. exit code: 1.
解决方案:
从日志看就是开始发送登录信息之后就崩溃了。出发了底层的read failed。经过排查是一定要插上电源板的数据连线以及电源板要插上电池。这个应该是
登录时需要读电源电压数据,
3. 问题描述202609 批次的拓展版有一块maixcam的蓝灯常亮询问maixcam的人他们觉得应该是卡没有插好。但是拓展版上的激光口挡住了数据卡的出口
没法拔出检查,
解决方案:需要做拓展版的公司(深链鑫创)在做好板子之后,确定系统能正常启动
4.