Search found 5 matches

by bembite
Fri Jul 16, 2021 12:39 pm
Forum: ESP-IDF
Topic: XIP: Need help with enabling execute in place in esp-idf
Replies: 6
Views: 5189

Re: XIP: Need help with enabling execute in place in esp-idf

"cannot use" Define "cannot use"? If you mean the PSRAM that sits on the same bus in e.g. the Wrover modules; it's accessed via the same mechanism XIP uses so outside of the times you need to do something bypassing that mechanism (specifically flash erases and writes, in which case most code is sus...
by bembite
Tue Jul 06, 2021 8:38 am
Forum: ESP-IDF
Topic: XIP: Need help with enabling execute in place in esp-idf
Replies: 6
Views: 5189

Re: XIP: Need help with enabling execute in place in esp-idf

Well, if you build your program using esp-idf, it always uses XIP for most of the code because otherwise most programs wouldn't fit in memory. But if you want specifics, run 'idf.py size', the part where it says 'flash code' will be executed as XIP. (Something similar goes for 'flash data' but it's...
by bembite
Mon Jul 05, 2021 8:44 am
Forum: ESP-IDF
Topic: XIP: Need help with enabling execute in place in esp-idf
Replies: 6
Views: 5189

Re: XIP: Need help with enabling execute in place in esp-idf

ESP_Sprite wrote:
Sun Jul 04, 2021 2:04 pm
ESP-IDF already uses XIP for the large majority of the code generated. Is there anything specific that you want to achieve with this?
Thank you for replying. How to detect that XIP is enabled?
by bembite
Sun Jul 04, 2021 8:40 am
Forum: ESP-IDF
Topic: XIP: Need help with enabling execute in place in esp-idf
Replies: 6
Views: 5189

XIP: Need help with enabling execute in place in esp-idf

Hello. I have seen that esp32 support XIP ( https://open4tech.com/execute-place-xip-memory-model/ ). And I also found that some changes to the linker script can enable it ( https://github.com/zephyrproject-rtos/zephyr/pull/30424 as it was done here). I am interested how to do this with esp-idf. Mayb...
by bembite
Tue Mar 02, 2021 3:51 pm
Forum: ESP-IDF
Topic: ILI9341 -> SPI is very slow
Replies: 3
Views: 5405

Re: ILI9341 -> SPI is very slow

I have ported custom graphic library for lcd displays on esp32, I am using hw spi as in the example provided with esp-idf. The speed(not freq) of filling screen is super low. I tried 26MHz and 10MHz config, the esp32 seems to be the slowest mcu I tried for my lib. Can't figure out what is happening!