编译没有问题,但是下载仿真的时候出现错误
Wed Aug 05 09:14:00 2009: Loaded macro file: C:\Program Files\IAR Systems\Embedded Workbench 5.0 Evaluation\ARM\config\flashloader\ST\FlashSTM32F10**.mac
Wed Aug 05 09:14:00 2009: DLL version: V4.6b, compiled Jun 12 2009 13:25:42
Wed Aug 05 09:14:00 2009: Firmware: J-Link ARM V6 compiled May 27 2009 17:26:00
Wed Aug 05 09:14:00 2009: JTAG speed is initially set to: 5 kHz
Wed Aug 05 09:14:00 2009: TotalIRLen = 9, IRPrint = 0x0011
Wed Aug 05 09:14:01 2009: Found Cortex-M3 r1p1, Little endian.
Wed Aug 05 09:14:01 2009: TPIU fitted.
Wed Aug 05 09:14:01 2009: FPUnit: 6 code (BP) slots and 2 literal slots
Wed Aug 05 09:14:01 2009: SYSRESETREQ has confused core. Trying to reconnect and use VECTRESET.
Wed Aug 05 09:14:04 2009: CPU did not halt, trying to disable WDT.
Wed Aug 05 09:14:04 2009: Core did not halt after reset, trying to disable WDT.
Wed Aug 05 09:14:07 2009: CPU did not halt, trying to disable WDT.
Wed Aug 05 09:16:55 2009: Fatal error: Bad JTAG communication: Write to IR: Expected 0x1, got 0xd (TAP Command : 14) @ Off 0x5.
Wrong AHB ID (15:3). Expected 0x04770001 (Mask 0x0FFFFF0F), Found 0x00000000
Session aborted!
Wed Aug 05 09:21:40 2009: Failed to load flash loader: C:\Program Files\IAR Systems\Embedded Workbench 5.0 Evaluation\ARM\config\flashloader\ST\FlashSTM32F10**RAM16K.out