This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Store data directly in RAM - ARM Cortex A53

Hi everyone,

for research reasons I'm working on the Cortex-A53 processor but I'm a bit confused about some aspects concerning RAM

My software needs to perform several writes to RAM, bypassing the store buffer and cache.

My first question is: how can I force writing directly to RAM? I thought about setting a range of addresses as NON-CACHEABLE but I did not understand how to do it.


The second question is: if I do two consecutive stores in the same address, both data arrive in RAM or the store buffer "blocks" it? is there a way to force the store buffer to "commit" the result after every single store? I read about the DSB and DMB instructions, but I'm not sure it's what I'm looking fo

Thanks for your help

Parents
  • To your first question, you need to set up your MMU to configure such memory region with non-cacheable attribute.

    To your second question, yes, you can add DMB between these two stores to force each store is sent out

Reply
  • To your first question, you need to set up your MMU to configure such memory region with non-cacheable attribute.

    To your second question, yes, you can add DMB between these two stores to force each store is sent out

Children