-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Add AiThinker Cam board #2322
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
Comments
I have tried to flash to this board, but I keep getting errors when booting. I understand that the $ make -f ~/makeEspArduino/makeEspArduino.mk ESP_ROOT=~/arduino-esp32 CHIP=esp32 BOARD=esp32wrover UPLOAD_PORT=/dev/tty.usbserial erase_flash flash Flashing is OK, but while booting I get a bootloop like this: rst:0x3 (SW_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:2
load:0x3fff0018,len:4
load:0x3fff001c,len:928
ho 0 tail 12 room 4
load:0x40078000,len:9280
load:0x40080400,len:5860
entry 0x40080698
ets Jun 8 2016 00:22:57 This message repeats over and over. |
Yes, what you are getting is not normal. Try to set pins 13 and 14 as |
Adding this to the top of the pinMode(13, INPUT_PULLUP);
pinMode(14, INPUT_PULLUP); |
I figured out the issue, the partition size was incorrect. Here is a boards.txt entry that works best for me: esp32cam.name=AI Thinker ESP32-CAM
esp32cam.upload.tool=esptool_py
esp32cam.upload.maximum_size=3145728
esp32cam.upload.maximum_data_size=327680
esp32cam.upload.wait_for_upload_port=true
esp32cam.upload.speed=460800
esp32cam.serial.disableDTR=true
esp32cam.serial.disableRTS=true
esp32cam.build.mcu=esp32
esp32cam.build.core=esp32
esp32cam.build.variant=esp32
esp32cam.build.board=ESP32_DEV
esp32cam.build.f_cpu=240000000L
esp32cam.build.flash_size=4MB
esp32cam.build.flash_freq=80m
esp32cam.build.flash_mode=dio
esp32cam.build.boot=qio
esp32cam.build.partitions=huge_app
esp32cam.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue
esp32cam.build.code_debug=0 |
Created a PR: #2572 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This stale issue has been automatically closed. Thank you for your contributions. |
Would it be possible to add a board definition for the AiThinker Cam board with PSRAM.?
The text was updated successfully, but these errors were encountered: