Tag: ESP32

ESP32 is a low-cost, low-power system-on-a-chip (SoC) microcontroller with built-in Wi-Fi and Bluetooth capabilities. IoT (Internet of Things) applications often use this controller for wireless connectivity and control.

  • How to decode the exception backtrace of an ESP32

    How to decode the exception backtrace of an ESP32

    By

    in

    When the execution of code on an ESP32 throws an exception, the output might look like this: The Espressif tools contain a binary called xtensa-esp32-elf-addr2line which will decode the backtrace addresses and return details about the source files, lines and function names, etc. To run the tool, call: In the command above, simply…

    Read more

  • ESP32: Stack canary watchpoint triggered (loopTask)

    ESP32: Stack canary watchpoint triggered (loopTask)

    By

    in ,

    Recently, I stumble upon the following error on an ESP32: The reason for this was an infinite loop that was caused by two methods that where called from each other. So the execution of the first method never ended. The code looked something like this (extremly simplified): Foto von Vishnu Mohanan auf Unsplash

    Read more

  • ESP32: how to read and write the partition table of an ESP device?

    ESP32: how to read and write the partition table of an ESP device?

    By

    in

    To communicate with an ESP32 the ESP-IDF (Espressif IoT Development Framework) can be used. This framework provides a collection of useful scripts to communicate with your ESP device. The framework is supported on Windows, Linux and macOS. You can download the ESP-IDF repository and extract the contents into a folder. Note that you need to…

    Read more