I used the NVS for such tasks https://github.com/espressif/esp-idf/tr ... vs_rw_blob
It does not use spi_flash_write(dest_addr, src, size); directly though, the underlying calls do contain this function call.
Search found 214 matches
- Fri Aug 03, 2018 12:51 pm
- Forum: General Discussion
- Topic: How to store string in flash using SPI_FLASH_WRITE .
- Replies: 1
- Views: 4860
- Thu Aug 02, 2018 1:41 pm
- Forum: General Discussion
- Topic: Intercepting log and printf messages
- Replies: 11
- Views: 13934
Re: Intercepting log and printf messages
You are searching for the repositories type? You really need to specify "&type=Code" "https://github.com/search?q=esp_log_set ... &type=Code"mikemoy wrote:the link does not work for me.
- Mon Jul 30, 2018 8:44 am
- Forum: ESP32 Arduino
- Topic: How to change task watchdog timeout?
- Replies: 1
- Views: 6040
Re: How to change task watchdog timeout?
I believe the esp-idf components are compiled into libraries for Arduino(see https://github.com/espressif/arduino-esp32/tree/master/tools/sdk/lib ). There is a option to change the task watchdog timeout in esp-idf under sdkconfig, but since for Arduino it is precompiled you might have to switch to u...
- Mon Jul 30, 2018 7:59 am
- Forum: General Discussion
- Topic: ESP32 Sparkfun Reset with External Battery 3.7v
- Replies: 2
- Views: 5004
Re: ESP32 Sparkfun Reset with External Battery 3.7v
Could it be that the battery connector accepts 5v and drops it to 3.3v for the esp32?
- Mon Jul 23, 2018 11:22 am
- Forum: General Discussion
- Topic: (Noob) Schematic Question
- Replies: 2
- Views: 5010
Re: (Noob) Schematic Question
Have a look at the DevKitC schematic at https://dl.espressif.com/dl/schematics/ ... V2_sch.pdf
I think the problem is located on your IO0 and EN lines, but that's just a guess. That schematic is a great reference though
I think the problem is located on your IO0 and EN lines, but that's just a guess. That schematic is a great reference though
- Tue Jul 17, 2018 8:46 am
- Forum: General Discussion
- Topic: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED, no way out...
- Replies: 1
- Views: 5142
Re: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED, no way out...
Why do you call openocd in msys2? http://esp-idf.readthedocs.io/en/latest ... ndows.html There you can find the windows binary for openocd.
- Thu Jul 05, 2018 12:04 pm
- Forum: General Discussion
- Topic: nvs_get_u32 keeps returning "ESP_ERR_NVS_NOT_FOUND"
- Replies: 8
- Views: 11542
Re: nvs_get_u32 keeps returning "ESP_ERR_NVS_NOT_FOUND"
Also try a "make erase_flash" to start clean, and re-flash your program.
- Thu Jul 05, 2018 10:21 am
- Forum: ESP-IDF
- Topic: openssl certs in ESP32
- Replies: 1
- Views: 3227
Re: openssl certs in ESP32
In this example there is no certificate to be verified. You can print the received certificates by enabling debug for openssl/mbedtls ( this will print ALOT of information )
- Thu Jul 05, 2018 10:05 am
- Forum: General Discussion
- Topic: nvs_get_u32 keeps returning "ESP_ERR_NVS_NOT_FOUND"
- Replies: 8
- Views: 11542
Re: nvs_get_u32 keeps returning "ESP_ERR_NVS_NOT_FOUND"
Try the examples: https://github.com/espressif/esp-idf/tr ... vs_rw_blob, https://github.com/espressif/esp-idf/tr ... s_rw_value. Do you get the same errors there? Do you call nvs_open/nvs_close?
- Mon Jul 02, 2018 7:25 am
- Forum: General Discussion
- Topic: ROM0 ROM1 flash dump for ESP32-Qemu
- Replies: 3
- Views: 8169