2016-07-26 07:22 AM
Hi,
i get these errors while downloading my code via the ST-Link (latest firmware) to my controller (STM32F103C8):
Tue Jul 26, 2016 16:22:30: IAR Embedded Workbench 7.1 (armproc.dll)
Tue Jul 26, 2016 16:22:30: Loaded macro file: D:\Programme\IARWorkbench_STM32\arm\config\debugger\ST\STM32F1xx_XL.dmac
Tue Jul 26, 2016 16:22:30: Loaded macro file: D:\Programme\IARWorkbench_STM32\arm\config\flashloader\ST\FlashSTM32F10xxx.mac
Tue Jul 26, 2016 16:22:33: Connected to ST-Link/V2 [SWD mode 50 kHz] Firmware V2.JS6 (Probe no: 28611187)
Tue Jul 26, 2016 16:22:33: Software reset was performed
Tue Jul 26, 2016 16:22:33: Initial reset was performed
Tue Jul 26, 2016 16:22:35: Warning: Write failed (CPU data abort) at Memory address 0x1FFFF800
Tue Jul 26, 2016 16:22:35: Reset FLASH readout protection
Tue Jul 26, 2016 16:22:35: Hardware reset with strategy 2 was performed
Tue Jul 26, 2016 16:22:35: 736 bytes downloaded (2.42 Kbytes/sec)
Tue Jul 26, 2016 16:22:35: Loaded debugee: D:\Programme\IARWorkbench_STM32\arm\config\flashloader\ST\FlashSTM32F10xxxRAM10K.out
Tue Jul 26, 2016 16:22:35: Target reset
Tue Jul 26, 2016 16:22:37: Unloaded macro file: D:\Programme\IARWorkbench_STM32\arm\config\flashloader\ST\FlashSTM32F10xxx.mac
Tue Jul 26, 2016 16:22:37: The flash loader program reported an error.
Tue Jul 26, 2016 16:22:38: IAR Embedded Workbench 7.1 (armproc.dll)
Any ideas, what causes the errors?
2016-07-26 09:23 AM
What does IAR support have to say?
Why would it need to play with RDP or options bytes?Is this a custom board?Do you have similar errors with NUCLEO or DISCO boards?2016-07-26 10:26 AM
Thanks for your answer,
i didn't contact IAR because i don't know if it is maybe my fault.It is the STM32F103C8 Board from China: https://i.ytimg.com/vi/DCjhJCk_bIE/maxresdefault.jpgI don't have any other stm32 board so i can't test if it would work with the nucleo :(