2017-01-09 06:00 AM
I have a custom board I have designed and want to develop on, and want to use the my 'stm32f0-discovery' board to program this custom board.
using the SWD pins on CN4 of my stm32f0-discovery board, i can use 'STM32 Link Utility' to flash this custom board i am working on. All seems well. its just its not convenient having to use
'STM32 Link Utility' every time i want to flash the board when developing.
how do i setup Keil uVision so that i can flash/debug using this setup?
many thanks
Solved! Go to Solution.
2017-01-09 08:12 AM
Hi chendy,
Please make sure to have the following settings on keil uVision:
On window:
You should find an ID similar to:
Caution
: Be sure that the ST-Link utility tool is disconnected from your device.Khouloud.
2017-01-09 08:12 AM
Hi chendy,
Please make sure to have the following settings on keil uVision:
On window:
You should find an ID similar to:
Caution
: Be sure that the ST-Link utility tool is disconnected from your device.Khouloud.
2017-01-09 08:38 AM
The same way you'd program it if it were just the DISCO board, go into the options for your project and select the ''ST-Link'' in SWD mode for the Debugger/Utilities Pane, and in the Settings for the debugger picking the STM32F0 Flash Algorithm
I'm sure Keil also has documentation and app notes if you care to review
2017-01-17 06:29 AM
Caution
: Be sure that the ST-Link utility tool is disconnected from your device.Yep was just this, sorry everybody. Works fine when St-Link utility is not running ofc!
2017-09-17 10:10 PM
@
Seveelavanan.Ravicha
: How did you connect your target STM32 to F0 Discovery ? I have also made my custom board for STM32F030R8T6 and connected to STM32 F0 Discovery board on CN3. I have removed jumpers on CN2, but still i cannot program my target device. It says ST Link USB Error.