0
bbebmsa

RTL9710_DEBUG_V1.0 已经用DAP_FW_Ameba_V10_2_3-2M 固件升级。
使用SDK默认的IAR样例 D:\temp\sdk-ameba1-v3.4b3_without_NDA\project\realtek_ameba1_va0_example\EWARM-RELEASE\Project.eww

使用IAR IDE中的download and debug时出现错误。请问是什么原因?

IAR IDE中已经将 3.4b3_patch_iar7.7_v01.zip 中的相关文件添加到相关目录中。

 

==================================

Thu Mar 09, 2017 17:47:48: IAR Embedded Workbench 7.80.4 (armproc.dll)
Thu Mar 09, 2017 17:47:48: Loaded macro file: D:\temp\sdk-ameba1-v3.4b3_without_NDA\project\realtek_ameba1_va0_example\EWARM-RELEASE\..\..\..\component\soc\realtek\8195a\misc\iar_utility\common\
flashloader\FlashRTL8195aMP.mac
Thu Mar 09, 2017 17:47:48: Loading the CMSIS-DAP driver
Thu Mar 09, 2017 17:47:48: Probe: CMSIS-DAP probe SW module ver 1.12
Thu Mar 09, 2017 17:47:48: CMSIS-DAP enumerator: No access to device S/N.
Thu Mar 09, 2017 17:47:48: Probe: CMSIS-DAP S/N '' mapped to a number 00001.
Thu Mar 09, 2017 17:47:48: EARM v.4.14
Thu Mar 09, 2017 17:47:48: Emulation layer version 4.14
Thu Mar 09, 2017 17:47:48: Notification to core-connect hookup.
Thu Mar 09, 2017 17:47:48: Probe: ConnectSpec='MBED CMSIS-DAP::7-774AD33-0-0000'.
Thu Mar 09, 2017 17:47:49: Connecting to TAP#0 DAP AHB-AP-CM port 0 (IDR=0x24770011).
Thu Mar 09, 2017 17:47:49: Recognized CPUID=0x412fc231 Cortex-M3 r2p1 arch ARMv7-M
Thu Mar 09, 2017 17:47:49: Debug resources: 6 instruction comparators, 4 data watchpoints.
Thu Mar 09, 2017 17:47:49: CPU status OK
Thu Mar 09, 2017 17:47:49: LowLevelReset(system, delay 200)
Thu Mar 09, 2017 17:47:49: CPU status - IN RESET
Thu Mar 09, 2017 17:47:49: CPU status OK
Thu Mar 09, 2017 17:47:49: ----- Prepare hardware for Flashloader -----
Thu Mar 09, 2017 17:47:50: 0x40000014=00000011
Thu Mar 09, 2017 17:47:51: Loaded debugee: D:\temp\sdk-ameba1-v3.4b3_without_NDA\project\realtek_ameba1_va0_example\EWARM-RELEASE\..\..\..\component\soc\realtek\8195a\misc\iar_utility\common\
flashloader\FlashRTL8195aMP.out
Thu Mar 09, 2017 17:47:52: Target reset
Thu Mar 09, 2017 17:47:54: Unloaded macro file: D:\temp\sdk-ameba1-v3.4b3_without_NDA\project\realtek_ameba1_va0_example\EWARM-RELEASE\..\..\..\component\soc\realtek\8195a\misc\iar_utility\common\
flashloader\FlashRTL8195aMP.mac
Thu Mar 09, 2017 17:47:54: Loaded macro file: D:\temp\sdk-ameba1-v3.4b3_without_NDA\project\realtek_ameba1_va0_example\EWARM-RELEASE\..\..\..\component\soc\realtek\8195a\misc\iar_utility\common\
flashloader\FlashRTL8195aMP.mac
Thu Mar 09, 2017 17:47:54: ----- Prepare hardware for Flashloader -----
Thu Mar 09, 2017 17:47:55: 0x40000014=00000021
Thu Mar 09, 2017 17:47:56: Loaded debugee: D:\temp\sdk-ameba1-v3.4b3_without_NDA\project\realtek_ameba1_va0_example\EWARM-RELEASE\..\..\..\component\soc\realtek\8195a\misc\iar_utility\common\
flashloader\FlashRTL8195aMP.out
Thu Mar 09, 2017 17:47:56: Target reset
Thu Mar 09, 2017 17:48:17: Unloaded macro file: D:\temp\sdk-ameba1-v3.4b3_without_NDA\project\realtek_ameba1_va0_example\EWARM-RELEASE\..\..\..\component\soc\realtek\8195a\misc\iar_utility\common\
flashloader\FlashRTL8195aMP.mac
Thu Mar 09, 2017 17:48:17: Downloaded D:\temp\sdk-ameba1-v3.4b3_without_NDA\project\realtek_ameba1_va0_example\EWARM-RELEASE\Debug\Exe\application.axf to flash memory.
Thu Mar 09, 2017 17:48:17: Loaded macro file: D:\temp\sdk-ameba1-v3.4b3_without_NDA\project\realtek_ameba1_va0_example\EWARM-RELEASE\..\..\..\component\soc\realtek\8195a\misc\iar_utility\common\
preload.mac
Thu Mar 09, 2017 17:48:18: Loaded macro file: D:\temp\sdk-ameba1-v3.4b3_without_NDA\project\realtek_ameba1_va0_example\EWARM-RELEASE\..\..\..\component\soc\realtek\8195a\misc\iar_utility\common\dram\
common.mac
Thu Mar 09, 2017 17:48:18: User Preload....
Thu Mar 09, 2017 17:48:18: driver type CMSIS-DAP or I-JET
Thu Mar 09, 2017 17:48:18: Loaded macro file: D:\temp\sdk-ameba1-v3.4b3_without_NDA\project\realtek_ameba1_va0_example\EWARM-RELEASE\..\..\..\component\soc\realtek\8195a\misc\iar_utility\common\dram\
EM6A6165TS_7G.mac
Thu Mar 09, 2017 17:48:25: ELF/DWARF Error: Unexpected exception
Thu Mar 09, 2017 17:48:26: Failed to load debugee: D:\temp\sdk-ameba1-v3.4b3_without_NDA\project\realtek_ameba1_va0_example\EWARM-RELEASE\Debug\Exe\application.axf
Thu Mar 09, 2017 17:48:26: IAR Embedded Workbench 7.80.4 (armproc.dll)
Thu Mar 09, 2017 17:48:26: Loading the CMSIS-DAP driver

sean 回答了