-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
The board restarts indefinitely #56
Comments
Thanks for the full log output, that's helpful! It looks like you do not have the correct ESP32 chip. I see this in your log: Are you sure you got the "Plus" version of the T-Micro32 as linked in the BOM? It should have a red chip antenna on the upper right corner, not a white chip antenna in the upper left. I'm not certain this is the issue, but the pinout is different between the modules, and some of the GPIO pins used are only available in the PICO-V3-02 but reserved for internal flash use on the PICO-D4. |
my chip (ESP32-PICO-V3-02) is right, but my dev also restarts indefinitely,dont know why LOG:
Leaving... Environment Status Duration view SUCCESS 00:00:22.381 |
this is my reboot log Rebooting... rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) ELF file SHA256: 0000000000000000 Backtrace: 0x400f844e:0x3ffb2ef0 0x400d9f76:0x3ffb2f10 0x400d2a82:0x3ffb2f30 0x400d2cf9:0x3ffb2f90 0x400883f2:0x3ffb2fb0 |
LOG:
Processing view (board: esp32doit-devkit-v1; platform: espressif32@3.4; framework: arduino)
Verbose mode can be enabled via
-v, --verbose
optionCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32doit-devkit-v1.html
PLATFORM: Espressif 32 (3.4.0) > DOIT ESP32 DEVKIT V1
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:
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 37 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 2.2.0
| |-- 1.0
| |-- 1.0.1
|-- 1.0.3
| |-- 1.0.1
|-- 1.9.1
|-- <TFT_eSPI> 2.4.25
| |-- 1.0
| | |-- 1.0
| |-- 1.0
| |-- 1.0
|-- 3.5.0
| |-- 1.0
|-- 0.7.5
|-- 1.1.1
| |-- 1.11.3
| | |-- 1.0.1
| | |-- 1.0
| |-- 1.0.1
| |-- 1.0
Building in release mode
Retrieving maximum program size .pio\build\view\firmware.elf
Checking size .pio\build\view\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [= ] 5.4% (used 17648 bytes from 327680 bytes)
Flash: [=== ] 27.3% (used 357434 bytes from 1310720 bytes)
Configuring upload protocol...
AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Auto-detected: COM6
Uploading .pio\build\view\firmware.bin
esptool.py v3.1
Serial port COM6
Connecting......
Chip is ESP32-PICO-D4 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 4c:75:25:a8:34:50
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x00067fff...
Compressed 17104 bytes to 11191...
Writing at 0x00001000... (100 %)
Wrote 17104 bytes (11191 compressed) at 0x00001000 in 0.5 seconds (effective 265.5 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 128...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.1 seconds (effective 428.9 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 664.2 kbit/s)...
Hash of data verified.
Compressed 357536 bytes to 190478...
Writing at 0x00010000... (8 %)
Writing at 0x00018fa4... (16 %)
Writing at 0x0002ae4c... (25 %)
Writing at 0x00031fba... (33 %)
Writing at 0x00037609... (41 %)
Writing at 0x0003ce26... (50 %)
Writing at 0x00043401... (58 %)
Writing at 0x0004bfda... (66 %)
Writing at 0x0005193c... (75 %)
Writing at 0x000579b5... (83 %)
Writing at 0x0005d835... (91 %)
Writing at 0x000635f9... (100 %)
Wrote 357536 bytes (190478 compressed) at 0x00010000 in 4.7 seconds (effective 608.0 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
=========================================== [SUCCESS] Took 15.55 seconds ===========================================
--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
Please build project in debug configuration to get more details about an exception.
See https://docs.platformio.org/page/projectconf/build_configurations.html
--- Miniterm on COM6 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x400f2040: ffff5755 ffffffff ffffffff
Core 1 register dump:
PC : 0x400f2044 PS : 0x00060230 A0 : 0x0000000d A1 : 0x3ffb8660
A2 : 0x00000021 A3 : 0x00000000 A4 : 0x0000001a A5 : 0x3ff49028
A6 : 0x0000001a A7 : 0x00000001 A8 : 0x00002a00 A9 : 0x00000a00
A10 : 0x0000000a A11 : 0x3ff000c4 A12 : 0x06ff1f78 A13 : 0x3ffb1f60
A14 : 0x3ffb8058 A15 : 0x00000001 SAR : 0x0000000e EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
ELF file SHA256: 0000000000000000
Backtrace: 0x400f2044:0x3ffb8660 0x0000000a:0x3ffb8690 0x400d5f67:0x3ffb86d0 0x400d3118:0x3ffb8700 0x400d2ced:0x3ffb8850 0x400883f2:0x3ffb8870
#0 0x400f2044:0x3ffb8660 in mcpwm_gpio_init at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/driver/mcpwm.c:699
#1 0x0000000a:0x3ffb8690 in ?? ??:0
#2 0x400d5f67:0x3ffb86d0 in BLDCDriver6PWM::init() at .pio/libdeps/view/Simple FOC@2.2.0/src/drivers/BLDCDriver6PWM.cpp:61
#3 0x400d3118:0x3ffb8700 in MotorTask::run() at src/motor_task.cpp:61
#4 0x400d2ced:0x3ffb8850 in Task::taskFunction(void*) at src/task.h:46
#5 0x400883f2:0x3ffb8870 in vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:355 (discriminator 1)
Rebooting...
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0xffffffff,len:-1
ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x400f2040: ffff5755 ffffffff ffffffff
Core 1 register dump:
PC : 0x400f2044 PS : 0x00060230 A0 : 0x0000000d A1 : 0x3ffb8660
A2 : 0x00000021 A3 : 0x00000000 A4 : 0x0000001a A5 : 0x3ff49028
A6 : 0x0000001a A7 : 0x00000001 A8 : 0x00002a00 A9 : 0x00000a00
A10 : 0x0000000a A11 : 0x3ff000c4 A12 : 0x06ff1f78 A13 : 0x3ffb1f60
A14 : 0x3ffb8058 A15 : 0x00000001 SAR : 0x0000000e EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
ELF file SHA256: 0000000000000000
Backtrace: 0x400f2044:0x3ffb8660 0x0000000a:0x3ffb8690 0x400d5f67:0x3ffb86d0 0x400d3118:0x3ffb8700 0x400d2ced:0x3ffb8850 0x400883f2:0x3ffb8870
#0 0x400f2044:0x3ffb8660 in mcpwm_gpio_init at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/driver/mcpwm.c:699
#1 0x0000000a:0x3ffb8690 in ?? ??:0
#2 0x400d5f67:0x3ffb86d0 in BLDCDriver6PWM::init() at .pio/libdeps/view/Simple FOC@2.2.0/src/drivers/BLDCDriver6PWM.cpp:61
#3 0x400d3118:0x3ffb8700 in MotorTask::run() at src/motor_task.cpp:61
#4 0x400d2ced:0x3ffb8850 in Task::taskFunction(void*) at src/task.h:46
#5 0x400883f2:0x3ffb8870 in vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:355 (discriminator 1)
Rebooting...
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0xffffffff,len:-1
ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x400f2040: ffff5755 ffffffff ffffffff
Core 1 register dump:
PC : 0x400f2044 PS : 0x00060230 A0 : 0x0000000d A1 : 0x3ffb8660
A2 : 0x00000021 A3 : 0x00000000 A4 : 0x0000001a A5 : 0x3ff49028
A6 : 0x0000001a A7 : 0x00000001 A8 : 0x00002a00 A9 : 0x00000a00
A10 : 0x0000000a A11 : 0x3ff000c4 A12 : 0x06ff1f78 A13 : 0x3ffb1f60
A14 : 0x3ffb8058 A15 : 0x00000001 SAR : 0x0000000e EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
ELF file SHA256: 0000000000000000
Backtrace: 0x400f2044:0x3ffb8660 0x0000000a:0x3ffb8690 0x400d5f67:0x3ffb86d0 0x400d3118:0x3ffb8700 0x400d2ced:0x3ffb8850 0x400883f2:0x3ffb8870
#0 0x400f2044:0x3ffb8660 in mcpwm_gpio_init at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/driver/mcpwm.c:699
#1 0x0000000a:0x3ffb8690 in ?? ??:0
#2 0x400d5f67:0x3ffb86d0 in BLDCDriver6PWM::init() at .pio/libdeps/view/Simple FOC@2.2.0/src/drivers/BLDCDriver6PWM.cpp:61
#3 0x400d3118:0x3ffb8700 in MotorTask::run() at src/motor_task.cpp:61
#4 0x400d2ced:0x3ffb8850 in Task::taskFunction(void*) at src/task.h:46
#5 0x400883f2:0x3ffb8870 in vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:355 (discriminator 1)
Rebooting...
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0xffffffff,len:-1
ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x400f2040: ffff5755 ffffffff ffffffff
Core 1 register dump:
PC : 0x400f2044 PS : 0x00060230 A0 : 0x0000000d A1 : 0x3ffb8660
A2 : 0x00000021 A3 : 0x00000000 A4 : 0x0000001a A5 : 0x3ff49028
A6 : 0x0000001a A7 : 0x00000001 A8 : 0x00002a00 A9 : 0x00000a00
A10 : 0x0000000a A11 : 0x3ff000c4 A12 : 0x06ff1f78 A13 : 0x3ffb1f60
A14 : 0x3ffb8058 A15 : 0x00000001 SAR : 0x0000000e EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
ELF file SHA256: 0000000000000000
Backtrace: 0x400f2044:0x3ffb8660 0x0000000a:0x3ffb8690 0x400d5f67:0x3ffb86d0 0x400d3118:0x3ffb8700 0x400d2ced:0x3ffb8850 0x400883f2:0x3ffb8870
#0 0x400f2044:0x3ffb8660 in mcpwm_gpio_init at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/driver/mcpwm.c:699
#1 0x0000000a:0x3ffb8690 in ?? ??:0
#2 0x400d5f67:0x3ffb86d0 in BLDCDriver6PWM::init() at .pio/libdeps/view/Simple FOC@2.2.0/src/drivers/BLDCDriver6PWM.cpp:61
#3 0x400d3118:0x3ffb8700 in MotorTask::run() at src/motor_task.cpp:61
#4 0x400d2ced:0x3ffb8850 in Task::taskFunction(void*) at src/task.h:46
#5 0x400883f2:0x3ffb8870 in vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:355 (discriminator 1)
Rebooting...
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0xffffffff,len:-1
ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x400f2040: ffff5755 ffffffff ffffffff
Core 1 register dump:
PC : 0x400f2044 PS : 0x00060230 A0 : 0x0000000d A1 : 0x3ffb8660
A2 : 0x00000021 A3 : 0x00000000 A4 : 0x0000001a A5 : 0x3ff49028
A6 : 0x0000001a A7 : 0x00000001 A8 : 0x00002a00 A9 : 0x00000a00
A10 : 0x0000000a A11 : 0x3ff000c4 A12 : 0x06ff1f78 A13 : 0x3ffb1f60
A14 : 0x3ffb8058 A15 : 0x00000001 SAR : 0x0000000e EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
ELF file SHA256: 0000000000000000
Backtrace: 0x400f2044:0x3ffb8660 0x0000000a:0x3ffb8690 0x400d5f67:0x3ffb86d0 0x400d3118:0x3ffb8700 0x400d2ced:0x3ffb8850 0x400883f2:0x3ffb8870
#0 0x400f2044:0x3ffb8660 in mcpwm_gpio_init at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/driver/mcpwm.c:699
#1 0x0000000a:0x3ffb8690 in ?? ??:0
#2 0x400d5f67:0x3ffb86d0 in BLDCDriver6PWM::init() at .pio/libdeps/view/Simple FOC@2.2.0/src/drivers/BLDCDriver6PWM.cpp:61
#3 0x400d3118:0x3ffb8700 in MotorTask::run() at src/motor_task.cpp:61
#4 0x400d2ced:0x3ffb8850 in Task::taskFunction(void*) at src/task.h:46
#5 0x400883f2:0x3ffb8870 in vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:355 (discriminator 1)
Rebooting...
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0xffffffff,len:-1
ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x400f2040: ffff5755 ffffffff ffffffff
Core 1 register dump:
PC : 0x400f2044 PS : 0x00060230 A0 : 0x0000000d A1 : 0x3ffb8660
A2 : 0x00000021 A3 : 0x00000000 A4 : 0x0000001a A5 : 0x3ff49028
A6 : 0x0000001a A7 : 0x00000001 A8 : 0x00002a00 A9 : 0x00000a00
A10 : 0x0000000a A11 : 0x3ff000c4 A12 : 0x06ff1f78 A13 : 0x3ffb1f60
A14 : 0x3ffb8058 A15 : 0x00000001 SAR : 0x0000000e EXCCAUSE: 0x00000000
EXCVADDR: 0x00000000 LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
ELF file SHA256: 0000000000000000
Backtrace: 0x400f2044:0x3ffb8660 0x0000000a:0x3ffb8690 0x400d5f67:0x3ffb86d0 0x400d3118:0x3ffb8700 0x400d2ced:0x3ffb8850 0x400883f2:0x3ffb8870
#0 0x400f2044:0x3ffb8660 in mcpwm_gpio_init at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/driver/mcpwm.c:699
#1 0x0000000a:0x3ffb8690 in ?? ??:0
#2 0x400d5f67:0x3ffb86d0 in BLDCDriver6PWM::init() at .pio/libdeps/view/Simple FOC@2.2.0/src/drivers/BLDCDriver6PWM.cpp:61
#3 0x400d3118:0x3ffb8700 in MotorTask::run() at src/motor_task.cpp:61
#4 0x400d2ced:0x3ffb8850 in Task::taskFunction(void*) at src/task.h:46
#5 0x400883f2:0x3ffb8870 in vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:355 (discriminator 1)
Rebooting...
ets Jun 8 2016 00:22:57
The text was updated successfully, but these errors were encountered: