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 29, 2013 at 20:24

Desired connection

TX -------> RX

RX <------- TX

Connecting two transmitting pins together doesn't work

TX ---><--- TX
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 April 20, 2013 at 12:44

thank you clive1

for your

answer

I have another

problem

, I

use the

GCC

4.7

compiler

in

Coocox

COIDE

when I

exceeded

some

limit

I receive

the

following error

:

''

Assembler

messages

       

[

cc]

       

[

cc]

E: \

DOCUME ~

1 \

MENHOU

\ LOCALS

~ 1 \

Temp \

cceySj0X.s

:

464

: Error

: offset

out of range

       

[

cc]

E: \

DOCUME ~

1 \

MENHOU

\ LOCALS

~ 1 \

Temp \

cceySj0X.s

: 465: Error

: offset

out of range ''

and thank you.

Posted on April 20, 2013 at 13:00

Sounds like a problem with the compiler's code generation, and literal placement. You could perhaps make your subroutine smaller, or break it into pieces.

To resolve the problem you'd need to find a compiler developer, and supply an example or test case.
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 April 20, 2013 at 13:14

thank you

but I

did not understand

??

Posted on April 20, 2013 at 13:20

thank you

but I

did not understand

??

It's a compiler bug, talk to people on a compiler mailing list. Talk to the CooCox people on their forum.

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 April 20, 2013 at 13:46

thank you clive

tell me

, the GCC

4.7

compiler

free

or not

??

Posted on April 20, 2013 at 14:10

GNU/GCC is open source, and is freely available from places like Yagarto.

Code Sourcery (Mentor Graphics) is a commercial organization, and sells their environment and make tools. You don't have to buy from them, or anyone else exploiting the GNU tools for commercial gain, be it Rowley, CooCox, Ride, or Atollic. You are basically paying for a packaged solution and support. Open source users need to be self supporting, if you need support expect to pay someone to provide it.

CooCox has a weird organization, perhaps it's a cultural thing?
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 April 22, 2013 at 16:41

thank you clive;

I can

solve the problem

,

 

I

encountered another

problem

with regard to the

SD card

I do not know

,

how to

test

this card (SD) in

STM32

-

P103.

I

also

want

to format

the SD card with

a

FAT

16

thank you

for your help

Posted on April 22, 2013 at 16:52

For new unrelated topics please start a new thread.

https://www.olimex.com/Products/ARM/ST/STM32-P103/

You should review the example available for the board (Mass Storage?), and those provided by ST in their assorted libraries.

I don't have this board, and I'm not currently working on F1 code.

Would suggest you review FatFs and your porting needs.

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 May 02, 2013 at 12:29

thank you clive for your help.

I have a problem

with

SD

card,

at first

I used

the

mikroC

PRO

FOR ARM

,

the SD card

it works

fine, but the

problem

is

that

software is limited

(

license

required

)

and for this

I used

Coocox

COIDE

as

software

but I can not

to solve

the problem

of the SD Card

, I

already

apply

to

problem

in the

forum

COOCOX

but people

no

replied

.

I need

an example of

SD

CARD and

thank you

for your help

?

?