Porting WROOM to WROVER

brewmstr
Posts: 2
Joined: Sun Jan 19, 2020 5:09 pm

Porting WROOM to WROVER

Postby brewmstr » Sun Jan 19, 2020 5:16 pm

I have an application that runs fine on a WROOM+external PSRAM. I've moved it to the WROVER and made the appropriate changes to CS & CLK for the WROVER PSRAM. On boot, the PSRAM memory test passes.

I'm seeing a variety of crashes, mostly in the LWiP thread. Things like trying to receive off an initialized queue, other memory related issues (pointers set to ffff ffff), etc.

Is there a porting guide for moving an app from WROOM to WROVER? I'm clearly missing something :? Does anyone have any pointers.

Most recent results: (make monitor)

App running, getting ready to start WiFi .....

Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x40096823 PS : 0x00060233 A0 : 0x80083c74 A1 : 0x3ffaf2e0
0x40096823: is_free at /.../esp-idf/components/heap/multi_heap.c:380
(inlined by) multi_heap_malloc_impl at /...esp-idf/components/heap/multi_heap.c:432

A2 : 0x3f8048b0 A3 : 0x00000008 A4 : 0x00000000 A5 : 0x3ffe2e2c
A6 : 0x3ffb412c A7 : 0xff000000 A8 : 0x800967ed A9 : 0xffff4e00
A10 : 0x3f8048c0 A11 : 0x00000000 A12 : 0x3f8048c4 A13 : 0x00000000
A14 : 0xffffffff A15 : 0x00000001 SAR : 0x00000000 EXCCAUSE: 0x0000001c
EXCVADDR: 0xffff4e00 LBEG : 0x4008e768 LEND : 0x4008e796 LCOUNT : 0xffffffff
0x4008e768: memcpy at /home/jeroen/esp8266/esp32/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/machine/xtensa/../../../../.././newlib/libc/machine/xtensa/memcpy.S:168

0x4008e796: memcpy at /home/jeroen/esp8266/esp32/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/machine/xtensa/../../../../.././newlib/libc/machine/xtensa/memcpy.S:201


ELF file SHA256: 14e5401dc14c76e6977431b7764f61e0858cd92cde1a0f74e8c69c46388bd295

Backtrace: 0x40096823:0x3ffaf2e0 0x40083c71:0x3ffaf300 0x40083d45:0x3ffaf320 0x40086215:0x3ffaf370 0x401a582a:0x3ffaf390 0x400d3844:0x3ffaf3b0 0x400d38ab:0x3ffaf3d0 0x40092b2d:0x3ffaf3f0
0x40096823: is_free at /...esp-idf/components/heap/multi_heap.c:380
(inlined by) multi_heap_malloc_impl at /...esp-idf/components/heap/multi_heap.c:432

0x40083c71: heap_caps_malloc at /...esp-idf/components/heap/heap_caps.c:111

0x40083d45: heap_caps_malloc_prefer at /...esp-idf/components/heap/heap_caps.c:189 (discriminator 7)

0x40086215: wifi_malloc at /.../esp-idf/components/esp32/esp_adapter.c:262

0x401a582a: lmac_stop_hw_txq at ??:?

0x400d3844: timer_process_alarm at /.../esp-idf/components/esp32/esp_timer.c:443

0x400d38ab: timer_task at /.../esp-idf/components/esp32/esp_timer.c:443

0x40092b2d: vPortTaskWrapper at /.../esp-idf/components/freertos/port.c:403


CPU halted.

Who is online

Users browsing this forum: abbas1375 and 89 guests