Skip to content

Exception decoder for ESP32C3 is not working #763

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kaizoku-oh opened this issue Apr 19, 2022 · 1 comment
Closed

Exception decoder for ESP32C3 is not working #763

kaizoku-oh opened this issue Apr 19, 2022 · 1 comment

Comments

@kaizoku-oh
Copy link

kaizoku-oh commented Apr 19, 2022

I'm facing an issue with decoding ESP32C3 exceptions on serial monitor.
I also tried to add build_type = debug but no result.

This is my code to provoke an exception:

#include <esp_log.h>
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>

#define TAG "EXAMPLE"

void app_main(void)
{
  uint8_t *pu08Pointer;

  pu08Pointer = NULL;
  ESP_LOGI(TAG, "pu08Pointer = %p", pu08Pointer);
  ESP_LOGI(TAG, "*pu08Pointer = %d", *pu08Pointer);
  while(1)
  {
    ESP_LOGI(TAG, "Running...");
    vTaskDelay(pdMS_TO_TICKS(1000));
  }
}

This is my config:

[env:esp32-c3-devkitm-1]
platform = espressif32
board = esp32-c3-devkitm-1
framework = espidf

monitor_speed = 115200
monitor_filters = esp32_exception_decoder

Note that if I use ESP32 Dev the filter works fine:

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = espidf

monitor_speed = 115200
monitor_filters = esp32_exception_decoder

Are the ESP32C3 exceptions decoding supported?

@Jason2866
Copy link
Contributor

Not yet, there is a Draft PR #612

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants