我使用的开发板是EVMK2H,在使用自旋锁时候会发现一直处于死锁状态,仿真器调试发现,无论我内存单元中的值是多少,执行
LDREX R2, [R0] ;R0为内存单元地址
R2读取到的值始终为0,请问在使用LDREX指令之前还需要做什么配置吗?
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.
我使用的开发板是EVMK2H,在使用自旋锁时候会发现一直处于死锁状态,仿真器调试发现,无论我内存单元中的值是多少,执行
LDREX R2, [R0] ;R0为内存单元地址
R2读取到的值始终为0,请问在使用LDREX指令之前还需要做什么配置吗?
参考
https://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/289203