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

OP #3639901
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
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:
Guest
HI,
  I am new to stm I am using MB1034B BOARD this error "Connect faild, 
check config and cable connection" I had tried all possible solution but 
its still not working pls somebody help

Reply

A question of your own? This thread is over 12 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

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.