/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / STM32 bootloading with UART1

Username:     
Password:     
             

Forum

# 26   2011-12-31 02:13:12 STM32 bootloading with UART1

trauervoll
New member
Registered: 2011-12-31
Posts: 1

Re: STM32 bootloading with UART1

Hi,

I'm a bit confused. To communicate the Flash Loader Demonstrator with my STM3210E_EVAL board through usart1 i need to set the System memory mode.  As described in UM0488 Manual the System memory mode is reached configuring BOOT0=1 & BOOT1=0 but with this configuration i have the normal mode, in other words i have the demonstration SW running, so can't get the Flash Loader Demonstrator connected (no bootloader running in normal mode), other way if I configure BOOT0=0 (User flash) I can connect with Flash Loader Demonstrator without problems O.o

What is the matter?
Is this jumpers exchanged in my board?

Offline

 

# 27   2012-02-09 07:19:22 STM32 bootloading with UART1

saurabh.bansal.90
New member
Registered: 2012-02-08
Posts: 5

Re: STM32 bootloading with UART1

hi all,
i am using Keil Board MCBSTM32, & quite new to STM32.
i want to program it by UART 1, & as according to discussions on this forum i sud have FLASH LOADER DEMONSTRATOR software, but i am unable to get this software.
Please suggest me a valid link for that,,,,,,
thanks in advance.........

Offline

 

# 28   2012-04-03 15:54:41 STM32 bootloading with UART1

marco.andarcia
New member
Registered: 2012-04-03
Posts: 1

Re: STM32 bootloading with UART1

Hi, Everyone

I would like to program my STM32f4 using the UART interface. I found out that I can use the Flash Loader Demonstrator, however I cant find a site to download the most updated version. If anyone could point me to the right direction I would gladly appreciate it.

Thanks in advance.

Offline

 

# 29   2012-05-16 22:47:14 STM32 bootloading with UART1

kld_555
New member
Registered: 2012-05-16
Posts: 2

Re: STM32 bootloading with UART1

The direct link to the Flash bootloader here http://www.st.com/stonline/products/sup … um0462.zip

Offline

 

# 30   2012-05-16 22:58:49 STM32 bootloading with UART1

kld_555
New member
Registered: 2012-05-16
Posts: 2

Re: STM32 bootloading with UART1

In an attempt to revive the topic, I am designing a breakout board for the STM32F103RB,
I have the UART1 pins out to I can serial program it rather than JTAG, but I am having no luck with the flash bootloader sad it gives me different problem messages..
1) "Unrecognized device...please, reset your device then try again"
2) "No response from the target, the boot loader can not be started. Please verify the boot mode configuration and the flash protection status, Reset your device then try again"
3) "Cannot get available commands, please, try to change echo selection, reset your device then try again"

Board:
====
I have a custom made board, which I confirm is working since I have the JTAG pins out as well and was able to connect and program it using Olimex ARM-USB-OCD + Eclipse

Connection:
=======
USB to serial FT232 --> Sparkfun logic level converter (3.3v/5v) --> STM32 UART1 pins

Settings:
======
Boot 0 = 1
Boot 1 = 0

Things I tried:
=========
1 - Set boot 0 & boot 1 to correct setting (As above) then quickly pressing next button on flash bootloader
2 - Power up board, run flash bootloader, pressing next
3 - Power up board, run flash bootloader, press reset button, pressing next

Nothing of that works, for some reason the Flash bootloader does not want to connect to the board sad

Appreciate your input on this...

Last edited by kld_555 (2012-05-16 23:00:47)

Offline

 

# 31   2012-10-06 09:47:34 STM32 bootloading with UART1

knik
New member
Registered: 2012-10-06
Posts: 1

Re: STM32 bootloading with UART1

I had similar problem, tried to use PC serial port to program STM32F103.
At first it refused to work but eventually I discovered that it's not only different voltage but also logic levels are inverted.
STM USART uses +3V as '1' and 0V as '0', pc serial port is very different, it uses +12V as '0' and -12V as '1' -- no wonder they couldn't communicate.
After inverting those levels everything went well.

Offline

 

Board footer