2014-06-26 07:07 AM
Hi all,
I have a project that I've been working with that I recently tried to send over to another person but they're encountering an error when trying to flash their part. The code compiles fine but the flash fails. Can someone on here provide any insight or perhaps point me to somewhere more appropriate to ask the question? The part is an STM32F030Wed Jun 25, 2014 11:44:54: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\config\debugger\ST\STM32F05xxx_06xxx.dmac
Wed Jun 25, 2014 11:44:54: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\config\flashloader\ST\FlashSTM32F05xx8.mac
Wed Jun 25, 2014 11:44:54: JLINK command: ProjectFile = D:\Userdata\Ronald\TEST\Charger_ARM\V2_0\V2_0\TEST_Charger_Firmware\IAR\settings\TEST_Charger_Firmware_Debug.jlink, return = 0
Wed Jun 25, 2014 11:44:54: Device ''STM32F030C6'' selected (32 KB flash, 4 KB RAM).
Wed Jun 25, 2014 11:44:54: DLL version: V4.84f, compiled May 9 2014 20:05:42
Wed Jun 25, 2014 11:44:54: Firmware: J-Link ARM Lite V8 compiled Jul 8 2013 18:37:55
Wed Jun 25, 2014 11:44:54: Selecting SWD as current target interface.
Wed Jun 25, 2014 11:44:54: JTAG speed is initially set to: 32 kHz
Wed Jun 25, 2014 11:44:54: Found SWD-DP with ID 0x0BB11477
Wed Jun 25, 2014 11:44:54: Found SWD-DP with ID 0x0BB11477
Wed Jun 25, 2014 11:44:54: Found Cortex-M0 r0p0, Little endian.
Wed Jun 25, 2014 11:44:54: FPUnit: 4 code (BP) slots and 0 literal slots
Wed Jun 25, 2014 11:44:55: Hardware reset with strategy 0 was performed
Wed Jun 25, 2014 11:44:55: Initial reset was performed
Wed Jun 25, 2014 11:44:55: -I- execUserFlashInit!
Wed Jun 25, 2014 11:44:58: 276 bytes downloaded (5.73 Kbytes/sec)
Wed Jun 25, 2014 11:44:58: Loaded debugee: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\config\flashloader\ST\FlashSTM32F05xxxRAM8K.out
Wed Jun 25, 2014 11:44:58: Target reset
Wed Jun 25, 2014 11:44:58: Failed to set breakpoint at 0x20001F84 (out of breakpoints?)
Wed Jun 25, 2014 11:45:10: Debug session aborted.
2014-06-26 08:54 AM
Fixed using a workaround:
I had to copy 4 files from V6.7 to V7.0 under ''IAR Systems\Embedded Workbench 7.0\arm\config\flashloader\ST'' and replace the existing ones:***F051x6.board***F05xxx6.flash***F05xxx6.mac***F05xxxRAM4k.outIt seems that something is wrong with the flashloader in V7.0 for the STM32F0302014-06-27 08:34 AM
Hi bujak.dan,
I confirm : it's a known issue. You should use the version 7.10.3 ( problem fixed). Otherwise, You can continue working with the version 7.0 using the patch you have created. Best Regards, Nouha