STM32 ST-Link How to
I am trying to add a target for STM32 ST-Link debugger.. There is no information on this other than some scribble by Paul that it is supported and we can add it as a new target. I have not been successful in doing this. Any pointers are appreciated.
My Crossworks version 2.0.1
Thx
-
It's here
http://www.rowleydownload.co.uk/snapshots/arm_crossworks_crossworks_v2_win_x86_setup.exe
Regards
Michael
-
I'm having problems getting my Crossworks (on Ubuntu Linux 10.04 LTS to support the STM32F407 discovery board... I think I followed the posts above, I found and installed the nightly build Release 2.1.2.2011120900.13079 for linux, but I still see and error whenever I try to attache to the STlinkV2 target "Generic .dll is not open", I alsos always see errors int he output window one Crossworks startup saying "Cannot access usr/share/crossworks_for_arm_2.1/bin/STLink.dll" and the same for PandE.dll.
Is there a quick fix or am I doing something wrong ?
-
Sorry, i tried that and it made no difference, even after restarting Crossworks, and following a system reboot.
I've attached a screenshot of the CW window with the errors showing (the STM32F4 Discovery bopard is attached and functioning during these test, but is still invisible to CW.
-
OK so i downloaded Release 2.1.2.2011121501.13218
Once updated I had to reinstall my licence activation code (thats a first for any upgrade I've applied to this point)
But I have the exact same errors with no changes to the symptoms or errors displayed...
The files in question simply don't exist (as .dll's in any case, which would be very out of place on a linux machine), the relevant files DO exist as .so files on that path (much more in line with linux), is there a problem with my install that for some reason is trying to load windows DLL's rather than linux shared libraries ?
Peter
-
Nope, still having problems.
Sequence I see is .
Disconnect STM32F4 board.
On loading CW,i see the "cannot load .DLL errors" in the output window... always.
right click in the targets window and restore defaults (I get the Ubuntu "busy spinning mouse pointer" for a few seconds outside of the CW window)
Connect STMF4 Discovery board,
try to connect to the target in the targets window
get an "Unrecoverable failure, Crossstudio must close error" dialogue
I doo see a "st-link log" entry in the output window but I can;t look at is as the only thing crossstudio will do is close competely.
I'm building a new machine and I'll transfer the license over to it an see if a fresh clean install fixes the issues I'm seeing, this 10.04.LTYS release hae been faithful but its getting very long in the tooth perhaps something is running interference here.
Peter
IPerhaps I have bigger probelms, but this is ticking me off
-
Could you try the latest build
http://www.rowleydownload.co.uk/snapshots/arm_crossworks_crossworks_v2_linux_x86.tar.gz
Thanks
Michael
-
Michael, thanks for persisting with this..
Definite progress but still not success.. I installed the latest nightly 2.1.2.2011122100.13292
I no longer see the "cannot load .DLL errors", but each time I attempt to connect to the STlinkV2 target I get an immediate "Unrecoverable failure, Crossstudio must close error" dialogue and crossstudio aborts. In the output window it looks like there might be a st-link log file written somewhere but I can;t get to it before crossstudio aborts and I can't find it, is there likely to be anything interesting in that file ?
I did try restoring target defaults with no difference in behaviour.
Also I still have to re-activate the license every time I load Crossstudio.
Please sign in to leave a comment.
Comments
52 comments