UCOSII 死循环
下载了STR710 keik 工程的ucosii,但是在板子上跑的时候却发现程序跑进下面的程序就出不来了,请大侠指点用的是MDK3.5 Jlink v6 芯片是STR711
OS_CPU_SR_Save
MRS R0,CPSR ; Set IRQ and FIQ bits in CPSR to disable all interrupts
ORR R1,R0,#NO_INT
MSR CPSR_c,R1
MRS R1,CPSR ; Confirm that CPSR contains the proper interrupt disable flags
AND R1,R1,#NO_INT
CMP R1,#NO_INT
BNE OS_CPU_SR_Save ; Not properly disabled (try again)
BX LR 怎么没有人回啊 能否再多帖些相关代码?
页:
[1]