Search found 1254 matches

by ESP_igrr
Fri Dec 14, 2018 3:20 pm
Forum: General Discussion
Topic: another odd Guru Meditation Error
Replies: 6
Views: 87

Re: another odd Guru Meditation Error

LoadProhibited, EXCVADDR: 0x00000010 tells that the code has likely tried to access a member of a structure at offset 0x10, but the pointer to the structure was NULL. If you use idf_monitor ("make monitor" with Make build system, "idf.py monitor" with CMake), then the backtrace will automatically be...
by ESP_igrr
Fri Dec 14, 2018 1:51 pm
Forum: ESP32 IDF
Topic: gdbinit: No such file or directory
Replies: 4
Views: 80

Re: gdbinit: No such file or directory

So then the GDB argument would be "-x gdbinit.cfg", right?
by ESP_igrr
Fri Dec 14, 2018 7:04 am
Forum: ESP32 IDF
Topic: gdbinit: No such file or directory
Replies: 4
Views: 80

Re: gdbinit: No such file or directory

Do you have a "gdbinit" file in the directory where you are running GDB from?
by ESP_igrr
Fri Dec 14, 2018 7:02 am
Forum: ESP32 IDF
Topic: Sysview tracing both cores
Replies: 1
Views: 46

Re: Sysview tracing both cores

By default, sysview tracing example sets FreeRTOS I to single core mode. You can change that in menuconfig, under Component Config / FreeRTOS. Then rebuild and flash the application. Once you do that, it should work. Keep in mind that SystemView GUI can not show traces from both cores at the same ti...
by ESP_igrr
Fri Dec 14, 2018 4:01 am
Forum: General Discussion
Topic: Write filesystem to spiffs <SOLVED>
Replies: 7
Views: 224

Re: Write filesystem to spiffs

Hi John, I was able to generate a SPIFFS image using mkspiffs, upload it to flash, and get the slightly modified spiffs example from IDF 3.1.1 to read it. The modification was to disable creating, removing, and renaming parts of the example, and keep only reading from foo.txt. My commands on the hos...
by ESP_igrr
Fri Dec 14, 2018 3:34 am
Forum: General Discussion
Topic: another odd Guru Meditation Error
Replies: 6
Views: 87

Re: another odd Guru Meditation Error

Not that I know of. It is possible to launch gdb in MI mode and let some IDE like Eclipse connect to it, but that's not something that is easy to set up. Given that you only need a couple of commands ("p" for printing variables, "bt" for backtrace) you should be able to get enough info from the cons...
by ESP_igrr
Fri Dec 14, 2018 3:11 am
Forum: General Discussion
Topic: another odd Guru Meditation Error
Replies: 6
Views: 87

Re: another odd Guru Meditation Error

It may help if you post the panic handler output along with the decoded backtrace.
You may also find the error easier to debug if you enable gdbstub — this will drop you into a gdb session at the point the exception happens, then you can inspect variables and see what went wrong.
by ESP_igrr
Wed Dec 12, 2018 12:07 pm
Forum: ESP32 IDF
Topic: FreeRtos slow?
Replies: 13
Views: 475

Re: FreeRtos slow?

You can use a semaphore or Task Notification to signal a task from the ISR. The task can perform ADC sampling and do any other things you need, and then block until the next event, using the same semaphore or task notification feature. The delay due to unblocking the task from ISR is usually on the ...
by ESP_igrr
Tue Dec 11, 2018 2:16 am
Forum: ESP32 Arduino
Topic: Additional current draw in Deep Sleep+ULP if WiFi.begin() called
Replies: 5
Views: 167

Re: Additional current draw in Deep Sleep+ULP if WiFi.begin() called

dmaxben wrote:
Mon Dec 10, 2018 3:58 pm
Do we have to call adc_power_on(); when the ESP32 wakes up from light sleep? Or is ADC re-enabled when it wakes up from light-sleep?
If you are using ADC1 or ADC2, then you need to enable it after waking up. Otherwise if you aren't using the ADC you don't need to do this.
by ESP_igrr
Mon Dec 10, 2018 2:54 pm
Forum: ESP32 Arduino
Topic: Additional current draw in Deep Sleep+ULP if WiFi.begin() called
Replies: 5
Views: 167

Re: Additional current draw in Deep Sleep+ULP if WiFi.begin() called

This is a regression in recent versions of ESP-IDF. We are working on a fix. For now you can add a call 'adc_power_off();' (from driver/adc.h) right before entering deep sleep.

Go to advanced search