/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Programming STM32 with code image

Username:     
Password:     
             

Forum

# 1   2007-12-17 18:35:19 Programming STM32 with code image

Daniel Wee
New member
Registered: 2007-11-04
Posts: 7

Programming STM32 with code image

Is it possible to use the RIDE7 to generate code image which can then be flashed to the STM32 using the bootstrap mode? I imagine this code will have to be in HEX or some similar format? Has anyone tried this?

Daniel

Offline

 

# 2   2007-12-17 21:42:54 Programming STM32 with code image

Squonk
Member
Registered: 2007-10-26
Posts: 10

Re: Programming STM32 with code image

Hi Daniel,

until now I did not try to do it but I think it should be possible. The only thing You have to do is to generate an Intel-HEX format file and then download it using the protocoll described in AN2606. For this You have to write Your own program on the PC side.

Regrds

   Squonk


"The stupidity of mankind and the universe have no end. But in the case of the universe it is not so sure." A. Einstein

Offline

 

# 3   2007-12-17 23:29:39 Programming STM32 with code image

Daniel Wee
New member
Registered: 2007-11-04
Posts: 7

Re: Programming STM32 with code image

Does the RIDE7 allow generation of code in the HEX format? Ie. can it be coaxed to do so? In fact ST has a Flash Demonstrator which works on the PC side so you don't have to write anything if RIDE can be made to output code in the HEX format so that's the question now, can this be done. Thanks.

Daniel

Offline

 

# 4   2007-12-18 08:04:05 Programming STM32 with code image

dialer
New member
Registered: 2007-10-05
Posts: 1

Re: Programming STM32 with code image

I tried to program my primer with the "mouse"-application. It says to me: you need OS 1.6 minimum. Then I programmed OS 1.7 and after this "mouse" again. Effect: It sill says: you have OS 1.4. No chance!

Offline

 

# 5   2007-12-18 13:16:55 Programming STM32 with code image

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

Re: Programming STM32 with code image

Are you using circle_mgr.exe to program the application?
If you are using RIDE, the FLASH will be erased, and the OS will reprogrammed at each debug session. In this case, you should ipdate the CircleOS in your "Program Files\Raisonance\Ride\Lib\ARM\CircleOS" directory.

Offline

 

# 6   2007-12-18 14:45:37 Programming STM32 with code image

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

Re: Programming STM32 with code image

To summarize :

1. If you want to reprogram CircleOS, use $1 or Update_Circle_OS.bat after having copied circle.hex in Ride\Lib\ARM\CircleOS directory. $1

2. If you want to program a user app using CircleOS, use $1 or add_to_circle.bat.

Lionel

Offline

 

Board footer