在用J-Link 和 AXD調(diào)試使出現(xiàn)“Software interrupt (SWI) 0x0 occured ”解決辦法。
1、因為AXD中Configure Processor中把Semihosting mode項不要打勾,另外把J-link中的設置把CPU 和 Flash項設置正確就可以了。設置好后,在SRAM 和 Flash中都可以進行中斷仿真了
2、Semihosting 這一項不要選中,或者程序中加入IMPORT __use_no_semihosting_swi 。
歡迎光臨 (http://www.torrancerestoration.com/bbs/) | Powered by Discuz! X3.1 |