K230连接OV5647摄像头的问题

Viewed 128

问题描述


开机后摄像头的灯也亮,电压也对的上,但是在IDE中启动摄像头报错找不到PixPin_2025-09-02_15-46-29.png
PixPin_2025-09-02_15-47-51.png

硬件板卡


银杏科技GT6700

4 Answers

你好,方便更新一下固件吗?这个是之前版本的配置问题,导致5647识别有问题

可以,银杏科技GT6700对应的固件版本是哪个

这周会加上这个板子的支持,目前暂时没有。

支持了吗

刷入后显示未知 USB 设备(设备描述符请求失败)

检查一下串口信息。

我的问题是可以识别串口,但是IDE无法连接,可以提供一个邮箱吗,我发下日志

[2025-09-12 10:51:31.744]# RECV ASCII/1061 <<<

U-Boot SPL 2022.10-00002-gc7ef2796 (Sep 09 2025 - 02:52:28 +0000)
lpddr4 2660
00000000: PMU Major Msg: End of CA training
00000000: PMU Major Msg: End of initialization
00000000: PMU Major Msg: End of read enable training
00000000: PMU Major Msg: End of fine write leveling
00000000: PMU Major Msg: End of read dq deskew training
00000000: PMU Major Msg: End of MPR read delay center optimization
00000000: PMU Major Msg: End of Write leveling coarse delay
00000000: PMU Major Msg: End of write delay center optimization
00000000: PMU Major Msg: End of read delay center optimization
00000000: PMU Major Msg: End of max read latency training
00000000: PMU Major Msg: Firmware run has completed

[2025-09-12 10:51:31.883]# RECV ASCII/324 <<<
load image 305896 bytes, time 101527 us, speed 3000 KB/s

U-Boot 2022.10-00002-gc7ef2796 (Sep 09 2025 - 02:52:28 +0000)

CPU: rv64imafdcvsu
Model: kendryte k230 canmv gt6700
DRAM: 1 GiB
Core: 26 devices, 13 uclasses, devicetree: embed
MMC: mmc0@91580000: 0, mmc1@91581000: 1
Loading Environment from MMC...
[2025-09-12 10:51:31.990]# RECV ASCII/138 <<<
OK
In: serial@91400000
Out: serial@91400000
Err: serial@91400000
Net: No ethernet found.
Hit any key to stop autoboot: 0

[2025-09-12 10:51:32.098]# RECV ASCII/216 <<<
load image 1393841 bytes, time 58295 us, speed 23000 KB/s
Jump to big hart

OpenSBI v1.2.2
heap: [0x004b22c0 - 0x044b22c0], size 65536 KB
page: [0x044b22c8 - 0x1fffec00], size 453938 KB
lwIP-2.1.2 initialized!?
[2025-09-12 10:51:32.175]# RECV ASCII/183 <<<
[I/SDIO] SD card capacity 31166976 KB.
found part[0], begin: 52428800, size: 10.0MB
found part[1], begin: 62914560, size: 500.0MB
found part[2], begin: 1073741824, size: 28.740GB

[2025-09-12 10:51:32.362]# RECV ASCII/594 <<<
[E/drv_touch] touch probe failed.
[I/sal.skt] Socket Abstraction Layer initialize success.
Can't find sensor on csi0
Can't find sensor on csi1
find sensor(gc2093_csi2) on csi2
vicap_mcm_init

THIS BOARD MAYBE NOT CONFIGURE BANK VOLTAGE!!!


#############SDK VERSION######################################
SDK : v0.5-20250912-012132-gitlab-runner-jyosdfnqv-project-1631-concurrent-1-7e8bcfd
CanMV : v1.4-20250912-012132-gitlab-runner-jyosdfnqv-project-1631-concurrent-1-873d625
nncase: 2.9.0
##############################################################
msh />
[2025-09-12 10:51:32.486]# RECV ASCII/16 <<<
usb disconnect

[2025-09-12 10:51:32.800]# RECV ASCII/822 <<<
Interface Descriptor:

bLength: 0x09            

bDescriptorType: 0x04    

bInterfaceNumber: 0x00   

bAlternateSetting: 0x00  

bNumEndpoints: 0x01      

bInterfaceClass: 0x09    

bInterfaceSubClass: 0x00 

bInterfaceProtocol: 0x01 

iInterface: 0x00         

Interface Descriptor:

bLength: 0x09            

bDescriptorType: 0x04    

bInterfaceNumber: 0x00   

bAlternateSetting: 0x01  

bNumEndpoints: 0x01      

bInterfaceClass: 0x09    

bInterfaceSubClass: 0x00 

bInterfaceProtocol: 0x02 

