This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MCU-PLUS-SDK-AM243X: Atomic variables on shared non-cached memory, LDREX causes data abort

Part Number: MCU-PLUS-SDK-AM243X

Hello,

we are using a shared memory section on AM243x. I have some use cases where I would need atomic variables on this shared non-cached memory.

I've seen that this is not possible as the core enters the data abort handler (HwiP_data_abort_handler_c()) as soon as for instance a ldrex instruction is called.

Is there any way to use atomics in shared memory or is the design in general wrong?

Kind regards