🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    M5Cam sccb error

    Scheduled Pinned Locked Moved FAQS
    8 Posts 5 Posters 18.7k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      alpi42
      last edited by

      Hi I am testing and playing around with the M5Cam. I use the esp32-cam-demo and mingw32. After setting up I get this Errors:

      E (630) sccb: i2c write reg=0xff err=0xffffffff
      .
      .
      .
      E (38550) sccb: i2c write reg=0x05 err=0x107
      E (38580) camera: Failed to set frame size
      E (38580) camera_demo: Camera init failed with error 0x20002

      But he detected the ov2640 and I activated it in menuconfig.
      If I could fix the errors with the Firmware, which is including I dont know how to run it correctly.
      Would be nice if someone knows the solution.

      1 Reply Last reply Reply Quote 0
      • A Offline
        Aoyama_PROD
        last edited by Aoyama_PROD

        I also got same error when I use the code in Github(https://github.com/moononournation/esp32-cam-demo).

        I (19) cpu_start: Starting scheduler on PRO CPU.
        I (0) cpu_start: Starting scheduler on APP CPU.
        E (696) sccb: i2c write reg=0x28 err=0xffffffff
        ...
        E (25316) sccb: i2c write reg=0xe0 err=0xffffffff
        I (25316) camera_demo: Detected OV2640 camera, using JPEG format
        E (25326) sccb: i2c write reg=0xff err=0xffffffff
        ...
        E (30566) camera: Failed to set frame size
        E (30566) camera_demo: Camera init failed with error 0x20002

        When I burn the firmware 'M5Cam v0.02' using the M5Burner, I could revert it to the out-of-box demo.

        1 Reply Last reply Reply Quote 0
        • A Offline
          Aoyama_PROD
          last edited by

          I just would like to let you know my status

          1. Burn 'M5Cam v0.02' firmware.
          2. git clone --recursive https://github.com/**m5stack**/esp32-cam-demo
          3. Then 'make' it
          4. plug off usb

          Now it is working fine.

          in my case, I think I pulled the code from wrong repository.

          1 Reply Last reply Reply Quote 0
          • D Offline
            dontsov
            last edited by

            @aoyama_prod 在 M5Cam sccb error 中说:

            git clone --recursive https://github.com/m5stack/esp32-cam-demo

            I got same error =(. I compiled 'esp32-cam-demo' by PlatformIO in Visiual Studio Code...
            I think, something wrong in compiler options..

            1 Reply Last reply Reply Quote 0
            • D Offline
              dontsov
              last edited by

              I compile successfully with original esp-idf!

              remark: you clone esp-idf.git master branch, that can be untested.
              I checkout latest release commit:

              git clone --recursive https://github.com/espressif/esp-idf.git
              git checkout 3b92e85
              git status
              ....remove newer folders
              git clone https://github.com/moononournation/esp32-cam-demo.git
              git submodule update --init --recursive
              make menuconfig
              make flash
              it works!!

              1 Reply Last reply Reply Quote 0
              • ajb2k3A Offline
                ajb2k3
                last edited by

                I'm getting this with the arduino code atm. looks like an issue with the esp32 not getting the ova's vid and pid via the sda pins.
                Any idea what the difference in the two sources is?

                UIFlow, so easy an adult can learn it!
                If I don't know it, be patient!
                I've ether not learned it or am too drunk to remember it!
                Author of the WIP UIFlow Handbook!
                M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                1 Reply Last reply Reply Quote 0
                • M Offline
                  mschu7
                  last edited by

                  It not work

                  cd esp-idf

                  git checkout 3b92e85

                  git submodule update --init --recursive

                  cd esp32-cam-demo-m5cam

                  make

                  esp32-cam-demo-m5cam/main/app_main.c:35:29: fatal error: esp_http_server.h: No such file or directory
                  compilation terminated.
                  make[1]: *** [app_main.o] Error 1
                  make: *** [component-main-build] Error 2

                  1 Reply Last reply Reply Quote 0
                  • ajb2k3A Offline
                    ajb2k3
                    last edited by ajb2k3

                    I'm not seeing that folder.
                    Try WebServer.h

                    I'm trying to modify the arducam to work with the M5cam but having issues.

                    UIFlow, so easy an adult can learn it!
                    If I don't know it, be patient!
                    I've ether not learned it or am too drunk to remember it!
                    Author of the WIP UIFlow Handbook!
                    M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                    1 Reply Last reply Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • First post
                      Last post