Skip to main content
Associate II
Jul 10, 2025 12:18 PM UTC
Solved

Question about the speculative accesses

Following this post describing how to disable speculative accesses on external memories range (0x6000 0000 to 0xDFFF FFFF) on Cortex®-M7 processors, I'm wondering if such mechanism should be done to:

- memory regions marked as reserved:

Tahm_A_0-1752149286285.png

Source 

- DTCM / ITCM memory regions not mapped:

ITCM_AXI_SHARED[1:0] and DTCM_AXI_SHARED[1:0] can be used to change the memory allocation.

Tahm_A_2-1752149680768.png

 

 

 

This topic has been closed for replies.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
Jul 14, 2025 10:45 AM UTC

Hello,

You need to disable the speculative access especially for the address ranges related to the unused/non initialized external memories.

The MPU background settings provided in this post does the job. 

The bottle neck are the external memories. You can also read this post. 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.

1 reply

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
Jul 14, 2025 10:45 AM UTC

Hello,

You need to disable the speculative access especially for the address ranges related to the unused/non initialized external memories.

The MPU background settings provided in this post does the job. 

The bottle neck are the external memories. You can also read this post. 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.