Add board WT32-SCO and WT32-SCO-Plus
See original GitHub issueDoes anyone know which board I can select as a work around?
I can compile and flash but esp_highmem_get_phys_size()
and esp_himem_get_free_size()
both crash when called.
esp_himem_get_phys_size();
esp_himem_get_free_size();
Results in
E (153) spiram: SPI RAM not initialized
abort() was called at PC 0x400df714 on core 0
Backtrace:0x40083671:0x3ffe3ae00x400892a1:0x3ffe3b00 0x4008df6d:0x3ffe3b20 0x400df714:0x3ffe3ba0 0x400df753:0x3ffe3bc0 0x400df63f:0x3ffe3be0 0x400db8f7:0x3ffe3c10 0x40082d8d:0x3ffe3c40 0x400792ba:0x3ffe3c90 |<-CORRUPTED
#0 0x40083671:0x3ffe3ae0 in panic_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c:402
#1 0x400892a1:0x3ffe3b00 in esp_system_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:128
#2 0x4008df6d:0x3ffe3b20 in abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/newlib/abort.c:46
#3 0x400df714:0x3ffe3ba0 in esp_spiram_get_chip_size at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_hw_support/port/esp32/spiram.c:145
(inlined by) esp_spiram_get_chip_size at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_hw_support/port/esp32/spiram.c:141
#4 0x400df753:0x3ffe3bc0 in esp_spiram_get_size at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_hw_support/port/esp32/spiram.c:240
#5 0x400df63f:0x3ffe3be0 in esp_himem_init at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_hw_support/port/esp32/esp_himem.c:134
#6 0x400db8f7:0x3ffe3c10 in do_global_ctors at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/startup.c:185
(inlined by) start_cpu0_default at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/startup.c:404
#7 0x40082d8d:0x3ffe3c40 in call_start_cpu0 at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/port/cpu_start.c:648
#8 0x400792ba:0x3ffe3c90 in ?? ??:0
Issue Analytics
- State:
- Created 9 months ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@zackees And ESP-IDF himem sample is here https://github.com/espressif/esp-idf/tree/release/v5.0/examples/system/himem
The internet reports that people are accessing the upper 4mb psram through high mem bank switching. At the very least calling this function should not crash the system.