Giter VIP home page Giter VIP logo

esp32-platformio's People

Contributors

hpsaturn avatar le0xul avatar samreenislam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp32-platformio's Issues

Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.

Forgive me if I'm missing something obvious, but after flashing this to two brand new MATRIX VOICE units (MATRIX.V1E v1.0/2018), they appear to be stuck in reboot loops. From what I understand, the address from the register EXCVADDR indicates that there was an attempt to dereference a NULL pointer. I'm not quite sure how to troubleshoot, so any insight would be super appreciated. Here's the output I'm seeing from the ESP32 serial:

Rebooting...

I (12) boot: ESP-IDF v4.0-dev-459-gba1ff1692 2nd stage bootloader

I (12) boot: compile time 11:07:17

I (12) boot: Enabling RNG early entropy source...

I (17) boot: SPI Speed : 40MHz

I (21) boot: SPI Mode : DIO

I (25) boot: SPI Flash Size : 4MB

I (29) boot: Partition Table:

I (33) boot: ## Label Usage Type ST Offset Length

I (40) boot: 0 nvs WiFi data 01 02 00009000 00004000

I (47) boot: 1 otadata OTA data 01 00 0000d000 00002000

I (55) boot: 2 phy_init RF data 01 01 0000f000 00001000

I (62) boot: 3 factory factory app 00 00 00010000 00100000

I (70) boot: 4 ota_0 OTA app 00 10 00110000 00100000

I (77) boot: 5 ota_1 OTA app 00 11 00210000 00100000

I (85) boot: End of partition table

I (89) boot: Defaulting to factory image

I (94) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x31c28 (203816) map

I (174) esp_image: segment 1: paddr=0x00041c50 vaddr=0x3ffbdb60 size=0x03558 ( 13656) load

I (180) esp_image: segment 2: paddr=0x000451b0 vaddr=0x40080000 size=0x00400 ( 1024) load

I (181) esp_image: segment 3: paddr=0x000455b8 vaddr=0x40080400 size=0x0aa58 ( 43608) load

I (208) esp_image: segment 4: paddr=0x00050018 vaddr=0x400d0018 size=0xa0d84 (658820) map

I (439) esp_image: segment 5: paddr=0x000f0da4 vaddr=0x4008ae58 size=0x0957c ( 38268) load

I (467) boot: Loaded app from partition at offset 0x10000

I (467) boot: Disabling RNG early entropy source...

Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.

Core 0 register dump:

PC : 0x4016db0b PS : 0x00060730 A0 : 0x8012c27f A1 : 0x3ffe3b00

A2 : 0x00000000 A3 : 0x000000fe A4 : 0x00000001 A5 : 0x00000000

A6 : 0x00000000 A7 : 0x00000000 A8 : 0x8012bda5 A9 : 0x3ffe3ad0

A10 : 0x00000020 A11 : 0x4012b960 A12 : 0x3ffe3ae8 A13 : 0x00000000

A14 : 0x00000000 A15 : 0x00000000 SAR : 0x0000001b EXCCAUSE: 0x0000001c

EXCVADDR: 0x00000000 LBEG : 0x4000c46c LEND : 0x4000c477 LCOUNT : 0x00000000

Backtrace: 0x4016db0b:0x3ffe3b00 0x4012c27c:0x3ffe3b20 0x400d1c01:0x3ffe3b50 0x400d147e:0x3ffe3ba0 0x400d5b2b:0x3ffe3bc0 0x40081c7d:0x3ffe3be0 0x40081e8c:0x3ffe3c10 0x400792f7:0x3ffe3c30 0x400793a9:0x3ff0

Rebooting...


...and here is the contents of my platform.ini file (with personal wifi info removed):

;PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[env:esp32dev]
platform = espressif32
upload_protocol = espota
board = esp32dev
framework = arduino
upload_port = 'LivingRoom.local' ; MatrixVoice ESP32 LAN name, should match HOSTNAME in build_flags
build_flags =
'-DWIFI_SSID="xxxx"' ; CHANGE THIS TO YOUR WIFI SSID
'-DWIFI_PASS="xxxx"' ; CHANGE THIS TO YOUR WIFI PASSWORD
'-DHOSTNAME="LivingRoom"'
'-DSITEID="matrixvoice"'
'-DOTA_PASS_HASH="b95677216e439d96ec4fba1240a3c1f8"' ; "voice" hashed with MD5 https://www.md5hashgenerator.com/
'-DMQTT_IP=IPAddress(192, 168, 1, 118)' ; CHANGE THIS TO IP OF SNIPS PROCESSING DEVICE
'-DMQTT_HOST="192.168.1.118"' ; CHANGE THIS TO IP OF SNIPS PROCESSING DEVICE
'-DMQTT_PORT=1883'
'-DMQTT_USER="MQTTUser"'
'-DMQTT_PASS="MQTTPassword"'
'-DMQTT_MAX_PACKET_SIZE=2000' ; This is required

upload_flags =
--port=3232
--auth=voice ; MatrixVoice OTA password, should match hashed password (OTA_PASS_HASH) in build_flags
--f=.pio/build/esp32dev/firmware.bin

lib_deps =
https://github.com/matrix-io/matrixio_hal_esp32.git
https://github.com/matrix-io/esp32-arduino-ota.git
https://github.com/Locoduino/RingBuffer.git
https://github.com/marvinroger/async-mqtt-client.git
https://github.com/me-no-dev/AsyncTCP.git
https://github.com/knolleary/pubsubclient.git
https://github.com/bblanchon/ArduinoJson.git

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.