STM32f030 flasing using ST-Link STM32vlDiscovery
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-03-18 5:32 AM
Posted on March 18, 2014 at 13:32
Problem: ST-Link utility can't connect the target MC.
First of all I connected all the wires as necessarySWCLK-PA14, SWDIO-PA13, GNDand checked the quality of connections. Everything is OK.my program just configures PA3:RCC->AHBENR = RCC->AHBENR|RCC_AHBENR_GPIOAEN ;
// - Could this line block SWD??
GPIOA->MODER = GPIOA->MODER|GPIO_MODER_MODER3_0&(~GPIO_MODER_MODER3_1);GPIOA->OSPEEDR = GPIOA->OSPEEDR&(~ GPIO_OSPEEDER_OSPEEDR3);SWD is on PA13 and PA14.How can I erase the memory using STM32vlDiscovery? As I know, it has only the ST-LinkV1 and it has no''connect under reset'' mode, so the playing with boot_0 and reset doesnt have an effect :((
Also could my code block SWD? Maybe the problem lies elsewhere and connected with a cortexM0series features
?ST-link connects and programs onboard chip propertly.The problem is similar to http://electronics.stackexchange.com/questions/74999/st-link-and-my-stm32f051-board-not-connecting-each-otherwithout solutions..Any ideas?
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-03-18 6:48 AM
Posted on March 18, 2014 at 14:48
The OLD VL-Discovery board, and it's ST-LINK implementation is almost certainly not going to work with the F0 series parts.
Get yourself a current ST-LINK V2
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-03-18 8:15 AM
Posted on March 18, 2014 at 16:15
That's it! Thanks!
