What are the requirements for using atomic operations on the BL702?
I get an AMO access fault exception if I try to use AMO instructions (RISC-V 'A'-extension) on a variable in RAM.
amoor a1, a2, (a3)
I have tested a few different random values for a3 in the ranges 0x22008000-0x22028000 and 0x42008000-0x42028000 but nothing seems to work.
If I set a3=0x02004000 (mtimecmp) it works without trapping.