iInterface: 0x00         

Hub Descriptor:

bLength: 0x09

bDescriptorType: 0x29

bNbrPorts: 0x04

wHubCharacteristics: 0x00a0

bPwrOn2PwrGood: 0x30

bHubContrCurrent: 0x64

DeviceRemovable: 0x00

PortPwrCtrlMask: 0xff

[2025-09-12 10:51:34.167]# RECV ASCII/105 <<<
CanMV K230 start in 2503203 us
IDE debugger built Sep 12 2025 01:21:48
[mpy] enter repl

[2025-09-12 10:51:35.221]# RECV ASCII/285 <<<
Interface Descriptor:

bLength: 0x09            

bDescriptorType: 0x04    

bInterfaceNumber: 0x00   

bAlternateSetting: 0x00  

bNumEndpoints: 0x03      

bInterfaceClass: 0xff    

bInterfaceSubClass: 0xff 

bInterfaceProtocol: 0x00 

iInterface: 0x00         

[2025-09-12 10:51:36.248]# RECV ASCII/8192 <<<
Interface Descriptor:

bLength: 0x09            

bDescriptorType: 0x04    

bInterfaceNumber: 0x00   

bAlternateSetting: 0x00  

bNumEndpoints: 0x01      

bInterfaceClass: 0x02    

bInterfaceSubClass: 0x06 

bInterfaceProtocol: 0x00 

iInterface: 0x05         

Interface Descriptor:

bLength: 0x09            

bDescriptorType: 0x04    

bInterfaceNumber: 0x01   

bAlternateSetting: 0x00  

bNumEndpoints: 0x00      

bInterfaceClass: 0x0a    

bInterfaceSubClass: 0x00 

bInterfaceProtocol: 0x00 

iInterface: 0x05         

Interface Descriptor:

bLength: 0x09            

bDescriptorType: 0x04    

bInterfaceNumber: 0x01   

bAlternateSetting: 0x01  

bNumEndpoints: 0x02      

bInterfaceClass: 0x0a    

bInterfaceSubClass: 0x00 

bInterfaceProtocol: 0x00 

iInterface: 0x00         

Interface Descriptor:

bLength: 0x09            

bDescriptorType: 0x04    

bInterfaceNumber: 0x02   

bAlternateSetting: 0x00  

bNumEndpoints: 0x02      

bInterfaceClass: 0xff    

bInterfaceSubClass: 0x00 

bInterfaceProtocol: 0x00 

iInterface: 0x08         

Interface Descriptor:

bLength: 0x09            

bDescriptorType: 0x04    

bInterfaceNumber: 0x03   

bAlternateSetting: 0x00  

bNumEndpoints: 0x03      

bInterfaceClass: 0xff    

bInterfaceSubClass: 0x00 

bInterfaceProtocol: 0x00 

iInterface: 0x0b         

Interface Descriptor:

bLength: 0x09            

bDescriptorType: 0x04    

bInterfaceNumber: 0x04   

bAlternateSetting: 0x00  

bNumEndpoints: 0x03      

bInterfaceClass: 0xff    

bInterfaceSubClass: 0x00 

bInterfaceProtocol: 0x00 

iInterface: 0x0b         

