Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esp32-cam-ch340 keeps rebooting #103

Open
kratochvil-jan opened this issue Jan 18, 2025 · 0 comments
Open

esp32-cam-ch340 keeps rebooting #103

kratochvil-jan opened this issue Jan 18, 2025 · 0 comments

Comments

@kratochvil-jan
Copy link

kratochvil-jan commented Jan 18, 2025

I have a couple of esp-32cam-ch340 devices. They are a bit different than the esp32-cam devices referenced in this repo - it has a dedicated USB port right on the board. But it appears it's close enough to work.

I have been able to get the FW running on 6/7 devices. Note that I have flashed an older FW 1.1.1 from November, the latest FW gave me some issues which are not in scope of this issue.

There is this 1 device which is causing me troubles. The red LED doesn't blink with the expected 400ms period.
Running minicom with the device connected, I was able to capture some log - see the end of the post.
Even though I used the recommended baud rate 115200, my minicom session was super unstable - it doesn't hold for more than a couple of seconds, I can't really issue commands this way and so on. Eventually also crashing my xhci driver.

I would welcome some advice how to read the serial port reliably.

I have used the same commands as on the instructions page

$ esptool.py version
esptool.py v4.8.1
4.8.1
Expand the log here

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)

configsip: 0, SPIWP:0xee

clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00

mode:DIO, clock div:1

load:0x3fff0030,len:4604

ho 0 tail 12 room 4

load:0x40078000,len:15488

load:0x40080400,len:4

load:0x40080404,len:3180

entry 0x400805b8

E (562) quad_psram: PSRAM ID reX*�ɽ�� 0xffffffff, PSRAM chip not found or not supported

----------------------------------------------------------------

Start MCU!

Prusa ESP32-cam https://prusa3d.cz

SW Version: 1.1.1

Build: Nov 25 2024 23:07:42

----------------------------------------------------------------

Init Logs library

Start init micro-SD Card

Found card. Card Type: SDHC

0000-00-00_00-00-00 - Maximum log file size. File count: 1
0000-00-00_00-00-00 - Init system lib
0000-00-00_00-00-00 - SW Version: 1.1.1 Build: Nov 25 2024 23:07:49
0000-00-00_00-00-00 - Board name: AI Thinker ESP32-CAM
0000-00-00_00-00-00 - CPU reset reason: Software reset via esp_restart
0000-00-00_00-00-00 - CPU0 reset reason: SW_CPU_RESET
0000-00-00_00-00-00 - CPU1 reset reason: SW_CPU_RESET
0000-00-00_00-00-00 - MCU Temperature: 66.67 *C
0000-00-00_00-00-00 - Internal Total heap: 308884 B, Internal Free Heap: 241780
0000-00-00_00-00-00 - PSRAM Total heap: 0 B, PSRAM Free Heap: 0
0000-00-00_00-00-00 - Chip model: ESP32-D0WDQ6-V3, ChipRevision: 301, Cpu Freq: 240
0000-00-00_00-00-00 - SDK Version: v5.1.4-972-g632e0c2a9f-dirty, Core Version: 3.0.7
0000-00-00_00-00-00 - Flash Size: 4194304, Flash Speed 80000000, Flash Mode: 2
0000-00-00_00-00-00 - PSRAM is not used.
0000-00-00_00-00-00 - Init cfg module: 393
0000-00-00_00-00-00 - Read FirstMcuStart FLAG
0000-00-00_00-00-00 - It's not first start MCU: 15
0000-00-00_00-00-00 - web auth enable: 0
0000-00-00_00-00-00 - web auth user: admin
0000-00-00_00-00-00 - web auth pass: ******
0000-00-00_00-00-00 - Load camera CFG from EEPROM
0000-00-00_00-00-00 - Photo quality: 10
0000-00-00_00-00-00 - Framesize: 0
0000-00-00_00-00-00 - Framesize: 0
0000-00-00_00-00-00 - brightness: 0
0000-00-00_00-00-00 - contrast: 0
0000-00-00_00-00-00 - saturation: 0
0000-00-00_00-00-00 - awb: 1
0000-00-00_00-00-00 - awb_gain: 1
0000-00-00_00-00-00 - awb_mode: 0
0000-00-00_00-00-00 - aec2: 0
0000-00-00_00-00-00 - ae_level: 0
0000-00-00_00-00-00 - aec_value: 300
0000-00-00_00-00-00 - gain_ctrl: 1
0000-00-00_00-00-00 - agc_gain: 0
0000-00-00_00-00-00 - bpc: 1
0000-00-00_00-00-00 - wpc: 1
0000-00-00_00-00-00 - raw_gama: 1
0000-00-00_00-00-00 - hmirror: 0
0000-00-00_00-00-00 - vflip: 0
0000-00-00_00-00-00 - lensc: 1
0000-00-00_00-00-00 - exposure_ctrl: 1
0000-00-00_00-00-00 - Camera flash: 0
0000-00-00_00-00-00 - Camera flash time: 200
0000-00-00_00-00-00 - Camera image rotation: 1
0000-00-00_00-00-00 - Load PrusaConnect CFG from EEPROM
0000-00-00_00-00-00 - Token: *
0000-00-00_00-00-00 - Fingerprint: MTYwMjIxMTA4MTEyMjA1MjEyIDAwOjAwOjAwOjAwOjAwOjAw
0000-00-00_00-00-00 - Refresh interval: 30
0000-00-00_00-00-00 - PrusaConnect hostname: connect.prusa3d.com
0000-00-00_00-00-00 - Time lapse function status: 0
0000-00-00_00-00-00 - SSID: 
0000-00-00_00-00-00 - WiFi password: *
0000-00-00_00-00-00 - mDNS: prusa-esp32cam
0000-00-00_00-00-00 - Enable Service AP: 1
0000-00-00_00-00-00 - Network IP method: DHCP
0000-00-00_00-00-00 - Network static IP: 255.255.255.255
0000-00-00_00-00-00 - Network static mask: 255.255.255.255
0000-00-00_00-00-00 - Network static gateway: 255.255.255.255
0000-00-00_00-00-00 - Network static DNS: 255.255.255.255
0000-00-00_00-00-00 - Service AP SSID: ESP32_camera_112.205.212
0000-00-00_00-00-00 - Service AP mode enabled
0000-00-00_00-00-00 - WiFi STA start
0000-00-00_00-00-00 - WiFi AP start
0000-00-00_00-00-00 - Service IP Address: http://192.168.0.1
0000-00-00_00-00-00 - STA IP Method: DHCP
0000-00-00_00-00-00 - WiFi MAC: A0:DD:6C:70:CD:D4
0000-00-00_00-00-00 - Scan WI-FI networks
0000-00-00_00-00-00 - Check available WI-FI network: 
0000-00-00_00-00-00 - WiFi networks scan done
0000-00-00_00-00-00 - 7 networks�ets Jul 29 2019 12:21:46



rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant