Hi, I was testing my kit and it was working fine, but when I made a new project, based on the "GPIO example" from ST website, and I received the error message below:
Unable to open USB communication with RLink. Please check dongle is connected and that the driver is loaded correctly.
The USB cable is correctly connected to the debug port and it was really working fine. I don't know what happened, but now I can't program anything into the STM32 Primer. I'm using RIDE7 and Windows Vista.
Which version of RIDE are you using? (click 'help'->'About' and look at the versions of all the RIDE7 and ARM kits)
Are you using Vista 32 or Vista 64?
Are you sure that you were administrator and used the 'run as admin' option when you installed RIDE?
When you plug RLink in the USB port of the PC, does the BUSY LED turn ON and then OFF after a few seconds? Does the RLink appear in Windows Device manager? If yes, under which section?
I'm using Ride7 version 7.01.0002 and RKitARM for Ride7 version 1.03.0003 on Windows Vista Home Premium 32 bits SP1. Yes, I'm the administrator. Yes, the BUSY LED, close to the debug port, does turn ON and then OFF after a few seconds. Yes, the RLink USB appears under the "Jungo" section.
I would like to let you know that the device was working fine, and just after progamming the 'Glasslcd_Demo' project that I got that error. The main function is:
int main(void) { #ifdef DEBUG debug(); #endif
/* Enable Debug in low power modes in the DBGMCU_CR register */ * (vu32 *) 0xE0042004 = 0x00000007;
/* Debug delay */ for (DebugDelay=1000000; DebugDelay!=0; DebugDelay--);
/* System configuration */ SystemConfiguration();
/* Power on the resistor bridge */ /* LCD_Bias = VDD */ GPIO_SetBits(LCD_Bias_Port, LCD_BiasPlus_Pin);
/* Set LCD contrast */ LCD_SettingContrast(LCD_DefaultContrast);
/* Show "STM32" text */ LCD_WriteString("STM32");
while(1) { /* Enter in Sleep Mode */ LCD_WriteString("Alexandre"); __WFI(); } }
This looks like a problem that we fixed in the latest version of RIDE. Your version is a little older. Please download and install the latest version of RIDE from this page: http://www.raisonance.com/download/index.php You will need both the RIDE7 kit and the ARM kit. And you must uninstall the old kits before installing the new ones.
I just tried a reduced version of your code with the latest version of RIDE and it is OK. If you still have problems after updating RIDE, please send me a complete project to 'support@raidonance.com'. Zip the whole folder, including all rprj, c, h, obj, lst, map, etc. files.
I have the same problem as alexandreos. Exactly the same thing
Unable to open USB communication with RLink. Please check dongle is connected and that the driver is loaded correctly.
I also checked VincentC's advices
Yes, I'm the administrator. Yes, the BUSY LED, close to the debug port, does turn ON and then OFF after a few seconds. Yes, the RLink USB appears under the "Jungo" section.
I also install the newest version RIDE7 kit 7.16 and the ARM kit 1.16.
and the problem still exist. I try to download just simple application which is available in Projects section for Primer 2 like Primer2 Tutorial (Cubic) 2.2. This and all others project don't want to start on Primer 2 because of some problem with RLink.
I'm curious how Alexandreos managed to solve this problem ??
Hi, Sorry, I’ve made a mistake at the beginning I downloaded couple of project from www.stm32circle.com with success and install them on Primer 2. After that I decided to download to my Primer 2 only the CircleOS 3.3 which was also available in folder with al projects. And this was the end of my adventure with Primer 2. After that with every try to download another project from stm32circle sit and install them the error appear:
Unable to open USB communication with RLink. Please check dongle is connected and that the driver is loaded correctly.
Now in my Win Xp RLink doesn’t appear in Windows Device manager but before it was. The BUSY LED don’t shine. Is it possible that after install alone Circle OS v 3.3 without any application (http://www.stm32circle.com/projects/project.php?id=49) something happen with my Primer 2.
Guys help me pleas Best Regards Krzysiu-m (my e-mail krzysiu-m@wp.pl )
No my board wasn’t modified. I only install just alone operating system Circle v3.3 form your website using Ride7 environment. This was last project that a was able to download on Primer 2. Now the primer works (MEMS, butons, joistic, TS work) when i turn it on. But it is impossible to download any new project on Primer 2 because of this error
Erreur 304: Unable to open USB communication with RLink. Please check dongle is connected and that the driver is loaded correctly.
I am even not able to this command because of the same error appear:
I cortex_pgm TSTM32F103VET6 E PPrimer2_Circle_Factory.hex San
I don't understand how it could be that you see the LED turning ON and then OFF, that you see the RLink in the Device Manager, but you don't manage to connect to it with a software that managed before.
Please confirm that you still have this behavior on the LED and Device Manager. Please also send me (support@raisonance.com) a screenshot of the Jungo section of the Device Manager, and the driver details. (right-click on the RLink in the device manager) We must check that the driver loaded for RLink is RLink_WDP.inf and not Windrvr6.inf nor RLinkWinUSB.inf.
Please also confirm that you start the Primer (by pressing the button) before you attempt to connect to the RLink. When you turn the primer OFF from CircleOS, it also turns the RLink OFF. You must restart it before you can reprogram it.
Finally, please check that you have all these files on your hard drive: <RideInstallDir>\bin\CortexDrv.dll <RideInstallDir>\bin\Cortex_pgm.exe <RideInstallDir>\bin\MonitorTools.dll <RideInstallDir>\bin\RLinkWinUSB.dll
(if one of them has been removed, that could explain the problem...)
Hi, Yes I tried this on another PC with another cable. Now in my Win Xp RLink doesn’t appear in Windows Device manager but before it was. The BUSY LED don’t shine. Is it possible that after install alone Circle OS v 3.3 without any application (http://www.stm32circle.com/projects/project.php?id=49) something happen with my Primer 2 ??
Alle this files are in bin directory !!
What is more bizarre, my display, when a switch on Primer2, is all the time blinking (for 1 sek display main page of CircleOS and the turn off then turn on(main page of CircleOS) and turn off) . And repeat it continuously and I still cannot downloada any project on Primer2.
Definitely, it seems that it is a hardware issue. Such issues could be caused by ESD. The device seems more sensitive when the extra wire U9 regulator is not there. We will contact you by email to see how to proceed.
Folks, you installed circleos for primer 1 and that turns off your primer after 1 sec. keep the button pressed and try to flash it..... this gave me bad dreams some weeks ago.
I have the same problem as alexandreos. Exactly the same thing
Unable to open USB communication with RLink. Please check dongle is connected and that the driver is loaded correctly.
I also checked VincentC's advices
Yes, I'm the administrator. Yes, the BUSY LED, close to the debug port, does turn ON and then OFF after a few seconds. Yes, the RLink USB appears under the "Jungo" section.
I also install the newest version RIDE7 kit 7.16 and the ARM kit 1.16.