Search found 2067 matches

by ESP_igrr
Tue Aug 31, 2021 9:02 am
Forum: ESP32 Arduino
Topic: Using custom partitions.csv kills JTAG
Replies: 3
Views: 2747

Re: Using custom partitions.csv kills JTAG

It looks like GDB is flashing the app to 0x10000 while in your custom partitions file the offset is different. Perhaps that's the reason? Which environment are you using to work with GDB? Command line, Eclipse, VS Code, something else? It's probably a matter of adjusting the flashing commands in tha...
by ESP_igrr
Thu Aug 12, 2021 10:30 am
Forum: Hardware
Topic: RAM & Flash cache efficiency
Replies: 9
Views: 10847

Re: RAM & Flash cache efficiency

I think one way this "prefetching" might be possible to implement on an ESP32 would be to use an interrupt to cancel the fetch instruction. Something along these lines: (initialization): 1. create an interrupt handler for CCOMPARE2 interrupt, that's a CPU-internal interrupt with level 5. There is so...
by ESP_igrr
Tue Aug 10, 2021 6:23 am
Forum: ESP-IDF 中文讨论版
Topic: 【求助】ESP32通过spi外接flash的fat格式与PC不能兼容?
Replies: 11
Views: 10632

Re: 【求助】ESP32通过spi外接flash的fat格式与PC不能兼容?

I think the reason why you can't mount the filesystem created by Windows is that the firmware code uses 4096 bytes as the sector size. When you format the partition in Windows, it allows you to choose the cluster size , not sector size. Windows sets sector size to 512 bytes. You can try to modify th...
by ESP_igrr
Mon Aug 09, 2021 10:05 am
Forum: ESP-IDF
Topic: How to debug ESP32interrupt watchdog timeout
Replies: 7
Views: 4860

Re: How to debug ESP32interrupt watchdog timeout

Hi yake827, can you please post the backtrace you are seeing? Interrupts being disabled is one possible cause of interrupt watchdog timeout. Another possible cause is that an interrupt handler didn't complete in time (entered an infinite loop) or that an interrupt handler keeps re-entering (some int...
by ESP_igrr
Mon Aug 09, 2021 7:25 am
Forum: Hardware
Topic: ESP32-C3 power consumption doesn't match to the datasheet
Replies: 12
Views: 15158

Re: ESP32-C3 power consumption doesn't match to the datasheet

Even in case of powering the devkit through the 3.3V pin, as you correctly say CP2102 will draw additional current. To measure the current consumption of ESP32-C3 chip, you will probably need to connect a bare module to the current meter. I think the development board doesn't provide a way of doing ...
by ESP_igrr
Mon Aug 09, 2021 7:11 am
Forum: ESP-IDF
Topic: TWAI baudrate prescaler in revision 3
Replies: 4
Views: 2979

Re: TWAI baudrate prescaler in revision 3

I see, sorry I missed that. It looks like a bug then, would you mind opening an issue at https://github.com/espressif/esp-idf/issues so that we can get it assigned to the right people?
by ESP_igrr
Sun Aug 08, 2021 7:40 am
Forum: ESP-IDF 中文讨论版
Topic: 【求助】ESP32通过spi外接flash的fat格式与PC不能兼容?
Replies: 11
Views: 10632

Re: 【求助】ESP32通过spi外接flash的fat格式与PC不能兼容?

Hi Jame113, esp_vfs_fat_rawflash_mount intentionally mounts the filesystem in read-only mode. This is because creating a FAT filesystem in SPI NOR Flash without wear levelling is not a very good idea. FAT filesystem very often writes to a few sectors at the beginning of the partition, and it is quit...
by ESP_igrr
Sun Aug 08, 2021 7:31 am
Forum: ESP32 Arduino
Topic: ESP32; Disable saving wifi credentials in nvs
Replies: 2
Views: 3584

Re: ESP32; Disable saving wifi credentials in nvs

Hi tondar20, I think it should be possible by calling WiFi.persistent(false) before calling WiFi.begin(). If that doesn't work, would you mind opening an issue at https://github.com/espressif/arduino-esp32/issues? Note however that the more secure solution to this problem is to use ESP32 Flash Encry...
by ESP_igrr
Sun Aug 08, 2021 6:21 am
Forum: ESP-IDF
Topic: Some ULP Variable are not being generated in ulp_main.h
Replies: 6
Views: 4117

Re: Some ULP Variable are not being generated in ulp_main.h

Is it possible that the usage of this variable was optimized out by the compiler, so the variable got eliminated?
by ESP_igrr
Sun Aug 08, 2021 6:14 am
Forum: ESP-IDF
Topic: Using ESP32-WROOM/WROVER with RPi
Replies: 6
Views: 5509

Re: Using ESP32-WROOM/WROVER with RPi

Hi danergo, You can get esp32 to expose HCI interface over UART using this example code: https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/hci/controller_hci_uart. On the host you will need to use hciattach command to let bluez stack work with the UART. Note that hardware flow cont...