/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Cannot update Circle OS

Username:     
Password:     
             

Forum

# 1   2007-10-14 03:21:54 Cannot update Circle OS

jrseattle
New member
Registered: 2007-10-13
Posts: 3

Cannot update Circle OS

I received my Primer yesterday and am impressed with its features.
As received, it is running Circle  OS V 1.0 so I want to update it to V 1.5

1. I am running Windows Vista Business
2. The batch file Update_Circle_OS.bat does not run well when started from Windows Explorer because the
    program "Cortex_pgm" cannot be found (the proper directory is in the path but apparently is not inherited
    into a command windows until the next reboot.
3. I added the proper path by hand but now Cortex_pgm fails with error 304: Unable to open USB communication with RLink. I checked the installe devices and it shows the Jungo RLink USB device working properly.
I'll reboot next to see if that makes a differenence.

Here is the batch output:

.
!!! WARNING: This will program the Circle OS into the STM32-Primer. !!!
!!!  All applications currently loaded will be erased.              !!!
.
Press Enter to continue, Ctrl-C to abort.
.
Press any key to continue . . .
Cortex_pgm: software for programming Cortex chips using a RLink as master.
Copyright Raisonance 2007.



Selecting target: STM32F103RBT6...
Connecting to RLink...
         !!! Error 304: Unable to open USB communication with RLink.
Please check that the dongle is connected and that the driver is loaded correctly.

Offline

 

# 2   2007-10-14 20:33:34 Cannot update Circle OS

lionel
Member
From: Grenoble, France
Registered: 2007-07-24
Posts: 71
Website

Re: Cannot update Circle OS

Hello,

About your last error: did you check that your Primer is powered up ? Else the RLink cannot be accessed. If you are unsure, check that the USB "Debug" connector is connected to your PC and press the button on your STM32-Primer.

regards
Lionel

Offline

 

# 3   2007-10-14 23:13:33 Cannot update Circle OS

jrseattle
New member
Registered: 2007-10-13
Posts: 3

Re: Cannot update Circle OS

Yes, the primer was powered up. By the way, rebooting Windows Vista did not solve the problem. When trying the debug the "toggle_with_circle" application, I ran into the same problem.

However, installing the USB driver on a Windows XP system, then running the Update_Circle_OS.bat file (and copying some files from the Vista installation) allowed me to update the primer just fine.
I must conclude that the USB driver does not work well (or at all) on Windows Vista.

-Jan-

Offline

 

# 4   2007-10-15 07:27:27 Cannot update Circle OS

lionel
Member
From: Grenoble, France
Registered: 2007-07-24
Posts: 71
Website

Re: Cannot update Circle OS

About the RLink driver, here is a link to a new version that works under Vista:

http://www.raisonance.com/Forum/punbb/v … hp?id=2173

regards,
Lionel

Offline

 

# 5   2007-10-18 20:06:14 Cannot update Circle OS

jrseattle
New member
Registered: 2007-10-13
Posts: 3

Re: Cannot update Circle OS

Thanks, I was able to program the STM32 Primer under Vista.

However, I would like to make a suggestion:

Please make installing the RLink driver as part of the installation an option. You already have 2 options so adding a third should be easy. That way, users are not forced to install a driver on Vista that is KNOWN not to work. Saves a lot of cleaning up.

Thanks

jrseattle

Offline

 

# 6   2007-11-15 03:40:23 Cannot update Circle OS

michaelc21
New member
Registered: 2007-11-06
Posts: 6

Re: Cannot update Circle OS

I can not  update  my  Primer now, before ,it is OK.
But , after  I  download  a  stm32 program( I get and modify it from other platform board),  the primer can not work , when download again(I download the circle OS ,the right program),
it said:
    "!!! Error 100: Unexpected state after powering up the debug module."

   " Unable to  read IDcode."
    "Please check that the target is connected."
My be  I update the wrong program make it work like this.
the wrong program  in RCC set like this: 

/* PLLCLK = 8MHz * 9 = 72 MHz */
    RCC_PLLConfig(RCC_PLLSource_HSE_Div1, RCC_PLLMul_9);

but ,the  Primer 's crystal  is  12MHZ,  not 8MHZ,  and  I update  with 8MHZ.
Is it  the problem?

How can I  update my Primer normally again?

Thank you.

Offline

 

# 7   2007-11-15 05:48:07 Cannot update Circle OS

michaelc21
New member
Registered: 2007-11-06
Posts: 6

Re: Cannot update Circle OS

It is  ok now.
After I  connect the batteries jumper ,  it is  ok for updating  programes.

Offline

 

Board footer