Topic : Problem when I try to restore ST_Primer Kit

Forum : ARM

Original Post
Post Information Post
October 28, 2008 - 1:04pm
Guest

I purchased ST_Primer Kit from ST company. I am developing my application base on this kit. I wrote some code and program for kit through USB Debug connection. Then I could not program for this kit anymore because the “Ride7”complier could not recognize the kit.Beside, I can’t restore origin code of ST. When I set up “Restore_Circle_Factory.bat” file, some errors happen. My PC recognize the device attach or not but the complier can’t connect to kit. I have also installed the driver for RLink USB device many times. I also uninstall Ride7 software and reinstall again, but I got the same problem.
Could you show me this problem?

Replies
Post Information Post
+1
0
-1
October 28, 2008 - 2:32pm
Raisonance Support Team

Hi,

We will need more information for helping you...

Which version of Windows are you using? (and Service Packs if any)

Does the RLink appear in the Windows Device Manager?

Under which name and section?

Do you manage to read the RLink Serial Number through USB?

What error message do you get when you try to reprogram the STM32?

Bet Regards,

Vincent

+1
0
-1
November 5, 2008 - 10:51am
Guest

Hi VincentC,
Now I can solve this problem.
I have purchased STM32Primer Kit for development my application. In the production box, there is one CDRom contain Ride7 tool. I want to know how is the license of Ride7. Because I complied some code , there is one error display: "FLASH IS FULL". I think this problem concern to the license, right?

By the way, I am writing code to access I2C2 from ST32Primer to one externally chip. Data from externally chip will be display to LCD of ST32Primer kit. Have you written this code? Please give me some reference code for this problem.

+1
0
-1
November 5, 2008 - 11:24am
Raisonance Support Team

Hi,

This problem is NOT about license. In fact there is no software license in the Raisonance tools for ARM.

The only limitation is in the RLink and concerns the debugging, which is limited to 32K if you are using a standard RLink or Primer. (you might need to upgrade RIDE if you are using an old version, as it used to be limited to 16K in old versions)

Now, if you want to compile, link and program applications that are larger than the limitation, then you must uncheck the 'starter kit limitation' linker option. That will allow you to create applications larger than the limitation, but of course you will not be able to debug them (only program them) unless you purchase a PRO version of RLink or Primer.

I'm not sure I understand your question about I2C and LCD. I suggest you look at the CircleOS (from Raisonance) and STM32lib (from ST but distributed on the Raisonance CD and installed along with RIDE) libraries and their respective documentations. You should find everything you need there. CircleOS contains routines for the LCD, and the STM32lib contains routines for I2C.
Once again, I strongly recommend you upgrade your RIDE, because these things have been updated recently.

Best Regards,

Vincent

+1
0
-1
November 6, 2008 - 3:33am
Guest

Hi,
Thanks so much for your reply. Please tell me the latest version of RIDE and links to download.
I had a look some examples about LCD and I2C but they don't integrate together. I modified one example about I2C communication, and integrate with ST32primer to display to LCD but not success.
So if anyone have done this please give some reference code.

(lehominhtri151@gmail.com)

+1
0
-1
November 6, 2008 - 9:56am
Raisonance Support Team

Hi,

You can download the latest versions of the RIDE kits there:
http://www.raisonance.com/download/index.php

Remember that you need two kits: the Ride7 kit and the ARM kit.

Best Regards,

Vincent