Search found 2067 matches

by ESP_igrr
Wed Jan 09, 2019 12:26 pm
Forum: General Discussion
Topic: Question regarding Core Dumping, and the ELF file used for core dump
Replies: 9
Views: 10786

Re: Question regarding Core Dumping, and the ELF file used for core dump

The elf file will be there once you have built your project. If you run "make" (or "make -j4" to speed things up) in your project directory, then one of the last few lines of the output will look like: LD build/blink.elf This means that the elf file was generated. The name of the .elf file may be di...
by ESP_igrr
Wed Jan 09, 2019 12:21 pm
Forum: General Discussion
Topic: Watchdog triggered after light sleep wake up
Replies: 6
Views: 8777

Re: Watchdog triggered after light sleep wake up

If i put a esp_logi inside the function task I can see log during sleep. No, this most definitely should not be happening. If you see the logs being printed, this means that the chip is not in light sleep. All peripherals are clock gated in light sleep, so no UART output can be produced in this sta...
by ESP_igrr
Wed Jan 09, 2019 3:49 am
Forum: ESP-IDF
Topic: How to format fat filesystem?
Replies: 2
Views: 6120

Re: How to format fat filesystem?

The simplest option is to call esp_partition_erase_range function to erase the entire partition. Then initialize WL and FATFS. This will result in the filesystem being formatted.
by ESP_igrr
Wed Jan 09, 2019 3:48 am
Forum: General Discussion
Topic: Question regarding Core Dumping, and the ELF file used for core dump
Replies: 9
Views: 10786

Re: Question regarding Core Dumping, and the ELF file used for core dump

The ELF file should be your application ELF file, it has the same name as your project (PROJECT_NAME set in Makefiile).

Regarding the first error, could you please post the partition table you are using?
by ESP_igrr
Wed Jan 09, 2019 3:44 am
Forum: General Discussion
Topic: ESP_ERR_NVS_INVALID_LENGTH
Replies: 7
Views: 9863

Re: ESP_ERR_NVS_INVALID_LENGTH

It's mostly because in C language, writing into a destination buffer without knowing how large it is is unsafe. You may know the buffer size today, but then it is not uncommon for some parameters in the application to change so that the size of the destination buffer becomes insufficient. Without ex...
by ESP_igrr
Tue Jan 08, 2019 5:33 pm
Forum: General Discussion
Topic: Watchdog triggered after light sleep wake up
Replies: 6
Views: 8777

Re: Watchdog triggered after light sleep wake up

Hi dacitt, you might have run into a bug of some sort. Can you share your project (e.g. via a PM) so that we can reproduce the issue on our end?
by ESP_igrr
Tue Jan 08, 2019 2:09 pm
Forum: General Discussion
Topic: ESP_ERR_NVS_INVALID_LENGTH
Replies: 7
Views: 9863

Re: ESP_ERR_NVS_INVALID_LENGTH

No, you need to initialize "required_size" variable with the amount of space available in the destination buffer. Currently the variable is uninitialized, and contains garbage. If you want to know what is the size required to store the result, you can first call nvs_get_str with NULL instead of the ...
by ESP_igrr
Tue Jan 08, 2019 2:02 pm
Forum: ESP-IDF
Topic: JTAG Debugging Using Eclipse on Mac
Replies: 4
Views: 4725

Re: JTAG Debugging Using Eclipse on Mac

How are you starting OpenOCD when debugging on the custom board (what are the arguments) and what is the voltage of the flash chip used on the custom board?

If it is 3.3v the you need to use esp-wroom32.cfg instead of esp32-wrover.cfg.
by ESP_igrr
Tue Jan 08, 2019 11:43 am
Forum: General Discussion
Topic: ESP_ERR_NVS_INVALID_LENGTH
Replies: 7
Views: 9863

Re: ESP_ERR_NVS_INVALID_LENGTH

Ho do you implement nvs_read_str function?
by ESP_igrr
Mon Jan 07, 2019 10:20 am
Forum: ESP-IDF
Topic: JTAG Debugging Using Eclipse on Mac
Replies: 4
Views: 4725

Re: JTAG Debugging Using Eclipse on Mac

Could you please open idf_monitor ("make monitor") before you start programming the board over JTAG, and observe the console output which is generated at the time when OpenOCD prints "Core 0 was reset". If you see something like "flash read err, 1000", then it is likely that the chip is not bootstra...