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
mustapha_menhou
Associate II
Posted on March 26, 2013 at 00:53

thank you clive,

Here is a

PDF

that

represents

my problem

this

configuration it is

possible

?

??

________________

Attachments :

Doc1.pdf : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HtVe&d=%2Fa%2F0X0000000aR3%2F7.kZebevE9Q3YD_2PjtScJ8x7no..U1uLyRB8rL2yVA&asPdf=false
Posted on March 26, 2013 at 09:33

''Here is a PDF that represents my problem.  this configuration it is  possible?''

Already answered in your other thread on the same question:

/99ba287d

Posted on March 26, 2013 at 09:43

Trying to work without JTAG is sheer folly!

 

You are clearly struggling, so don't make life any harder for yourself than it needs to be - get a ready-to-use  JTAG adaptor!

 

 

I would strongly recommend that you follow clive1's suggestion to get a Discovery board - they come complete with a built-in program/debug adaptor.

Once you have built up your basic skills on the Discovery board, you can then progress to the Olimex board, if that is still appropriate
Posted on March 26, 2013 at 09:57

Rather than mess with RS232 transceivers (which seems to be somewhat out of your comfort zone?) I would suggest that you use something like this:

http://www.ftdichip.com/Products/Cables/USBTTLSerial.htm

It just plugs into a USB port on your PC, and appears to PC apps as a perfectly standard COM: port.

The other end provideslogic-level signals for direct connection to a microcontroller's UART pins (be sure to get the correct voltage version; 3V3 or 5V).

There's also this version, which provides just Rx, Tx, and GND as individual pins - so you don't have to worry about matching the multi-way connector pinout:

0690X00000602kzQAA.jpg

http://www.ftdichip.com/Products/Cables/RPi.htm

(they call it ''Raspberry Pi Cable'' - but it really has nothing specific to the RPi).

mustapha_menhou
Associate II
Posted on March 27, 2013 at 18:36

I can

solve

the problem, thank you for your help

just I have other question 

I have

just

one

question:

I would like

to use the

real-time clock

(RTC)

in the

STM32

-P103

Olimex

board

, I used

MikroC

pro

software

for ARM

programming

.

I

selected

frequency

as

70MHz

and I test

a simple program (

LED

blink)

and

the program

works, but

when I

configure

the

real-time clock

(RTC)

I see that the

program

does

not work and

the LED does

not

blinking

.

I think

the problem

at the level of

the clock

that is

to say

:

STM32F103RB

the microcontroller

uses

the internal clock

?

?

?

and thank you

Posted on March 27, 2013 at 19:22

Sounds like a coding error, using code I can't see, on a platform I'm not using.

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 28, 2013 at 19:27

thank you very much

I

have another question

regarding the

RS232

communication

between my

PC

and the board

STM32-

P103.

in

the first

time I

test the communication

by:

-

Shorted

TX with

RX

 of 

my card

I see that

my program

it works but

when

I do

communicate with

my PC

using

software

Tera Term

VT

  

I don't receive any

 

data in

 window

of

Tera Term

VT?

???

and thank you.

mustapha_menhou
Associate II
Posted on March 29, 2013 at 18:22

I have a question regarding the RS232 communication (USART2), in a firsttime I tested the RS232 PORT of my STM32-P103 board by shortcircuited TX with RX I noticed that the communication it works well as Itest the PORT of my PC I see that the communication it works well butwhen I connected the RS232 PORT of STM32-P103 card with PORT RS232 ofmy PC and I used Hyperterminal to test it, I don't received anycharacter I think the problem is at logic level between the PC and thecard but I do not know????

and thank you for your helpI have a question regarding the RS232 communication (USART2), in a firsttime I tested the RS232 PORT of my STM32-P103 board by shortcircuited TX with RX I noticed that the communication it works well as Itest the PORT of my PC I see that the communication it works well butwhen I connected the RS232 PORT of STM32-P103 card with PORT RS232 ofmy PC and I used Hyperterminal to test it, I don't received anycharacter I think the problem is at logic level between the PC and thecard but I do not know????

and thank you for your help

Posted on March 29, 2013 at 19:45

Or the sense of the cable is wrong. There are a couple of ways to wire RS232 connectors, and male-female orientations.

Do you need a straight through connection (Extention, M-to-F), or a cross-over (NULL Modem) type cable?

The transmitting signal at one end needs to connect to the receiving end at the other, the designation may not be coherent, you need to go with the electron flow and not how something might be labelled. Use a scope if you have to.

The USART TX on the STM32 is the outbound signal, always.
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 29, 2013 at 19:57

clive1

thank you

but I do not

understand

.

I also

did not understand ''

The USART TX on the STM32 is the outbound signal, always''.