Open vangalvin opened 5 years ago
@vangalvin Thanks for reporting the issue, would you help provide the ELF file of the bin file which is programmed? Thanks.
esp32hotspot-elf.zip Hopefully these are the correct ones :)
@vangalvin Thanks for reporting the issue, would you help provide the ELF file of the bin file which is programmed? Thanks.
I have tested the code on an ESP32-WROOM-32 and works fine however the intended target is a PICO-D4. Any sugestions would be appreciated as to what I have done wrong or if i need to change a setting for compatibility
Hi @vangalvin,
One of suggestions is to check usage of GPIO16 and GPIO17. These pins are available on ESP32-WROOM-32 but used for connecting the embedded flash in ESP32-PICO-D4. I see some GPIOs initialized early in this code but not exact numbers to tell if this may be the issue.
Yes Checked the pinout and GPIO16 and GPIO17 are being used for FLASH_CS and FLASH_SD0
----------------------------- Delete below -----------------------------
If your issue is a general question, starts similar to "How do I..", or is related to 3rd party development kits/libs, please discuss this on our community forum at esp32.com instead.
INSTRUCTIONS
Before submitting a new issue, please follow the checklist and try to find the answer.
If the issue cannot be solved after the steps before, please follow these instructions so we can get the needed information to help you in a quick and effective fashion.
----------------------------- Delete above -----------------------------
Environment
git describe --tags
to find it): // v3.2-dev-1148-g96cd3b75cxtensa-esp32-elf-gcc --version
to find it): // 1.22.0-80-g6c4433aProblem Description
I have tested the code on an ESP32-WROOM-32 and works fine however the intended target is a PICO-D4. I am getting the following error imediatly upon startup.
`ets Jun 8 2016 00:22:57
rst:0x9 (RTCWDT_SYS_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:6248 load:0x40078000,len:10272 ho 0 tail 12 room 4 load:0x40080400,len:6608 entry 0x40080764 W (63) boot: PRO CPU has been reset by WDT. W (63) boot: WDT reset info: PRO CPU PC=0x400621ce W (63) boot: WDT reset info: APP CPU PC=0xbf43c4ca I (69) boot: ESP-IDF v3.2.2-42-g4a9f33944 2nd stage bootloader I (76) boot: compile time 10:38:12 I (80) boot: Enabling RNG early entropy source... I (85) boot: SPI Speed : 40MHz I (89) boot: SPI Mode : DIO I (93) boot: SPI Flash Size : 4MB I (97) boot: Partition Table: I (101) boot: ## Label Usage Type ST Offset Length I (108) boot: 0 nvs WiFi data 01 02 00009000 00004000 I (116) boot: 1 otadata OTA data 01 00 0000d000 00002000 I (123) boot: 2 phy_init RF data 01 01 0000f000 00001000 I (131) boot: 3 factory factory app 00 00 00010000 00140000 I (138) boot: 4 ota_0 OTA app 00 10 00150000 00140000 I (146) boot: 5 ota_1 OTA app 00 11 00290000 00140000 I (154) boot: 6 coredump Unknown data 01 03 003d0000 00010000 I (161) boot: 7 reserved Unknown data 01 fe 003e0000 00020000 I (169) boot: End of partition table I (173) boot: Defaulting to factory image I (178) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x217b0 (137136) map I (235) esp_image: segment 1: paddr=0x000317d8 vaddr=0x3ffb0000 size=0x02bb0 ( 11184) load I (239) esp_image: segment 2: paddr=0x00034390 vaddr=0x40080000 size=0x00400 ( 1024) load I (242) esp_image: segment 3: paddr=0x00034798 vaddr=0x40080400 size=0x0b878 ( 47224) load I (270) esp_image: segment 4: paddr=0x00040018 vaddr=0x400d0018 size=0x9c368 (639848) map I (494) esp_image: segment 5: paddr=0x000dc388 vaddr=0x4008bc78 size=0x04f1c ( 20252) load I (513) boot: Loaded app from partition at offset 0x10000 I (513) boot: Disabling RNG early entropy source... I (513) cpu_start: Pro cpu up. I (517) cpu_start: Single core mode I (521) heap_init: Initializing. RAM available for dynamic allocation: I (528) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (534) heap_init: At 3FFB9988 len 00026678 (153 KiB): DRAM I (541) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM I (547) heap_init: At 40078000 len 00008000 (32 KiB): IRAM I (553) heap_init: At 40090B94 len 0000F46C (61 KiB): IRAM I (559) cpu_start: Pro cpu start user code I (242) cpu_start: Starting scheduler on PRO CPU. Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. Core 0 register dump: PC : 0x400f0bbf PS : 0x00060030 A0 : 0x800d409d A1 : 0x3ffbd800
A2 : 0x000000c6 A3 : 0x3f41fb10 A4 : 0x00000011 A5 : 0xffffffff
A6 : 0xffffffff A7 : 0x000000c7 A8 : 0x800f0bb1 A9 : 0x3ff49050
A10 : 0x3ff44570 A11 : 0x000000c6 A12 : 0x0ffd114c A13 : 0x00000000
A14 : 0x7fffffff A15 : 0x00000000 SAR : 0x00000010 EXCCAUSE: 0x0000001c
EXCVADDR: 0x800d409d LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000
Backtrace: 0x400f0bbf:0x3ffbd800 0x400d409a:0x3ffbd830 0x400881f9:0x3ffbd880`
Expected Behavior
Any sugestions would be appreciated as to what I have done wrong or if i need to change a setting for compatibility
Actual Behavior
Steps to repropduce
// It helps if you attach a picture of your setup/wiring here.
Code to reproduce this issue
I am using the esp32mesh example with a couple of really minor changes
// If your code is longer than 30 lines, GIST is preferred.
Debug Logs
Other items if possible
build
folder (note this may contain all the code details and symbols of your project.)