[Solved] STM32F0 Discovery Board: Connect faild, check config and cable connection

OP #3639901
Rate this post
• ▲ useful
▼ not useful
Hi
I bougth the Stm32F0 Discovery to get into microcontrollers. I have only 
knowlegth about c# and java programming.

I followed this tutorial (video 
http://www.youtube.com/watch?v=nP6TR6NAZTQ)

Downlaoding coocox ide and CoFlash
installing gcc-arm-none-eabi-4_8-2014q1-20140314-win32.exe (md5)
and the usb driver http://www.st.com/web/en/catalog/tools/PF258167
...

I can build the programm but I can not load it on the microcontroller. I 
get always this error:

C:\CooCox\CoIDE>"C:/CooCox/CoIDE/bin\coflash.exe" program STM32F051R8 
"C:/CooCox/CoIDE/workspace/blinkingLEDs/blinkingLEDs/Debug/bin/blinkingL 
EDs.elf"  --adapter-name=ST-Link --port=SWD --adapter-clk=1000000 
--erase=affected --reset=SYSRESETREQ 
--driver="C:/CooCox/CoIDE/flash/STM32F05xx_64.elf"

Error: Connect failed, check config and cable connection
Program Download Failed !

I have no cloue what to change. Can anyone give me a hint?
Do I Have to know anything else about the st Driver?

Thanks in advance
#3640897
Rate this post
• ▲ useful
▼ not useful
ok, connect the board with usb and check your device manager

in "usb controller" you must have an entry like "STLink dongle"
(see picture)

if this is ok, donwload the "ST-Link Utility" from ST
and try to connect with this tool and readout the Device Information

perhaps you have selected the wrong Device
Attached files:

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.