Skip to content

Aruduino code crashing in ESP-IDF using arduino as component #9023

@Abhay-2412

Description

@Abhay-2412

Board

DFRobot firebeetle 2 esp32s3

Device Description

evalkit with ov5640 camera

Hardware Configuration

evalkit with ov5640 camera

Version

v2.0.6

IDE Name

Arduino IDE and ESP-IDF using arduino as component

Operating System

windows 11

Flash frequency

80Mhz

PSRAM enabled

yes

Upload speed

460800

Description

i have a working arduino project on esp32s3 version v2.0.6 due to some requirement we need to shift it to esp-idf we decided to use arduino as component same version 2.0.6 in there our program is crashing at middle of execution. i juse need some suggestions to how to debug it and how can i compare both projects and findout what's wrong

Sketch

will upload if needed

Debug Message

Guru Meditation Error: Core  1 panic'ed (StoreProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x40056f60  PS      : 0x00060930  A0      : 0x820090e4  A1      : 0x3fcebf50
A2      : 0x00000000  A3      : 0x3d8009a4  A4      : 0x0004b000  A5      : 0x00000000  
A6      : 0x7a408843  A7      : 0x81438942  A8      : 0x00000000  A9      : 0x3fcebf00
A10     : 0x00000001  A11     : 0x00000000  A12     : 0x3fcb4648  A13     : 0x00000000
A14     : 0x00000000  A15     : 0x00000001  SAR     : 0x0000000b  EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000000  LBEG    : 0x40056f5c  LEND    : 0x40056f72  LCOUNT  : 0x00004aff


Backtrace: 0x40056f5d:0x3fcebf50 |<-CORRUPTED




ELF file SHA256: 805321dde2140873

Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0xb (SPI_FAST_FLASH_BOOT)
Saved PC:0x4207e182
0x4207e182: esp_pm_impl_waiti at C:/Espressif/frameworks/esp-idf-v4.4.5/components/esp_pm/pm_impl.c:832

Other Steps to Reproduce

like i said it works perfectly in arduino ide when i use espressif package of version 2.0.6 and using same package in esp idf as arduino as component it crashing just want to know how to troubleshoot it and i'm sorry if quwation looks dumb i'm complete newbie

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions