Closed beckmx closed 5 years ago
You need to set "Partition Table -> Partition Table -> Custom partition table CSV" in menuconfig. Also, make sure that "Partition Table -> Custom partition CSV file" is set to "partitions.csv" (should be default). I will update README with all required settings.
Ok, I've updated README, make sure you've done all required settings. Let me know if that won't work.
:)) it did work, I just discovered the same issue on the other thread about not streaming video, it does take the pictures though, but according to that, you say an esp32 with external RAM is required right?, what device do you use? I sed one of the cheap esp32cam but I cannot find what devices implement the external ram yet.
Greetings!
Snapshot should work even without SPI RAM. What does your module do instead?
Modules with SPI RAM can be easily found: google "esp32 camera spi ram"
It does the snapshot correctly, everything on place, I added the additional service for the flashlight, but yeah as u said, the streaming needs more ram, what device do u use?
how much ram do u think it needs, I found this one https://www.banggood.com/LILYGO-TTGO-T-Camera-ESP32-WROVER-with-PSRAM-Camera-Module-OV2640-Camera-0_96-Inch-OLED-p-1418433.html?ID=566074&cur_warehouse=CN
Why not use the ons I use? IT has a SD card as extra ram.
oh really? u can use the SD card as ram? because I have them as well, should I insert a blank SD or specially formated? or just doesnt matter
Hell no, you can't use SD card as RAM. Also, even if you find module with more than 4MB of RAM (e.g. ESP-EYE has 8MB), transparent usage is only possible for 4MB, for the rest you need to manually switch banks. This might work if you're working with memory directly with your own code, but it's almost impossible to teach third-party libraries about that. So, I personally at this stage (when I want to make third-party H.264 codec work) see no reason to buy modules with more than 4MB of RAM. And, guys, do not rush to buy it: getting more memory is not the only problem there.
I will close the issue since it was solved and continue over another thread that has already been opened, thanx @maximkulkin
Hello guys,
So I compiled my code with the options:
Under the menu camera pins i selected:
ESP32-CAM by AI-Thinker
Which is this one I believe The code looks to be compiled and then I upload using these configs:esptool.py --chip esp32 --port /dev/tty.usbserial-A800K5UT --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 build/bootloader/bootloader.bin 0x10000 build/esp32-homekit-camera.bin 0x8000 build/partitions_singleapp.bin
I see the code uploaded correctly but if I connect to the terminal with UART I see this wierd message:
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:6444 load:0x40078000,len:11492 load:0x40080400,len:6664 entry 0x40080764 ·[0;32mI (56) boot: ESP-IDF v4.0-dev-1191-g138c941 2nd stage bootloader·[0m ·[0;32mI (56) boot: compile time 04:45:11·[0m ·[0;32mI (57) boot: Enabling RNG early entropy source...·[0m ·[0;32mI (63) boot: SPI Speed : 40MHz·[0m ·[0;32mI (67) boot: SPI Mode : DIO·[0m ·[0;32mI (71) boot: SPI Flash Size : 4MB·[0m ·[0;32mI (75) boot: Partition Table:·[0m ·[0;32mI (79) boot: ## Label Usage Type ST Offset Length·[0m ·[0;32mI (86) boot: 0 nvs WiFi data 01 02 00009000 00006000·[0m ·[0;32mI (94) boot: 1 phy_init RF data 01 01 0000f000 00001000·[0m ·[0;32mI (101) boot: 2 factory factory app 00 00 00010000 00100000·[0m ·[0;32mI (109) boot: End of partition table·[0m ·[0;32mI (113) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0xa6e94 (683668) map·[0m ·[0;32mI (361) esp_image: segment 1: paddr=0x000b6ebc vaddr=0x3ffb0000 size=0x03d98 ( 15768) load·[0m ·[0;32mI (368) esp_image: segment 2: paddr=0x000bac5c vaddr=0x40080000 size=0x00400 ( 1024) load·[0m ·[0;32mI (368) esp_image: segment 3: paddr=0x000bb064 vaddr=0x40080400 size=0x04fac ( 20396) load·[0m ·[0;32mI (385) esp_image: segment 4: paddr=0x000c0018 vaddr=0x400d0018 size=0x101274 (1053300) map·[0m ·¸ets Jun 8 2016 00:22:57
And keeps repeating over and over, anyone knows if the configs should be different?