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 May 03, 2013 at 12:20

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

??

Posted on May 03, 2013 at 15:46

I need

an example of

SD

CARD and

thank you

for your help

??

I'm not currently doing engineering or porting work on the F1 platform.

STM32F10x_StdPeriph_Lib_V3.5.0\Project\STM32F10x_StdPeriph_Examples\SDIO\uSDCard\main.c

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 20, 2013 at 10:59

thank you clive,

I have another

question.

I need

to put my

card

STM32

-

P103

standby

I

test the

consumption of all

the

card

I see that

it

uses up to

19mA

but

the literature indicates that

standby power

consumption must

be

to

some

uA

.

here is my code

:

#include ''stm32f10x.h''

#include ''stm32f10x_gpio.h''

#include ''stm32f10x_rcc.h''

#define LED_PORT GPIOC

GPIO_InitTypeDef GPIO_InitStructure;

ErrorStatus HSEStartUpStatus;

void RCC_Configuration(void);

void GPIO_Configuration(void);

void main(void)

{

    

    RCC_Configuration();

    GPIO_Configuration();

    PWR_EnterSTANDBYMode();

    while (1)

    {

    }

}

void RCC_Configuration(void)

{

    RCC_DeInit();

    RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA | RCC_APB2Periph_GPIOB |

    RCC_APB2Periph_GPIOC | RCC_APB2Periph_GPIOD |

    RCC_APB2Periph_GPIOE | RCC_APB2Periph_AFIO, ENABLE);

}

void GPIO_Configuration(void)

{

       GPIO_InitStructure.GPIO_Pin = GPIO_Pin_All;

    GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;

    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AIN;

    GPIO_Init(GPIOA, &GPIO_InitStructure);

    GPIO_Init(GPIOB, &GPIO_InitStructure);

    GPIO_Init(GPIOC, &GPIO_InitStructure);

    GPIO_Init(GPIOD, &GPIO_InitStructure);

    RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA | RCC_APB2Periph_GPIOB | RCC_APB2Periph_GPIOD | RCC_APB2Periph_GPIOE, DISABLE);

    ADC_Cmd(ADC1, DISABLE);

}

and thank you for your help