User Tools

Site Tools


manual:demos:nucleo_f091rc_gcc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:demos:nucleo_f091rc_gcc [2017/07/19 15:13]
voorburg
manual:demos:nucleo_f091rc_gcc [2023/12/04 22:17] (current)
voorburg [Supported firmware update interfaces]
Line 3: Line 3:
 ===== Supported firmware update interfaces ===== ===== Supported firmware update interfaces =====
  
-UART           ^ CAN             ​^ USB          ^ TCP/​IP ​      ​^ SD-card ​     ^ +RS232         ^ CAN            ^ USB         ​^ TCP/​IP ​     ^ SD-card ​     ​^ Modbus RTU   
-| Yes            | Yes             ​| No           ​| No           | No           |+| Yes           ​| Yes            | No          | No          ​| No           | No           |
  
 ===== Development Environment ===== ===== Development Environment =====
Line 28: Line 28:
 Before the bootloader can be used, it needs to be built and programmed into the STM32F091'​s internal flash memory. The steps in this section only need to be done once. Before the bootloader can be used, it needs to be built and programmed into the STM32F091'​s internal flash memory. The steps in this section only need to be done once.
  
-To build the bootloader, open a command prompt in directory **\Target\Demo\RMCM0_STM32F0_Nucleo_F091RC_GCC\Boot\** and run the command:+To build the bootloader, open a command prompt in directory **\Target\Demo\ARMCM0_STM32F0_Nucleo_F091RC_GCC\Boot\** and run the command:
  
 <​code>​ <​code>​
Line 56: Line 56:
 ===== Building the Demo Program ===== ===== Building the Demo Program =====
  
-When using EmBitzsimply ​open the project file by double-clicking the file: \Target\Demo\ARMCM0_STM32F0_Nucleo_F091RC_GCC\**Prog**\ide\**stm32f091.ebp** from the Windows Explorer. To build the demo program, select //Build -Rebuild ​all target files// from the program'​s menu+To build the user program, open a command prompt in directory **\Target\Demo\ARMCM0_STM32F0_Nucleo_F091RC_GCC\Prog\** ​and run the command: 
 + 
 +<code> 
 +make clean all 
 +</code> 
 +  
 +The expected output is: 
 + 
 +<​code>​ 
 ++++ Cleaning build environment ​                                                                                         
 ++++ Clean complete ​                                                                                                     
 ++++ Assembling [startup_stm32f0xx.S]                                                                                    
 ++++ Compiling [boot.c] ​                                                                                                 
 ++++ Compiling [main.c] ​                                                                                                 
 +... 
 ++++ Linking [demoprog_stm32f091.elf] 
 +... 
 ++++ Build complete [demoprog_stm32f091.srec] 
 + 
 +</​code>​
  
 The output file is The output file is
  
   * \Target\Demo\ARMCM0_STM32F0_Nucleo_F091RC_GCC\**Prog**\bin\**demoprog_stm32f091.srec**   * \Target\Demo\ARMCM0_STM32F0_Nucleo_F091RC_GCC\**Prog**\bin\**demoprog_stm32f091.srec**
- 
  
 ===== Firmware update procedure ===== ===== Firmware update procedure =====
Line 67: Line 85:
 To download the demo program \Target\Demo\ARMCM0_STM32F0_Nucleo_F091RC_GCC\**Prog**\bin\**demoprog_stm32f091.srec** using the bootloader, follow the instructions in the following links, depending on the communication interface you intend to use: To download the demo program \Target\Demo\ARMCM0_STM32F0_Nucleo_F091RC_GCC\**Prog**\bin\**demoprog_stm32f091.srec** using the bootloader, follow the instructions in the following links, depending on the communication interface you intend to use:
  
-  * [[manual:uart_demo|Firmware updates using the UART communication interface]]+  * [[manual:rs232_demo|Firmware updates using the RS232 communication interface]]
   * [[manual:​can_demo|Firmware updates using the CAN communication interface]]   * [[manual:​can_demo|Firmware updates using the CAN communication interface]]
  
  
manual/demos/nucleo_f091rc_gcc.1500470039.txt.gz · Last modified: 2019/09/24 22:13 (external edit)