7 years, 9 months ago.

IAR STM32F103C8 with ST-Link Download CPU abort error

Hi,

if i try to download my program via IAR and ST-Link to my STM32F103C8 Board i get this error in IAR:

Sat Jul 23, 2016 10:45:33: IAR Embedded Workbench 7.70.1 (armproc.dll) Sat Jul 23, 2016 10:45:33: Loaded macro file: E:\Programme\IARWorkbench_STM32\arm\config\debugger\ST\STM32F1xx_XL.dmac Sat Jul 23, 2016 10:45:33: Loaded macro file: E:\Programme\IARWorkbench_STM32\arm\config\flashloader\ST\FlashSTM32F10xxx.mac Sat Jul 23, 2016 10:45:35: Connected to ST-Link/V2 [SWD mode 1800 kHz] Firmware V2.J27.S6 (Probe no: 28611187) Sat Jul 23, 2016 10:45:35: Software reset was performed Sat Jul 23, 2016 10:45:35: Initial reset was performed Sat Jul 23, 2016 10:45:37: Warning: Write failed (CPU data abort) at Memory address 0x1FFFF800 Sat Jul 23, 2016 10:45:37: Reset FLASH readout protection Sat Jul 23, 2016 10:45:37: Hardware reset with strategy 2 was performed Sat Jul 23, 2016 10:45:37: 736 bytes downloaded (9.21 Kbytes/sec) Sat Jul 23, 2016 10:45:37: Loaded debugee: E:\Programme\IARWorkbench_STM32\arm\config\flashloader\ST\FlashSTM32F10xxxRAM10K.out Sat Jul 23, 2016 10:45:37: Target reset Sat Jul 23, 2016 10:45:37: Unloaded macro file: E:\Programme\IARWorkbench_STM32\arm\config\flashloader\ST\FlashSTM32F10xxx.mac Sat Jul 23, 2016 10:45:37: The flash loader program reported an error. Sat Jul 23, 2016 10:45:39: IAR Embedded Workbench 7.70.1 (armproc.dll)

There is an article about it:

https://developer.mbed.org/forum/mbed/topic/26143/?page=1#comment-50267

I also use Windows 10 64-Bit, i set the compatibility mode for IAR to Windows 8, but that didn't fix the problem.

Any help is very much appreciated.

Be the first to answer this question.