/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / RLink Communication Error

Username:     
Password:     
             

Forum

# 1   2008-08-27 16:48:48 RLink Communication Error

alexandreos
New member
Registered: 2008-06-19
Posts: 5

RLink Communication Error

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.

Anyone has any idea?

Thanks in advance.

Last edited by alexandreos (2008-08-27 16:55:28)

Offline

 

# 2   2008-08-28 09:32:52 RLink Communication Error

VincentC
Administrator
Registered: 2007-11-08
Posts: 149

Re: RLink Communication Error

Hi,

We will need more information for helping you...

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?

Best Regards,

Vincent

Offline

 

# 3   2008-08-28 17:48:43 RLink Communication Error

alexandreos
New member
Registered: 2008-06-19
Posts: 5

Re: RLink Communication Error

Hi,

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();
  }
}

Regards,
Alexandre.

Offline

 

# 4   2008-08-29 08:48:30 RLink Communication Error

VincentC
Administrator
Registered: 2007-11-08
Posts: 149

Re: RLink Communication Error

Hi,

Thanks for the information.

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.

Best Regards,

Vincent

Offline

 

# 5   2008-09-01 02:19:38 RLink Communication Error

alexandreos
New member
Registered: 2008-06-19
Posts: 5

Re: RLink Communication Error

Hi,

Finally it solved my problem!

Thank you very much!

Best regards,
Alexandre.

Offline

 

# 6   2009-02-05 18:44:29 RLink Communication Error

krzysiu-m
New member
Registered: 2009-02-02
Posts: 8

Re: RLink Communication Error

Hi,

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 ??

Please help me.

Best regards,
Krzysiu-m

Last edited by krzysiu-m (2009-02-05 18:45:38)

Offline

 

# 7   2009-02-05 20:19:27 RLink Communication Error

alexandreos
New member
Registered: 2008-06-19
Posts: 5

Re: RLink Communication Error

Hi Krzysiu-m,

I did what VincentC told me to do on his last post. I just installed the latest version of RIDE following the link:
http://www.raisonance.com/download/index.php
and done.

regards,
Alexandre

Offline

 

# 8   2009-02-06 00:28:47 RLink Communication Error

krzysiu-m
New member
Registered: 2009-02-02
Posts: 8

Re: RLink Communication Error

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 )

Last edited by krzysiu-m (2009-02-06 00:29:03)

Offline

 

# 9   2009-02-06 07:49:19 RLink Communication Error

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: RLink Communication Error

It could be that U9 is burned on your board. See:   
    http://www.stm32circle.com/resources/known.php
Was your board modified ?

Offline

 

# 10   2009-02-06 08:12:56 RLink Communication Error

krzysiu-m
New member
Registered: 2009-02-02
Posts: 8

Re: RLink Communication Error

Hi,

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


Guys help me pleas
Best Regards
Krzysiu-m

Last edited by krzysiu-m (2009-02-06 08:28:25)

Offline

 

# 11   2009-02-06 08:33:59 RLink Communication Error

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: RLink Communication Error

Thus, the issue seems to be within the embedded RLink.  Did you try with another computer/cable ?

Offline

 

# 12   2009-02-06 08:56:17 RLink Communication Error

VincentC
Administrator
Registered: 2007-11-08
Posts: 149

Re: RLink Communication Error

Hi,

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...)

Best Regards,

Vincent

Offline

 

# 13   2009-02-06 10:05:21 RLink Communication Error

krzysiu-m
New member
Registered: 2009-02-02
Posts: 8

Re: RLink Communication Error

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.


Best regards
Krzysztof Milczarek

Last edited by krzysiu-m (2009-02-06 10:06:13)

Offline

 

# 14   2009-02-06 10:39:53 RLink Communication Error

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: RLink Communication Error

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.

Offline

 

# 15   2009-02-06 21:10:01 RLink Communication Error

zwieblum
Member
Registered: 2008-12-19
Posts: 68

Re: RLink Communication Error

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.

Offline

 

# 16   2009-02-20 13:13:09 RLink Communication Error

jjl3
New member
Registered: 2007-12-08
Posts: 7

Re: RLink Communication Error

I am not luck,also

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.

Offline

 

Board footer