Open Shreyas-ITB opened 2 years ago
the restart monitor log is like this:
ELF file SHA256: e53baac32335d9b6
Rebooting...
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, 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:0x3fff0030,len:5660
ho 0 tail 12 room 4
load:0x40078000,len:14884
load:0x40080400,len:3736
entry 0x40080674
[0;32mI (29) boot: ESP-IDF 4.4.2 2nd stage bootloader[0m
[0;32mI (29) boot: compile time 20:05:53[0m
[0;32mI (29) boot: chip revision: 3[0m
[0;32mI (32) boot_comm: chip revision: 3, min. bootloader chip revision: 0[0m
[0;32mI (39) boot.esp32: SPI Speed : 40MHz[0m
[0;32mI (43) boot.esp32: SPI Mode : DIO[0m
[0;32mI (48) boot.esp32: SPI Flash Size : 4MB[0m
[0;32mI (53) boot: Enabling RNG early entropy source...[0m
[0;32mI (58) boot: Partition Table:[0m
[0;32mI (62) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (69) boot: 0 nvs WiFi data 01 02 00009000 00006000[0m
[0;32mI (76) boot: 1 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (84) boot: 2 factory factory app 00 00 00010000 00100000[0m
[0;32mI (91) boot: End of partition table[0m
[0;32mI (95) boot_comm: chip revision: 3, min. application chip revision: 0[0m
[0;32mI (103) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=0ae00h ( 44544) map[0m
[0;32mI (128) esp_image: segment 1: paddr=0001ae28 vaddr=3ffb0000 size=01c3ch ( 7228) load[0m
[0;32mI (131) esp_image: segment 2: paddr=0001ca6c vaddr=40080000 size=035ach ( 13740) load[0m
[0;32mI (140) esp_image: segment 3: paddr=00020020 vaddr=400d0020 size=440c8h (278728) map[0m
[0;32mI (248) esp_image: segment 4: paddr=000640f0 vaddr=400835ac size=0ca80h ( 51840) load[0m
[0;32mI (271) esp_image: segment 5: paddr=00070b78 vaddr=50000000 size=00010h ( 16) load[0m
[0;32mI (279) boot: Loaded app from partition at offset 0x10000[0m
[0;32mI (279) boot: Disabling RNG early entropy source...[0m
[0;32mI (291) psram: This chip is ESP32-D0WD[0m
[0;31mE (291) psram: PSRAM ID read error: 0xffffffff[0m
[0;31mE (291) cpu_start: Failed to init external RAM![0m
abort() was called at PC 0x40082250 on core 0
Backtrace:0x40082a81:0x3ffe3ba00x40089f81:0x3ffe3bc0 0x4008eb85:0x3ffe3be0 0x40082250:0x3ffe3c50 0x40079481:0x3ffe3c80 |<-CORRUPTED
and also im using esp32 wrover module
and the platform.ini config file is like this
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter, extra scripting
; Upload options: custom port, speed and extra flags
; Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html
[platformio]
default_envs = native
[env:esp32]
platform = espressif32
board = esp-wrover-kit
framework = espidf
build_flags = -DCONFIG_VERSION=\"2018-09-23\" -std=c++11 -D_GNU_SOURCE -Wall -O3 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -MMD -DCONFIG_RISCV_MAX_XLEN=32 -DESP32 -DTERMIWIN_DONOTREDEFINE -D_POSIX_C_SOURCE -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
[env:esp32s3]
platform = espressif32
board = esp32-s3-devkitc-1 ; (prod code: D3N8R8) WROOM-1 with 8MB Quad Flash, 8MB Octal SPIRAM
framework = espidf ; change flash/spiram settings in menuconfig if necessary
build_flags = -DCONFIG_VERSION=\"2018-09-23\" -std=c++11 -D_GNU_SOURCE -Wall -O3 -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -MMD -DCONFIG_RISCV_MAX_XLEN=32 -DESP32 -DESP32S3 -DTERMIWIN_DONOTREDEFINE -D_POSIX_C_SOURCE -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
[env:native]
platform = native
build_flags = -std=c++11 -Dtrue=1 -DCONFIG_VERSION=\"2018-09-23\" -D_GNU_SOURCE -O3 -Wall -g -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE -D_LARGEFILE_SOURCE -MMD -DCONFIG_RISCV_MAX_XLEN=32 -lws2_32 -lwsock32 -DTERMIWIN_DONOTREDEFINE -Wl,--start-group
[env:nativelinux]
platform = native
build_flags = -std=c++11 -Dtrue=1 -DCONFIG_VERSION=\"2018-09-23\" -D_GNU_SOURCE -O0 -Wall -g -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE -D_LARGEFILE_SOURCE -MMD -DCONFIG_RISCV_MAX_XLEN=32 -DTERMIWIN_DONOTREDEFINE
[env:nativelinux32]
platform = native
build_flags = -m32 -std=c++11 -Dtrue=1 -DCONFIG_VERSION=\"2018-09-23\" -D_GNU_SOURCE -O3 -Wall -g -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE -D_LARGEFILE_SOURCE -MMD -DCONFIG_RISCV_MAX_XLEN=32 -DTERMIWIN_DONOTREDEFINE
extra_scripts = scripts/build32.py
[env:native32]
platform = native
build_flags = -m32 -std=c++11 -Dtrue=1 -DCONFIG_VERSION=\"2018-09-23\" -D_GNU_SOURCE -O3 -Wall -Wextra -Wshadow -Wdouble-promotion -Wformat=2 -Wformat-truncation -Wundef -fno-short-enums -fno-common -g -D_FILE_OFFSET_BITS=64 -D_POSIX_C_SOURCE -D_LARGEFILE_SOURCE -MMD -DCONFIG_RISCV_MAX_XLEN=32 -lws2_32 -lwsock32 -DTERMIWIN_DONOTREDEFINE -Wl,--as-needed
extra_scripts = scripts/build32.py
Does the esp board need an SDCard?