ESP32 different mappings for PRO/APP cpus

yamamoto
Posts: 6
Joined: Mon Aug 26, 2024 5:34 am

ESP32 different mappings for PRO/APP cpus

Postby yamamoto » Mon Aug 26, 2024 6:05 am

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.

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 different mappings for PRO/APP cpus

Postby ESP_Sprite » Tue Aug 27, 2024 7:51 am

Yes, you can, but I don't think ESP-IDF has any real support for it.

yamamoto
Posts: 6
Joined: Mon Aug 26, 2024 5:34 am

Re: ESP32 different mappings for PRO/APP cpus

Postby yamamoto » Wed Aug 28, 2024 12:22 pm

thank you.

i confirmed at least trivial cases works with modified nuttx.

Who is online

Users browsing this forum: No registered users and 211 guests