/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / stm32f10x_XL devices

Username:     
Password:     
             

Forum

# 1   2011-02-23 17:21:02 stm32f10x_XL devices

melihcicek
New member
Registered: 2011-02-15
Posts: 4

stm32f10x_XL devices

Hello!

i ordered a stm32f103rgt6 arm-cortex m3. I prepared circuit  by myself for loading hex file to MCU.
is there any preloaded firmware in stm32 arm mcus because when i use "flash loader demostrator pc software" for loading my hex file.
pc software gave me some id like ver,PID etc.
Also there is an option "jump to user program". After load program if i tick this option it starts if i dont tick it
i send [7F] [21DE] [0800000008] command and then start my program. i write my program used ride7 ide and it was successful
but i tried  to use keil uvision ide i program again and create a hex file. I load using "flash loader demonstrator" and
then when i try to load another program it failed so there is a problem after i used hex which i create using keil uvision.
i want to learn if there is preloaded bootloader firmware on this ARM MCUs ?
how can i program it again using "flash loader demonstrator" ?
Note:the program which i loaded last it is working for led blinking and i dont send [7F] [21DE] [0800000008] but it can run
Best Regards

Offline

 

# 2   2011-02-24 07:33:09 stm32f10x_XL devices

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: stm32f10x_XL devices

Of course the STM32 implements a boot loader in ROM.
Take a look at the Reference Manual : http://www.st.com/internet/com/TECHNICA … 171190.pdf, paragraph 2.4.
and the application note for boot loader : http://www.st.com/internet/com/TECHNICA … 167594.pdf
You can alos use the IAP program : http://www.st.com/internet/com/TECHNICA … 161640.pdf
Be careful, the XL version is a special µC with 2 banks of flash memory.

Offline

 

# 3   2011-02-24 09:58:52 stm32f10x_XL devices

melihcicek
New member
Registered: 2011-02-15
Posts: 4

Re: stm32f10x_XL devices

Thanks yrt;

Problem is i cant communicate mcu system bootloader anymore after loading a hex file. (i explained above )

I already configured boot pins like:
boot0 = 1
boot1 = 0
I reset MCU but I can't communicate with MCU.
When i reset mcu it runs my user firmware which i loaded last time. My last user firmware is "Led Blinking" project. It uses PORTA(USART1 is also at PORTA. USART RX and TX are blinking too.)
It should be at system boot mode but it jumps to user program.
Maybe i loaded my user program to the system boot memory. Is it possible?
Because when i run ST's "flash loader demonstrator" PC Software, i cant communicate with mcus system boot loader program.
When I use "Ride" I built some projects and load them to MCU. Everything was working OK.
But I changed the IDE. I used "Keil". I changed same project for Keil. I built it then loaded it to MCU. MCU jumped to user program directly. And never came back. smile
Now I think I can't jump the "system boot mode" so I can't load any .hex file.
How will I jump to "system boot memory"?
Best regards.

Last edited by melihcicek (2011-02-24 09:59:31)

Offline

 

Board footer