tag 标签: swi

相关博文
  • 热度 20
    2012-10-10 00:13
    2069 次阅读|
    0 个评论
    使用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, 这三句前面不能有分号,即不能被屏蔽掉。 原因不是很清楚,所以想要弄明白的自己去探索吧。。。 我就不误人子弟了!                                                                 2012-10-10
相关资源
  • 所需E币: 3
    时间: 2019-12-25 12:51
    大小: 696.24KB
    上传者: 二不过三
    基于ARM处理器的Semihosting实现InformationQuarterly[25]Number1,Spring2005IDSemihostingOperationTypeSystemCalls0x01SYS_OPENint_sys_read(FILEHANDLEfh,unsignedchar*buf,unsignedlen,intmode)0x02SYS_CLOSEint_sys_close(FILEHANDLEfh)0x03SYS_WRITEC0x04SYS_WRITE00x05SYS_WRITEint_sys_write(FILEHANDLEfh,constunsignedchar*buf,unsignedlen,intmode)0x06SYS_READint_sys_read(FILEHANDLEfh,unsignedchar*buf,unsignedlen,intmode)0x07SYS_READC0x08SYS_ISERROR0x09SYS_ISTTYint_sys_istty(FILE*f)0x0ASYS_SEEK……
  • 所需E币: 3
    时间: 2019-12-25 10:35
    大小: 246.24KB
    上传者: 978461154_qq
    异常中断处理……