AnsweredAssumed Answered

STM32F103C8 - IAR throws error while downloading code with ST-Link

Question asked by gustamko.master on Jul 26, 2016
Latest reply on Jul 26, 2016 by gustamko.master
Hi,
i get these errors while downloading my code via the ST-Link (latest firmware) to my controller (STM32F103C8):

01.Tue Jul 26, 2016 16:22:30: IAR Embedded Workbench 7.70.1 (armproc.dll)
02.Tue Jul 26, 2016 16:22:30: Loaded macro file: D:\Programme\IARWorkbench_STM32\arm\config\debugger\ST\STM32F1xx_XL.dmac
03.Tue Jul 26, 2016 16:22:30: Loaded macro file: D:\Programme\IARWorkbench_STM32\arm\config\flashloader\ST\FlashSTM32F10xxx.mac
04.Tue Jul 26, 2016 16:22:33: Connected to ST-Link/V2 [SWD mode 50 kHz] Firmware V2.J27.S6 (Probe no: 28611187)
05.Tue Jul 26, 2016 16:22:33: Software reset was performed
06.Tue Jul 26, 2016 16:22:33: Initial reset was performed
07.Tue Jul 26, 2016 16:22:35: Warning: Write failed (CPU data abort) at Memory address 0x1FFFF800
08.Tue Jul 26, 2016 16:22:35: Reset FLASH readout protection
09.Tue Jul 26, 2016 16:22:35: Hardware reset with strategy 2 was performed
10.Tue Jul 26, 2016 16:22:35: 736 bytes downloaded (2.42 Kbytes/sec)
11.Tue Jul 26, 2016 16:22:35: Loaded debugee: D:\Programme\IARWorkbench_STM32\arm\config\flashloader\ST\FlashSTM32F10xxxRAM10K.out
12.Tue Jul 26, 2016 16:22:35: Target reset
13.Tue Jul 26, 2016 16:22:37: Unloaded macro file: D:\Programme\IARWorkbench_STM32\arm\config\flashloader\ST\FlashSTM32F10xxx.mac
14.Tue Jul 26, 2016 16:22:37: The flash loader program reported an error.
15.Tue Jul 26, 2016 16:22:38: IAR Embedded Workbench 7.70.1 (armproc.dll)

Any ideas, what causes the errors?

Outcomes