Skip to content

最新ESP32-P4-Function-EV-Board(sc2336)上运行UVC例程,UVC 挂起再恢复以后无法显示图像 (AEGHB-893) #11

Open
@simonzsy

Description

@simonzsy

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

ESP32-P4-Function-EV-Board(sc2336)上运行UVC例程,menuconfig仅修改sccb引脚、输出模式改为MJPEG,取消勾选Enable cam1 multiple frames sizes。上电后能正常使用。

Actual behavior (suspected bug)

连接电脑上电后,首次打开电脑相机软件,能正常显示画面。但是关闭相机软件再打开,或者切换摄像头再切回来,就无法再显示画面。

Error logs or terminal output

运行卡在usb_device_uvc.c 143行
pic = s_uvc_device.user_config[0].fb_get_cb(s_uvc_device.user_config[0].cb_ctx);

Steps to reproduce the behavior

esp-idf vscode插件环境
idf版本5.4.0 master分支

Project release version

v0.7.0

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Windows

Operating system version

Win11

Shell

other (details in Additional context)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions