原创 J-Link RDI V4.08k Warning

2012-10-10 00:13 2075 20 20 分类: 消费电子

使用ADS1.2和JLink调试LPC2136时出现了以下提示信息:

 

---------------------------
J-Link RDI V4.08k Warning
---------------------------
Software interrupt (SWI) 0xFFFFEF occured in ARM mode @ address 0x4000009C.

This SWI is not used for semihosting, but causes the CPU core to be halted.
Do you want the core to be automatically restarted when this happens ?

NOTE:
Clicking on 'yes' will prevent this message from popping up, but the core will still be halted every
time. If your application requires semihosting as well as having its own SWI handler, you should set
the semihosting vector to an address in your SWI handler. This address must point to an instruction
that is only executed if your SWI handler has identified a call to a semihosting SWI. All registers
must already have been restored to whatever values they had on entry to your SWI handler.

For more information on semihosting and SWIs, please refer to the ARM ADS debug target guide.
---------------------------
是(Y)   否(N)   取消  
---------------------------
经排查,是Startup.s文件中的问题:
  LDR  R2,=MEMMAP    ; REMAP操作     
  MOV  R1,#0x02
  STR  R1,[R2]
这三句前面不能有分号,即不能被屏蔽掉。

20121010000856407002.jpg
20121010000858225003.jpg
原因不是很清楚,所以想要弄明白的自己去探索吧。。。
我就不误人子弟了!
                                                                2012-10-10

文章评论0条评论)

登录后参与讨论
我要评论
0
20
关闭 站长推荐上一条 /2 下一条