Hi
I have run the everloop rainbow with success
I’m now following the ESP32 example here: https://matrix-io.github.io/matrix-documentation/matrix-voice/esp32. but with not much luck.
Everything appears to compile and install but the leds don’t activate:
I have since used minicom to access the serial port of ESP32, and it is in continued 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=0x31c30 (203824) map
I (174) esp_image: segment 1: paddr=0x00041c58 vaddr=0x3ffbdb60 size=0x03558 ( 13656) load
I (180) esp_image: segment 2: paddr=0x000451b8 vaddr=0x40080000 size=0x00400 ( 1024) load
I (181) esp_image: segment 3: paddr=0x000455c0 vaddr=0x40080400 size=0x0aa50 ( 43600) load
I (208) esp_image: segment 4: paddr=0x00050018 vaddr=0x400d0018 size=0xa0da8 (658856) map
I (439) esp_image: segment 5: paddr=0x000f0dc8 vaddr=0x4008ae50 size=0x09584 ( 38276) 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 : 0x4016db2f PS : 0x00060730 A0 : 0x8012c187 A1 : 0x3ffe3b00
A2 : 0x00000000 A3 : 0x000000fe A4 : 0x00000001 A5 : 0x00000000
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x8012bcad A9 : 0x3ffe3ad0
A10 : 0x00000020 A11 : 0x4012b868 A12 : 0x3ffe3ae8 A13 : 0x00000000
A14 : 0x00000000 A15 : 0x00000000 SAR : 0x0000001b EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000 LBEG : 0x4000c46c LEND : 0x4000c477 LCOUNT : 0x00000000
```Executing task: C:\Users\danie\.platformio\penv\Scripts\platformio.exe run <
Processing esp32dev (platform: espressif32; board: esp32dev; framework: arduino)
----------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 1.11.1 > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: toolchain-xtensa32 2.50200.80 (5.2.0), tool-openocd-esp32 1.1000.20190708 (10.0), framework-arduinoespressif32 2.10004.191002 (1.0.4), tool-esptoolpy 1.20600.0 (2.6.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 32 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <MATRIXVoiceESP32HAL> 0.77.0 #320c897
|-- <MATRIXVoiceESP32ArduinoOTA> 0.15.0 #6ce87f9
| |-- <ArduinoOTA> 1.0
| | |-- <Update> 1.0
| | |-- <WiFi> 1.0
| | |-- <ESPmDNS> 1.0
| | | |-- <WiFi> 1.0
| |-- <WiFi> 1.0
| |-- <ESPmDNS> 1.0
| | |-- <WiFi> 1.0
Building in release mode
Compiling .pio\build\esp32dev\src\main.cpp.o
Generating partitions .pio\build\esp32dev\partitions.bin
Compiling .pio\build\esp32dev\lib542\MATRIXVoiceESP32HAL\everloop.cpp.o
Compiling .pio\build\esp32dev\lib542\MATRIXVoiceESP32HAL\matrix_driver.cpp.o
...
Compiling .pio\build\esp32dev\FrameworkArduino\wiring_pulse.c.o
Compiling .pio\build\esp32dev\FrameworkArduino\wiring_shift.c.o
Archiving .pio\build\esp32dev\libFrameworkArduino.a
Linking .pio\build\esp32dev\firmware.elf
Retrieving maximum program size .pio\build\esp32dev\firmware.elf
Checking size .pio\build\esp32dev\firmware.elf
Building .pio\build\esp32dev\firmware.bin
esptool.py v2.6
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
DATA: [== ] 17.4% (used 57168 bytes from 327680 bytes)
PROGRAM: [======= ] 73.2% (used 959236 bytes from 1310720 bytes)
======================================================== [SUCCESS] Took 21.60 seconds ========================================================
AND UPLOAD...
./install.sh 192.168.3.214
Loading firmware: ../.pio/build/esp32dev/firmware.bin
The authenticity of host '192.168.3.214 (192.168.3.214)' can't be established.
ECDSA key fingerprint is SHA256:5Jx96ONXHQFCXwd4YiCmLBfyTXxwrVWKiA/mO0h/o8E.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.3.214' (ECDSA) to the list of known hosts.
pi@192.168.3.214's password:
-----------------------------------
esptool.py wrapper for MATRIX Voice
-----------------------------------
esptool.py v2.8
Serial port /dev/ttyS0
Connecting.....
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 3c:71:bf:10:a1:e4
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 1500000
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Wrote 32768 bytes at 0x00001000 in 0.5 seconds (544.1 kbit/s)...
Hash of data verified.
Wrote 966656 bytes at 0x00010000 in 11.4 seconds (680.2 kbit/s)...
Hash of data verified.
Wrote 16384 bytes at 0x00008000 in 0.2 seconds (772.5 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
done
[SUCCESS] Please disconnect your MatrixVoice from the RaspberryPi and reconnect it alone for future OTA updates.
But the led don't turn on. either connected to the RPi or stand alone.
thanks and sorry about the crappy post.