Hello,
It is highly recommended to use exclusive access instructions (LDREX/STREX), which provide
a foundation for implementing semaphores in systems with Arm-based processors.
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dht0008a/ch01s02s01.html
Systems that support exclusive operations include hardware state machines called exclusive
monitors to track the state of exclusive accesses in the system.
Also, please look at ERR003733 (ARM: 751480 Conditional failed LDREXcc can set the exclusive monitor)
of the i.MX6 Errata.
https://www.nxp.com/docs/en/errata/IMX6DQCE.pdf
Have a great day,
Yuri
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------