cancel
Showing results for 
Search instead for 
Did you mean: 

problem STM32-P103 flash loader demonstrator

mustapha_menhou
Associate II
Posted on March 20, 2013 at 19:17

hi

now I

am trying to

achieve

a

basic

equipment

card

STM31

-P103

Olimex

of

(

STM32F103RB

microcontroller

),

I used

the

Flash

loader

demonstrator

program

for

the card (

boot0=1 

boot1

= 0) and i chose COM3, baude=115200, parity=None, Echo=Disable, Time out=10

 

but it always

displays the

following error

:

''no response from the target the boot loader can not be started

thank you for

your help'' 

thank you for

your help.

42 REPLIES 42
Posted on March 20, 2013 at 21:48

The system loader expects even parity. You can test in a terminal program by sending an 0x7F byte and getting an 0x79 response. 9600 8E1 or 115200 8E1 should work.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
mustapha_menhou
Associate II
Posted on March 20, 2013 at 23:53

can you

explain a

little

detail

 , 

because I am

beginner and

thank you ???

Posted on March 21, 2013 at 01:00

The BOOT0=High(1) initiate the System Loader stored in the STM32's ROM

A serial terminal program is something like RealTerm or TeraTerm, allows you to communicate with the attached device via a serial port.

0x7F is a byte in hex, if you send this byte to the System Loader it should recognized it, and respond with an 0x79 acknowledgement. Doing this is a basic test that the System Loader is there and responsive, if this doesn't work you're not going to get other tools to talk to it either.

http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf

http://www.st.com/web/en/resource/technical/document/application_note/CD00264342.pdf

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
trevor23
Associate III
Posted on March 21, 2013 at 01:56

Just to add that 0x7F can usually be sent from a terminal by pressing the ''Delete'' key on your keyboard

mustapha_menhou
Associate II
Posted on March 21, 2013 at 10:57

thank you for

your help

but I can not

to solve

the problem,

hyperterminal

not receiving any

information

here is a

PDF

that illustrates

my

problem?

??

and thank you for

helping me.

________________

Attachments :

problem.pdf : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0u9&d=%2Fa%2F0X0000000bhp%2FSqidWpeB1a_zLWKI8l.8aP0__i66LPRiKJOLo0lkcsI&asPdf=false
trevor23
Associate III
Posted on March 21, 2013 at 11:17

Hyper-terminal does not have a binary mode so not a good choice in this case (or any case really). Use Tera Term or RealTerm as suggested by Clive.

Do you have null modem that you could use to test your serial port using another serial port that you know works? Are you sure the serial port works i.e. you have used it for something else previously with success?

mustapha_menhou
Associate II
Posted on March 21, 2013 at 11:32

I

tested

the port of my

PC

by

Matlab

I

shorted

with

RX

and

TX

I send

characters

after

I receive this characters.

mustapha_menhou
Associate II
Posted on March 21, 2013 at 12:29

I

tested

several

speed

but I can not

get anything

except

a

speed

1200

but I think

the noise

Here

is

an image that

shows the

characters

received

________________

Attachments :

bruit.bmp : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I13O&d=%2Fa%2F0X0000000bho%2FQTFh5yBIjSv3AvGjVDuRDnpwXFXEBvDSrGKVcEzFGqk&asPdf=false
mustapha_menhou
Associate II
Posted on March 21, 2013 at 13:15

STM32

-P103

card

from

Olimex

uses

USART2 in

 

the

RS232 port and

 

USART1 in

UEXT

.

I know

if the problem

at

USART

???????

and thank you