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 21, 2013 at 14:43

Per the document I cited, only USART1 is usable by the System Loader of the STM32F103 chip. You can't use this mechanism easily, use a JTAG programmer.

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 21, 2013 at 15:59

thank you for your response but i don't have adaptater JTAG/USB.

I have question I am choose the software MikroC pro for ARM i want to deboguerwithout hardware, I debuggefunction sets up the software in such ADC1_Init () and after software rest function in this

Here are pictures showing problem

and thank you

________________

Attachments :

debugger.pdf : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I14L&d=%2Fa%2F0X0000000bhn%2FsbmJbZPH1DFDjskNpmdi136Sxw1n8mHTHkx8w.A0g5k&asPdf=false
Posted on March 21, 2013 at 16:19

This tells me very little about the problem, you will need to step into the subroutine to determine why it doesn't 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 21, 2013 at 17:59

thank you I can solve the problem of a debugger I have another question

the ability to program the STM32-P103 the Olimex board that contains the 20 pin JTAG by JTAG  with 14 pin  XDS560 type.?????

and thank you

Posted on March 21, 2013 at 19:06

While the JTAG connection will have many signals in common, the support to program and debug the STM32 might be limiting. If you want a cheap debuggable solution consider one of ST's Discovery series boards with a built in debugger. These run $10-20

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 21, 2013 at 19:29

I did not understand I can just find a JTAG adapter / USB Type ''XDS560'' 14 PIN.

my question the ability to program and debugged the STM32-P103 card by this adapter '' XDS560''(14 PIN)

this card STM32-P103 contain a port JTAG of  20PIN???

and thank you

Posted on March 21, 2013 at 20:16

So does this XDS560 work with STM32 parts? Is the 14-pin like the ARM standard, or TI specific? Do you have an interposer to allow you to connect it?

If you can't answer those questions with solid yes's, then assume it's not compatible, and you don't have the resources to resolve that.

http://www.st.com/web/en/catalog/tools/FM116/SC959/SS1532/PF250863

http://www.st.com/web/en/catalog/tools/PF252419

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 22, 2013 at 10:37

thank you

for your reply

I'll see

 

mustapha_menhou
Associate II
Posted on March 25, 2013 at 22:38

Hi i

 would like

 

to use the circuit

 

MAX3232

 

(

RS232 

adapter

) to connect two 

PORT

 

RS232

 

with this

 circuit 

using just

 

TX and RX

 

only

if possible

 

this experience?

????

and thank you 

Posted on March 26, 2013 at 00:23

http://www.st.com/st-web-ui/static/active/en/resource/technical/layouts_and_diagrams/schematic_pack/stm324xg-eval_sch.zip

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..