Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem and a question about Keil and STM32F103RET

Status
Not open for further replies.

rozeh

Junior Member level 1
Junior Member level 1
Joined
Jun 30, 2013
Messages
15
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
115
Hi every body
i wrote this program and i want to program my MCU by J-link programer. but when i want to the build the program, the keil give me this message. How to solve it?






and configurations:













- - - Updated - - -

And my second question:
where can i find all thing about the register and some functions(for example, interrupt's functions) in stm32f10x.h?
for example, about CRH or BSRR or BRR or etc or how to write interrupt's functions or etc.
 

Hi,

Open the Option for target window. In the C/C++ tab write in the define field:
STM32F10X_HD, USE_STDPERIPH_DRIVER
Try to build again. It work ?

The SFR detailed description can be found in STM32F10x reference manual. Download it from ST web.

IRQs function can be add in your stm3210x_it.c using function name same as declared in the vector table.
(See startup_stm32f10x_hd.s)

I hope this is usefull for you.
 
  • Like
Reactions: rozeh

    rozeh

    Points: 2
    Helpful Answer Positive Rating
Hi,

Open the Option for target window. In the C/C++ tab write in the define field:
STM32F10X_HD, USE_STDPERIPH_DRIVER
Try to build again. It work ?

Thank you Alex for reply.
as you said, i did it. look:




but when i built it, it give me this message:



B.T.W: what's mean this defines? where can i find all of them(all defines)?


The SFR detailed description can be found in STM32F10x reference manual. Download it from ST web.

IRQs function can be add in your stm3210x_it.c using function name same as declared in the vector table.
(See startup_stm32f10x_hd.s)

I hope this is usefull for you.

i found it. thank you, Alex!:grin:
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top