ddk2006 发表于 2011-9-11 19:04:51

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

ddk2006 发表于 2011-9-15 13:13:40

怎么没有人回啊

aprogramer 发表于 2011-9-17 21:27:47

能否再多帖些相关代码?
页: [1]
查看完整版本: UCOSII 死循环