(rt_object_get_type(&dev->parent) == RT_Object_Class_Device) assertion failed at function:rt_device_control, line number:424
riscv64-unknown-linux-musl-addr2line -e rtthread.elf -a -f 0000000000101e90 0000000000119f46Unhandled Exception 13:Load Page Fault
scause:0x000000000000000d,stval:0xfffffffffffffff8,sepc:0x0000000000101cf8
--------------Dump Registers-----------------
Function Registers:
ra(x1) = 0x0000000000101d26()
user_sp(x2) = 0x000000000056f900()
gp(x3) = 0x000000000037a290()
tp(x4) = 0x00000000deadbeef()
Temporary Registers:
t0(x5) = 0x000000000056f808()
t1(x6) = 0x0000000000468473()
t2(x7) = 0x00000000deadbeef()
t3(x28) = 0x0000000000359ae8()
t4(x29) = 0x0000000000000030()
t5(x30) = 0x0000000000000000()
t6(x31) = 0x000000000056f80d()
Saved Registers:
s0/fp(x8) = 0x000000000056f950()
s1(x9) = 0x0000000000000001()
s2(x18) = 0x0000000001ac91a2()
s3(x19) = 0x000000000034e2c0()
s4(x20) = 0x0000000000000028()
s5(x21) = 0x00000000000009b8()
s6(x22) = 0x0000000000001000()
s7(x23) = 0x00000000003afdb0()
s8(x24) = 0x000000000045747e()
s9(x25) = 0x000000000056fa3c()
s10(x26) = 0x0000000000000004()
s11(x27) = 0x0000000000000004()
Function Arguments Registers:
a0(x10) = 0x0000000000000011()
a1(x11) = 0x0000000000000036()
a2(x12) = 0x0000000000468468()
a3(x13) = 0x0000000000000011()
a4(x14) = 0x0000000000000000()
a5(x15) = 0xfffffffffffffff8()
a6(x16) = 0x0000000000468479()
a7(x17) = 0x0000000000000036()
sstatus = 0x8000000200046120
Supervisor Interrupt Disabled
Last Time Supervisor Interrupt Enabled
Last Privilege is Supervisor Mode
Permit to Access User Page
Not Permit to Read Executable-only Page
satp = 0x800000000000045a
Current Page Table(Physical) = 0x000000000045a000
Current ASID = 0x0000000000000000
Mode = Page-based 39-bit Virtual Addressing Mode
-----------------Dump OK---------------------
--------------Thread list--------------
current thread: usbh_hub0
PID CMD thread pri status sp stack size max used left tick error


 kernel               usbh_rtl8152_rx       15  suspend 0x00000538 0x00001000    35%   0x0000000a -09
 kernel               dwc2_lo_prio_bh        1  suspend 0x000004f8 0x00005000    06%   0x0000000a 000
 kernel               dwc2_hi_prio_bh        0  suspend 0x000004f8 0x00005000    06%   0x0000000a 000
 kernel               dwc2                  16  suspend 0x000004f8 0x00005000    06%   0x0000000a 000
 kernel               mtp                   16  suspend 0x00000508 0x00005000    12%   0x00000006 -09
 kernel               mtp_inty              16  suspend 0x000007a8 0x00005000    09%   0x0000000a -09
 kernel               usbh_hub0             14  running 0x000007f8 0x00001000    50%   0x00000002 000
 kernel               tshell                20  suspend 0x000006e8 0x00014000    02%   0x00000009 000
 kernel               thermal_detect_threa  29  suspend 0x000004d8 0x00002800    12%   0x0000000a -09
 kernel               auto_load_thread      29  suspend 0x000004c8 0x00002800    12%   0x0000000a -09
 kernel               mcm_task               0  suspend 0x00000528 0x00002000    16%   0x00000005 -09
 kernel               gpio_irq_to_user      16  suspend 0x000004f8 0x00005000    06%   0x0000000a 000
 kernel               gpio_debounce         15  suspend 0x000004f8 0x00005000    06%   0x0000000a 000
 kernel               sys workq             17  suspend 0x000004f8 0x00005000    06%   0x0000000a 000
 kernel               wlan                  15  suspend 0x000004f8 0x00001000    31%   0x0000000a 000
 kernel               mmcsd_detect          22  suspend 0x00000558 0x00008000    07%   0x00000004 -09
 kernel               tcpip                 10  suspend 0x00000578 0x00002800    14%   0x00000014 -09
 kernel               etx                   12  suspend 0x00000538 0x00002800    13%   0x00000010 -09
 kernel               erx                   12  suspend 0x00000558 0x00002800    13%   0x00000010 -09
 kernel               tsystem               30  suspend 0x000004f8 0x00004000    07%   0x00000020 -09
 kernel               tidle0                31  ready   0x00000448 0x00004000    06%   0x00000016 000
 kernel               timer                  4  suspend 0x00000488 0x00004000    07%   0x00000009 000
 kernel               main                  10  suspend 0x000008b8 0x00004000    23%   0x00000004 -09

