2011-04-01 09:26 PM
Hey everyone!
This is my first time here and a complete novice with this microprocessor.
We are using it (STM32VLDiscovery) for our Senior Design Project in Electrical/Computer Engineering. We just switched from another board to this one. We are using the KEIL µVision4 IDE. The problem only occurs on 2 of our laptops out of 4. When we try to Load the Built project to the Microcontroller the software crashes. Down in the Build Output Frame it says:
''
Load ''C:\\Keil\\ARM\\Boards\\ST\\STM32-Discovery\\Blinky\\Flash\\Blinky.AXF''''</span></div>
right before it crashes. It displays the standard windows msg saying ''µVIsion4 IDE has stopped working... Windows is checking for a solution.''
In the details of that msg box it says the fault module is
STLinkUSBDriver.dll
I tried contacting KEIL about the issue and they referred me to contact ST about it. I have submitted an online help request but I thought I would post it here as well since its obviously an issue for more people than just myself.
In the Debug & Utilities tabs I have ST-Link Debugger accepted. Also in the Utilities I have ''update target before debugging'' checkbox checked. I am setup as the administrator on my system and I have even tried rightclicking the app and selecting run as administrator just to be sure. I've tried redownloading and reinstalling the IDE about a half dozen times now and becoming very frustrated with it.
I am running Windows 7 Home Premium 64bit with a AMD dual core processor.
If I have left anything out please let me know and I will be sure to include it!
Thanks in advance!
~A.J.
2011-04-02 08:02 AM
I think the problem is that the ST-Link driver doesn't work on a 64bit machine
There has been some discussion about this in the forum some time ago
2011-04-02 08:43 AM
2011-04-02 09:33 AM
2011-04-03 08:46 PM
Hi Donald, thanks for your reply. Sorry I'm so late getting back to you on it, I've just returned from being out of town.
Which libraries are you referring to? The libraries included in the example code? Or the STlinkUSBdriver.dll dynamic library?
I thought about trying to do it in Linux since I have an Ubuntu virtual machine on my laptop, but after reading the discussion about how much of a ''PITA'' it is, I declined.
On the positive side I did get it working! My classmate sent me his version of the STlinkUSBdriver.dll and I replaced the one in the directory and Vóila! it works! I'm so happy after spending countless hours trying to get it to this point.
Thanks,
~A.J.
2011-04-09 10:47 AM