Page 1 of 1

ESP32 different mappings for PRO/APP cpus

Posted: Mon Aug 26, 2024 6:05 am
by yamamoto
hi,

reading the ESP32 technical reference manual,
it seems that the MMU for the external memory can be programmed
to use different virt-to-phys mappings for CPUs. (26.3.2.2)
am i reading it correctly?

if so, is it expected to actually work?
ie. is there any software using the feature?
i'm wondering because it seems that ESP-IDF always uses the identical mappings for both CPUs.
https://github.com/espressif/esp-idf/bl ... #L402-L414

i'm interested in spi ram more than spi flash, if it matters.

Re: ESP32 different mappings for PRO/APP cpus

Posted: Tue Aug 27, 2024 7:51 am
by ESP_Sprite
Yes, you can, but I don't think ESP-IDF has any real support for it.

Re: ESP32 different mappings for PRO/APP cpus

Posted: Wed Aug 28, 2024 12:22 pm
by yamamoto
thank you.

i confirmed at least trivial cases works with modified nuttx.