Search found 9 matches
- Tue Jul 18, 2023 6:01 am
- Forum: ESP-IDF
- Topic: esp32-s3 reboot after some writes to sd card
- Replies: 6
- Views: 2180
Re: esp32-s3 reboot after some writes to sd card
Topic can be closed, all problems are solved
- Fri Jul 14, 2023 9:01 am
- Forum: ESP-IDF
- Topic: esp32-s3 reboot after some writes to sd card
- Replies: 6
- Views: 2180
Re: esp32-s3 reboot after some writes to sd card
Hello again! I was distracted by updating the esp-idf to version 5.1 and it was ... not easy) I checked heap size in the main_app cycle by using heap_caps_get_free_size(MALLOC_CAP_8BIT) and somewhere is leakage, heap decreases by about 2200+ bytes every cycle. And I know that it is in module with SD...
- Wed Jul 12, 2023 4:10 am
- Forum: ESP-IDF
- Topic: esp32-s3 reboot after some writes to sd card
- Replies: 6
- Views: 2180
Re: esp32-s3 reboot after some writes to sd card
You was right! First problem solved! I rewrite part of code with pointers - add intermediate variable, into which I put the pointer and after this action check pointer. How it was: snprintf(msgString, sizeof(msgString), "%s", Data_currentRecordToJson(&msgIdx)); // собрали строку новых данных here ch...
- Wed Jul 12, 2023 3:04 am
- Forum: ESP-IDF
- Topic: esp32-s3 reboot after some writes to sd card
- Replies: 6
- Views: 2180
Re: esp32-s3 reboot after some writes to sd card
Hi, I alredy read it, and I check pointer and in code and I checked it by logged ESP_LOGE(...). It was first what I've done. Then I found, that it can be stack overload (but adding +1kB to stack has no effect). I can't decode first error, where backtrace is with two addresses, but I decode second er...
- Tue Jul 11, 2023 9:49 am
- Forum: ESP-IDF
- Topic: esp32-s3 reboot after some writes to sd card
- Replies: 6
- Views: 2180
esp32-s3 reboot after some writes to sd card
Hello everyone! I use esp32-s3-mini-1 and SD card (one wire dat0). I have big programm with few tasks, and in main_app I write files to SD (every 2,5-3 sec, about 269-275 bytes)on maximum speed. And after some write cycles esp32 reboots with error. I have two cards and two devices and test all varia...
- Thu Jun 22, 2023 2:54 am
- Forum: ESP-IDF
- Topic: uart baudrate and source clock
- Replies: 6
- Views: 2078
- Wed Jun 21, 2023 6:24 am
- Forum: ESP-IDF
- Topic: uart baudrate and source clock
- Replies: 6
- Views: 2078
Re: uart baudrate and source clock
At first time it was like scheme (attached) and mounted 470pf_NM. After try to remove 470pf_NM -> better, but was data mistakes on 921600 baud rate and higher. Then both R on MCU_RXD =>1k. It stay stable on 921600, but form of signal is not very good ('0' level longer than '1' level, and rise front ...
- Wed Jun 21, 2023 3:25 am
- Forum: ESP-IDF
- Topic: uart baudrate and source clock
- Replies: 6
- Views: 2078
Re: uart baudrate and source clock
If anyone is interested, I found a reason and problem was hardware. Esp32 (3.3V) connected to sim-module (1.8V) and level matching scheme (from sim-module datasheet) doesn't work with high baud rate. Sim-module understand all packets, esp32 doesn't understand packets. Actually with baud rate a littl...
- Tue Jun 20, 2023 7:37 am
- Forum: ESP-IDF
- Topic: uart baudrate and source clock
- Replies: 6
- Views: 2078
uart baudrate and source clock
Hello! I have problem with usins uart with standart baudratedifferent than 115200. When I use default 115200 and than check by uart_get_baudrate(UART_NUM_0, &brd);, brd = 115201 (small difference), but with 921600 -> uart_get_baudrate(UART_NUM_0, &brd);, brd = 922190 (huge difference). I undarstand,...