/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Programming STM32

Username:     
Password:     
             

Forum

# 1   2009-12-08 01:58:23 Programming STM32

vineetrvce
New member
Registered: 2009-12-08
Posts: 4

Programming STM32

Hi Group,
  I am planning to use the Flash Loader Demostrater tool from ST to program the STM32F103 series controller. I understand that the programming can be done over the UART. But which UART has to be connected to the PC COM port for flash programmming from the board.

I am using STM3210E-EVAL board. There are 2 UARTs. So which one to connect.

Further do we need to use the handshake signals to program the flash using the  Flash Loader Demostrater ?

Regards,
Vineet.

Offline

 

# 2   2009-12-09 14:35:53 Programming STM32

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Programming STM32

Offline

 

# 3   2011-02-05 06:42:14 Programming STM32

kevinpeter
New member
Registered: 2011-02-05
Posts: 5

Re: Programming STM32

Hi I am at a loss, i have some training with C++ but when it comes to jargon words, I am very confused as I cannot find references for them. It's very different from programming for program for PC, not program for chip.

I know when it comes to words for the constants and variables. I know where to look for declarations. But when it comes to words for hardware parts like
- GPIOB->ODR,
- TIM1->SR,
- and in any other projects

Offline

 

# 4   2011-03-23 12:52:30 Programming STM32

pascal697
Member
Registered: 2011-03-23
Posts: 16

Re: Programming STM32

kevinpeter :

Hi I am at a loss, i have some training with C++ but when it comes to jargon words, I am very confused as I cannot find references for them. It's very different from programming for program for PC, not program for chip.

I know when it comes to words for the constants and variables. I know where to look for declarations. But when it comes to words for hardware parts like
- GPIOB->ODR,
- TIM1->SR,
- and in any other projects

- GPIOB->ODR,
- TIM1->SR,

are no C++. It is basic C : this is the way to address members of structures when the structure variable is a pointer (eg TIM1 is a pointer to a structure and its address is the timer1 base address in the STM312 processor, TIM1 -> SR is the SR member of the structure)

So these are directly pointing to STM32 peripherals registers. You have to refer to RM0008.pdf to get explanations on how to program every register. Another way if you are not familiar with such programmation is to use STM32 librairies. In most libraries, what you have to do is to fill a configuration structure with your implementation details and settings and call the relevant function in the library and this function will fill the registers according to your settings.

Last edited by pascal697 (2011-03-23 12:53:08)

Offline

 

# 5   2013-07-09 13:36:14 Programming STM32

shahrokh
New member
Registered: 2013-06-20
Posts: 2

Re: Programming STM32

vineetrvce :

Hi Group,
  I am planning to use the Flash Loader Demostrater tool from ST to program the STM32F103 series controller. I understand that the programming can be done over the UART. But which UART has to be connected to the PC COM port for flash programmming from the board.

I am using STM3210E-EVAL board. There are 2 UARTs. So which one to connect.

Further do we need to use the handshake signals to program the flash using the  Flash Loader Demostrater ?

Regards,
Vineet.

File where deleted from server.help me please...

Offline

 

# 6   2013-07-18 12:00:16 Programming STM32

Etienne.C
Administrator
Registered: 2012-12-04
Posts: 71

Re: Programming STM32

Offline

 

Board footer