Skip to main content
harshana_n
Associate II
Apr 9, 2011 12:22 AM UTC
Question

Need Help setting up STM32Discovery

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
    This topic has been closed for replies.

    9 replies

    Tesla DeLorean
    Guru
    Apr 9, 2011 2:59 AM UTC
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
    harshana_n
    Associate II
    Apr 9, 2011 11:32 AM UTC
    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
    Super User
    Apr 9, 2011 3:25 PM UTC
    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

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Tesla DeLorean
    Guru
    Apr 9, 2011 7:07 PM UTC
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
    harshana_n
    Associate II
    Apr 10, 2011 7:04 AM UTC
    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
    May 10, 2011 5:07 AM UTC
    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
    Visitor II
    Jun 23, 2011 2:17 PM UTC
    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,

    Tesla DeLorean
    Guru
    Jun 23, 2011 8:03 PM UTC
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
    lastsamurai
    Associate
    Jun 11, 2012 6:19 AM UTC
    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