1 /sdcard/micropython micropython 20 suspend 0x000009b0 0x00080000 00% 0x000000c8 000
1 /sdcard/micropython micropython 25 ready 0x00000900 0x00080000 00% 0x00000059 -02
--------------Backtrace--------------
riscv64-unknown-linux-musl-addr2line -e rtthread.elf -a -f 0000000000101cf4 0000000000101e90 0000000000119f46Unhandled Exception 13:Load Page Fault
scause:0x000000000000000d,stval:0xfffffffffffffff8,sepc:0x0000000000101cf8
--------------Dump Registers-----------------
Function Registers:
ra(x1) = 0x0000000000101d26()
user_sp(x2) = 0x0000000000389748()
gp(x3) = 0x000000000037a290()
tp(x4) = 0x00000000deadbeef()
Temporary Registers:
t0(x5) = 0x0000000000389650()
t1(x6) = 0x0000000000468473()
t2(x7) = 0x00000000deadbeef()
t3(x28) = 0x0000000000359ae8()
t4(x29) = 0x0000000000000030()
t5(x30) = 0x0000000000000000()
t6(x31) = 0x0000000000389655()
Saved Registers:
s0/fp(x8) = 0x0000000000389798()
s1(x9) = 0x00000000003897d8()
s2(x18) = 0x000000000000000d()
s3(x19) = 0x0000000000101cf8()
s4(x20) = 0xfffffffffffffff8()
s5(x21) = 0x00000000000009b8()
s6(x22) = 0x0000000000001000()
s7(x23) = 0x00000000003afdb0()
s8(x24) = 0x000000000045747e()
s9(x25) = 0x000000000056fa3c()
s10(x26) = 0x0000000000000004()
s11(x27) = 0x0000000000000004()
Function Arguments Registers:
a0(x10) = 0x0000000000000011()
a1(x11) = 0x0000000000000036()
a2(x12) = 0x0000000000468468()
a3(x13) = 0x0000000000000011()
a4(x14) = 0x0000000000000000()
a5(x15) = 0xfffffffffffffff8()
a6(x16) = 0x0000000000468479()
a7(x17) = 0x0000000000000036()
sstatus = 0x0000000200044100
Supervisor Interrupt Disabled
Last Time Supervisor Interrupt Disabled
Last Privilege is Supervisor Mode
Permit to Access User Page
Not P
[2025-09-12 10:51:36.578]# RECV ASCII/3342 <<<
ermit to Read Executable-only Page
satp = 0x800000000000045a
Current Page Table(Physical) = 0x000000000045a000
Current ASID = 0x0000000000000000
Mode = Page-based 39-bit Virtual Addressing Mode
-----------------Dump OK---------------------
--------------Thread list--------------
current thread: usbh_hub0
PID CMD thread pri status sp stack size max used left tick error


 kernel               usbh_rtl8152_rx       15  suspend 0x00000538 0x00001000    35%   0x0000000a -09
 kernel               dwc2_lo_prio_bh        1  suspend 0x000004f8 0x00005000    06%   0x0000000a 000
 kernel               dwc2_hi_prio_bh        0  suspend 0x000004f8 0x00005000    06%   0x0000000a 000
 kernel               dwc2                  16  suspend 0x000004f8 0x00005000    06%   0x0000000a 000
 kernel               mtp                   16  suspend 0x00000508 0x00005000    12%   0x00000006 -09
 kernel               mtp_inty              16  suspend 0x000007a8 0x00005000    09%   0x0000000a -09
 kernel               usbh_hub0             14  running 0x000007f8 0x00001000    50%   0x00000002 000
 kernel               tshell                20  suspend 0x000006e8 0x00014000    02%   0x00000009 000
 kernel               thermal_detect_threa  29  suspend 0x000004d8 0x00002800    12%   0x0000000a -09
 kernel               auto_load_thread      29  suspend 0x000004c8 0x00002800    12%   0x0000000a -09
 kernel               mcm_task               0  suspend 0x00000528 0x00002000    16%   0x00000005 -09
 kernel               gpio_irq_to_user      16  suspend 0x000004f8 0x00005000    06%   0x0000000a 000
 kernel               gpio_debounce         15  suspend 0x000004f8 0x00005000    06%   0x0000000a 000
 kernel               sys workq             17  suspend 0x000004f8 0x00005000    06%   0x0000000a 000
 kernel               wlan                  15  suspend 0x000004f8 0x00001000    31%   0x0000000a 000
 kernel               mmcsd_detect          22  suspend 0x00000558 0x00008000    07%   0x00000004 -09
 kernel               tcpip                 10  suspend 0x00000578 0x00002800    14%   0x00000014 -09
 kernel               etx                   12  suspend 0x00000538 0x00002800    13%   0x00000010 -09
 kernel               erx                   12  suspend 0x00000558 0x00002800    13%   0x00000010 -09
 kernel               tsystem               30  suspend 0x000004f8 0x00004000    07%   0x00000020 -09
 kernel               tidle0                31  ready   0x00000448 0x00004000    06%   0x00000016 000
 kernel               timer                  4  suspend 0x00000488 0x00004000    07%   0x00000009 000
 kernel               main                  10  suspend 0x000008b8 0x00004000    23%   0x00000004 -09

1 /sdcard/micropython micropython 20 suspend 0x000009b0 0x00080000 00% 0x000000c8 000
1 /sdcard/micropython micropython 25 ready 0x00000900 0x00080000 00% 0x00000059 -02
--------------Backtrace--------------
riscv64-unknown-linux-musl-addr2line -e rtthread.elf -a -f 0000000000101cf4 0000000000103744

你接了什么USB设备吗?

EC200M,群里说Daily build已经支持了

不接EC200M是可以正常启动的