Hello, I’m trying to connect my wireless stick to chirpstack server, but when I try this example (just with changed license to mine) I get this error:
ELF file SHA256: 0000000000000000
Rebooting...
ESP32 MCU init...
abort() was called at PC 0x4008219e on core 1
Backtrace:0x400838b9:0x3ffb26700x40089085:0x3ffb2690 0x4008dd2d:0x3ffb26b0 0x4008219e:0x3ffb2730 0x40082774:0x3ffb2780 0x400d5898:0x3ffb27a0 0x400d5f11:0x3ffb27c0 0x400d1a72:0x3ffb27f0 0x400dc4bf:0x3ffb2820
#0 0x400838b9:0x3ffb2670 in panic_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_system/panic.c:402
#1 0x40089085:0x3ffb2690 in esp_system_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_system/esp_system.c:128
#2 0x4008dd2d:0x3ffb26b0 in abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/newlib/abort.c:46
#3 0x4008219e:0x3ffb2730 in esp_flash_erase_region at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spi_flash/esp_flash_api.c:541 (discriminator 5)
#4 0x40082774:0x3ffb2780 in spi_flash_erase_range at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/spi_flash/esp_flash_api.c:1173
#5 0x400d5898:0x3ffb27a0 in writelicense() at D:\/D:\\61722\\Documents\\Arduino\\libraries\\ESP32_LoRaWAN_VASR\\src\\Mcu.cpp:33
#6 0x400d5f11:0x3ffb27c0 in McuClass::init(int, int, int, int, unsigned int*) at D:\/D:\\61722\\Documents\\Arduino\\libraries\\ESP32_LoRaWAN_VASR\\src\\Mcu.cpp:154
#7 0x400d1a72:0x3ffb27f0 in setup() at src/main.cpp:166
#8 0x400dc4bf:0x3ffb2820 in loopTask(void*) at /home/xxx/.platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:42
My platformio.ini
[env:heltec_wireless_stick]
platform = espressif32
board = heltec_wireless_stick
framework = arduino
upload_port = /dev/ttyUSB0
monitor_speed = 115200
lib_deps =
heltecautomation/Heltec ESP32 Dev-Boards@^1.1.1
heltecautomation/ESP32_LoRaWAN@^2.1.1
build_flags =
-D REGION_EU433
-D ACTIVE_REGION=LORAMAC_REGION_EU433
-D LoRaWAN_DEBUG_LEVEL=1
-D LORAWAN_DEVEUI_AUTO=0
build_type = debug
monitor_filters = esp32_exception_decoder
What can I do? Did anyone experience this error?