AnsweredAssumed Answered

[SOLVED] stm32f0 discovery board as debugger

Question asked by Hrncic.Zlatko on Feb 23, 2015
Latest reply on Feb 24, 2015 by Hrncic.Zlatko
Hi everyone!

I am using st-link on stm32f0 discovery board and ST-LINK utility to program some other boards and that is working like it should. I am working with stm32f030 processor.

I am wondering if it is possible to use that st-link on stm32f0 disco as debugger from IAR IDE? This is the error I get:
Mon Feb 23, 2015 23:12:47: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\config\debugger\ST\STM32F05xxx_06xxx.dmac
Mon Feb 23, 2015 23:12:47: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\config\flashloader\ST\FlashSTM32F05xx8.mac
Mon Feb 23, 2015 23:12:47: ST-Link firmware too old
Mon Feb 23, 2015 23:12:47: Selecting SWD as current target interface.
Mon Feb 23, 2015 23:12:47: Hardware reset with strategy 0 was performed
Mon Feb 23, 2015 23:12:47: Initial reset was performed
Mon Feb 23, 2015 23:12:47: -I- execUserFlashInit!
Mon Feb 23, 2015 23:12:48: 276 bytes downloaded (1.73 Kbytes/sec)
Mon Feb 23, 2015 23:12:48: Loaded debugee: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\config\flashloader\ST\FlashSTM32F05xxxRAM8K.out
Mon Feb 23, 2015 23:12:48: Target reset
Mon Feb 23, 2015 23:12:48: Failed to set breakpoint at 0x20001F84 (out of breakpoints?)
Mon Feb 23, 2015 23:12:53: Debug session aborted.

Cheers,
Zlatko

Outcomes