Search found 17 matches

by salbdch
Thu Feb 18, 2021 11:50 am
Forum: ESP-IDF
Topic: Camera Web Server Demo - Refresh values on Web page?
Replies: 0
Views: 2135

Camera Web Server Demo - Refresh values on Web page?

Hello, I need to refresh board specific values(board's S-out value) on web page every time get-still button clicked. So I'd change code app_httpd.c and index_ov5640.html but it has no changes. What am i missing? static esp_err_t capture_handler(httpd_req_t *req) { camera_fb_t *fb = NULL; esp_err_t r...
by salbdch
Wed Feb 10, 2021 5:36 am
Forum: ESP-IDF
Topic: While-loop speed enhancement?
Replies: 2
Views: 4146

While-loop speed enhancement?

Hello, In my example, while loop in main.c seems working in 1.437ms period and I need some calculation in us. int64_t oldTime, currentTime; int16_t deltaTime; while(1) { oldTime = currentTime; currentTime = esp_timer_get_time(); deltaTime = currentTime - oldTime; printf("deltaTime: %d\n", deltaTime)...
by salbdch
Mon Jan 18, 2021 8:32 am
Forum: ESP-WHO
Topic: PSRAM problem while frame buffer init?
Replies: 1
Views: 20971

Re: PSRAM problem while frame buffer init?

Case closed,

Was not exactly the PSRAM issue.
Please refer https://www.esp32.com/viewtopic.php?f=13&t=18950 if may someone interested.

Regards,
by salbdch
Mon Jan 18, 2021 8:29 am
Forum: ESP-IDF
Topic: Guru Meditation Error while accessing PSRAM
Replies: 6
Views: 10568

Re: Guru Meditation Error while accessing PSRAM

Well... problem solved.
In my case, problem caused because below one pin between
ESP32 and OV5640 was mistakenly disconnected.

CONFIG_CAMERA_PIN_HREF=16

Thanks for advice anyway!

Regards,
by salbdch
Fri Jan 15, 2021 12:24 pm
Forum: ESP-WHO
Topic: PSRAM problem while frame buffer init?
Replies: 1
Views: 20971

PSRAM problem while frame buffer init?

System keep rebooting while frame buffer init and here's log while. I have no idea why free space on PSRAM shows abnomal values after allocating 960kBytes. I (2556) camera: Detected OV5640 camera E (2556) camera: in_bpp: 2, fb_bpp: 2, fb_size: 983040, mode: 3, width: 2560 height: 1920 I (2556) camer...
by salbdch
Wed Jan 13, 2021 3:07 pm
Forum: ESP-IDF
Topic: Guru Meditation Error while accessing PSRAM
Replies: 6
Views: 10568

Re: Guru Meditation Error while accessing PSRAM

I made logs static esp_err_t camera_fb_init(size_t count) { if(!count) { return ESP_ERR_INVALID_ARG; } camera_fb_deinit(); ESP_LOGI(TAG, "Allocating %u frame buffers (%d KB total)", count, (s_state->fb_size * count) / 1024); ESP_LOGI(TAG, "Get Total size %d KB in PSRAM", heap_caps_get_total_size(MAL...
by salbdch
Tue Jan 12, 2021 5:59 pm
Forum: ESP-IDF
Topic: Guru Meditation Error while accessing PSRAM
Replies: 6
Views: 10568

Re: Guru Meditation Error while accessing PSRAM

That is strange... can you decode that backtrace? Is the firmware 100% the same on both boards, or did you need to change things because e.g. different board layouts? I think Flash memory size and OV5640 camera interface is different. Below is about my custom board. ESP32_DOWNLOAD_TOOL.jpg # # Auto...
by salbdch
Tue Jan 12, 2021 5:06 pm
Forum: ESP-IDF
Topic: Guru Meditation Error while accessing PSRAM
Replies: 6
Views: 10568

Re: Guru Meditation Error while accessing PSRAM

Hello, I have board rebooting problem while allocating frame buffer in PSRAM for OV5640 camera. Any guide for me to fix this problem? Regards, 1. Logging Camera-webserver-demo with ESP-EYE board. (Booting Success) rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_...
by salbdch
Mon Jan 11, 2021 10:25 am
Forum: ESP-IDF
Topic: Guru Meditation Error while accessing PSRAM
Replies: 6
Views: 10568

Guru Meditation Error while accessing PSRAM

Hello, I have board rebooting problem while allocating frame buffer in PSRAM for OV5640 camera. Any guide for me to fix this problem? Regards, 1. Logging Camera-webserver-demo with ESP-EYE board. (Booting Success) rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_d...
by salbdch
Sat Jan 02, 2021 10:09 am
Forum: Hardware
Topic: Schematic review needed
Replies: 11
Views: 11551

Re: Schematic review needed

Hello, problem solved. - I guess problem somewhat caused by limitation of my USB-to-UART dongle, which connect my custom board and PC. After I change download tool as "flash_download_tool_v3.8.5" and lower UART baudrate as 115,200, it started work. - ESP32-WROVER_E in my custom board turns out that ...