cancel
Showing results for 
Search instead for 
Did you mean: 

Need Help setting up STM32Discovery

harshana_n
Associate II
Posted on April 09, 2011 at 02:22

Hello there

I'm really new to this 🙂 i was wondering if someone can help me to set up my STM32 VL Discivery.

so far I have done the following;

I'm using Vista home premium

I installed Eclipse galileo / Helios and ST link ST-LINK_gdbserver

Codesourcery Lite EABI toolchain

And i have installed the follwoing  Plugins for eclipse

 

GNU Arm Development Tools

Zylin Embedded CDT

so when try to debug a code I'm getting the following two errors

''Remote communication error.  Target disconnected.: No error.

 

load

 

You can't do that when your target is `exec'

 

break main''

 

sometimes i get this

 

''localhost:61234: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

 

load

 

You can't do that when your target is `exec'

 

break main''

if someone can help to fix this 🙂

thanks

Harshi
9 REPLIES 9
Posted on April 09, 2011 at 04:59

Quit trying to load all this nefarious crap, get yourself a demo/eval version of Keil uVision or IAR EWARM. Load the example projects from the VL firmware download, press build, press debug, and off you go.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
harshana_n
Associate II
Posted on April 09, 2011 at 13:32

Thanks Clive,

But I have tried to install Keil uVision ARM version but it doen't support Vista 🙂 so you know a way to come around with this 🙂

thanks

Andrew Neil
Evangelist
Posted on April 09, 2011 at 17:25

''Keil uVision ARM version ... doen't support Vista''

 

 

Oh yes it does: 

http://www.keil.com/demo/requirements.asp

Posted on April 09, 2011 at 21:07

I have a uV4 demo build on a Vista 32-bit box, working fine with the VL board.

Common problems however exist

Driver Signing Settings

USB Attachment Policies

UAC (User Access Control)

Administrative Rights

Non-English Installations

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
harshana_n
Associate II
Posted on April 10, 2011 at 09:04

thanks for your comments Guys but Atollic TrueSTUDIO®/STM32 Lite, Built on Eclipse. works for me 🙂

Thanks a lot

lastsamurai
Associate III
Posted on May 10, 2011 at 07:07

Hi Harshana,

I would recommend you to proceed with Keil, as its software simulator is much better and accurate compared to most of the available stuff and lite version is prettymuch enough for average to advanced user.  And according to my understanding, the code optimization is much better in keil.

Cheers,

Sam

BTW you got a SL name 😉

valentin23
Associate
Posted on June 23, 2011 at 16:17

Hi,

I have got the same problem as you : '' A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.'' and i also use the same tools (Eclipse helios ...).

If it's not too late, can you explain to me how did you fix it?

Regards,

Posted on June 23, 2011 at 22:03

Apart from the aforementioned suggestions, talking to a VL Discovery board requires a ''SWD'' mode setting for the debugger, as the board does not implement ''JTAG'' connectivity.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
lastsamurai
Associate III
Posted on June 11, 2012 at 08:19

Hi Harshana,

May I know the place you got the ST-Link GDB server?  As far as I know, there is one comes with Atolic. 

Cheers,

Samitha