2022-01-15 12:58 AM
Hi, I have a problem with my discovery kit stm32f072.
I usually use that board as a debugger for my personal embedded projects, so only the debugger part.
I recently tried for a moment to download my project to the discovery MCU and since then, when I try to use the debugger only for my personal projects (which are within a personal board) nothing works anymore. I am using IAR embedded workbench, when I try to download and debug, the IDE blocks without writing to my MCU's flash memory.
I think I have programmed a reserved region in the discovery board, or something similar, is there a method to restore everything?
Solved! Go to Solution.
2022-01-17 12:09 AM
Welcome, @AFato.3, to the community!
If you remove the two jumpers from CN5, the debugger part of your DISCOVERY (STM32F103C8T6) is no longer connected to the target MCU (STM32F072RBT6), so you can use the debugger part to program other targets.
Even if you accidentally selected the STM32F072RBT6 as the target (which should only be possible with the CN5 jumpers plugged in), this does not change anything on the debugger itself, there are no reserved regions etc.
Normally you can upgrade/restore the debugger part of the DISCOVERY with the latest firmware, which also works if you already have this version programmed before:
Help > ST-Link Upgrade
Just Open in update mode and click Upgrade
Just let us know if it works and if not, how it manifests itself.
Regards
/Peter
2022-01-17 12:09 AM
Welcome, @AFato.3, to the community!
If you remove the two jumpers from CN5, the debugger part of your DISCOVERY (STM32F103C8T6) is no longer connected to the target MCU (STM32F072RBT6), so you can use the debugger part to program other targets.
Even if you accidentally selected the STM32F072RBT6 as the target (which should only be possible with the CN5 jumpers plugged in), this does not change anything on the debugger itself, there are no reserved regions etc.
Normally you can upgrade/restore the debugger part of the DISCOVERY with the latest firmware, which also works if you already have this version programmed before:
Help > ST-Link Upgrade
Just Open in update mode and click Upgrade
Just let us know if it works and if not, how it manifests itself.
Regards
/Peter
2022-02-17 06:02 AM
Did it answer your question?
If the problem is resolved, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.
/Peter