M5Stack Official ESP32 Camera Module - Demo, Runtime Error



  • @bin 在 M5Stack Official ESP32 Camera Module - Demo, Runtime Error 中说:

    Hi, try prebuilt firmware:
    https://github.com/m5stack/esp32-cam-demo/blob/m5cam/m5cam-firmware.zip

    That firmware should do... if the hardware is OK

    @pksuf07M5Stack Official ESP32 Camera Module - Demo, Runtime Error 中说:

    @calin

    Did you mean soder directly on ESP32 chip pinout?

    Well... yeah... if you are determined to debug...



  • @bin

    Hi Bin,
    This works. It probed camera good and got connected. Can you enlighten me there is any changes in the source code?


    I (0) cpu_start: App cpu up.
    I (361) heap_init: Initializing. RAM available for dynamic allocation:
    I (368) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
    I (374) heap_init: At 3FFB9E48 len 000261B8 (152 KiB): DRAM
    I (380) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
    I (386) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
    I (393) heap_init: At 400907AC len 0000F854 (62 KiB): IRAM
    I (399) cpu_start: Pro cpu start user code
    I (193) cpu_start: Starting scheduler on PRO CPU.
    I (0) cpu_start: Starting scheduler on APP CPU.
    I (283) camera_demo: Detected OV2640 camera, using JPEG format
    I (503) camera_demo: ESP_WIFI_MODE_AP
    I (503) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
    I (503) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
    I (593) phy: phy_version: 3910, c0c45a3, May 21 2018, 18:07:06, 0, 0
    I (603) camera_demo: wifi_init_softap finished.SSID:M5Cam password:
    I (603) camera_demo: Open http://192.168.4.1/jpg for single image/jpg image
    I (613) camera_demo: Open http://192.168.4.1/jpg_stream for multipart/x-mixed-replace stream of JPEGs
    I (623) camera_demo: Free heap: 142392
    I (623) camera_demo: Camera demo ready



  • @calin

    Thanks for advice. I feel sorry I do not have skill and equipment to solder ESP32 Chipset pint out for debugging which I would love to learn to .

    @Bin
    I will try.



  • @pksuf07M5Stack Official ESP32 Camera Module - Demo, Runtime Error 中说:

    @calin

    Thanks for advice. I feel sorry I do not have skill and equipment to solder ESP32 Chipset pint out for debugging which I would love to learn to .

    @Bin
    I will try.

    Here is my M5Stack debug setup: a "home made" Jtag, some ESP32 board and a ILI9341 TFT.
    And M5Stack device running (almost) the same code :)

    0_1530136085837_20180621_021344.jpg

    Too bad the actual M5Stack don't have a touchscreen... i can use the touchscreen on the debug "setup" :)

    0_1530136761254_M5Dbg.PNG



  • @calin

    Appreciated your information and picture.

    I am already able to configure the debugging setup. I have done it but I could not with ESP32CAM.

    By the way, it seems to me that you are using platform I/O which I do not use. So, I will try as per your configuration.

    And I do not have m5stack core and accessory units except ESP32CAM.

    In fact I am interesting ESP32CAm only if it can handle some real time application because I believe it can off-load some of processing with ESP32, especially by pipelining processing frame while it streaming. For example stereo vision for distance. This is just hobbiest's thought.

    Thanks,
    :)



  • I can't debug on M5Stack Core because it use GPIO 14 as TFT CS and that's interfering with Jtag TMS line.
    That's why i made this setup for debugging.



  • @calin
    Understood. I am sorry I do not have M5Stack core. Only ESP32CAM. I now understand your setup little bit.

    I should keep in touch with you more to learn from you more.



  • @bin

    Hi bin,
    Can you give little information on the changes or setup I am missing? I tried to make this as STA and giving static ip address. The firmware you uploaded is good for softAP.
    Thanks,


  • M5Stack



  • @0x1abin The prebuilt firmware doesn't work for me either. I get this:

    I (362) heap_init: Initializing. RAM available for dynamic allocation:
    I (369) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
    I (375) heap_init: At 3FFB9E48 len 000261B8 (152 KiB): DRAM
    I (381) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
    I (387) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
    I (394) heap_init: At 400907AC len 0000F854 (62 KiB): IRAM
    I (400) cpu_start: Pro cpu start user code
    I (194) cpu_start: Starting scheduler on PRO CPU.
    I (0) cpu_start: Starting scheduler on APP CPU.
    E (306) camera_demo: Camera probe failed with error 0x20001

    Faulty device?


登录后回复
 

与 M5Stack Community 的连接断开,我们正在尝试重连,请耐心等待