User Tools

Site Tools


manual:demos:nucleo_g071rb_gcc

Differences

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

Link to this comparison view

Next revision
Previous revision
manual:demos:nucleo_g071rb_gcc [2019/08/13 15:23]
voorburg created
manual:demos:nucleo_g071rb_gcc [2020/02/06 16:36] (current)
voorburg
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 ​     ^
 | Yes            | No              | No           | No           | No           | | Yes            | No              | No           | No           | No           |
  
Line 27: Line 27:
 ===== Building and programming the Bootloader ===== ===== Building and programming the Bootloader =====
  
-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 STM32G071'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\ARMCM0_STM32F0_Nucleo_F091RC_GCC\Boot\** and run the command:+To build the bootloader, open a command prompt in directory **\Target\Demo\ARMCM0_STM32G0_Nucleo_G071RB_GCC\Boot\** and run the command:
  
 <​code>​ <​code>​
Line 40: Line 40:
 +++ Cleaning build environment +++ Cleaning build environment
 +++ Clean complete +++ Clean complete
-+++ Assembling [startup_stm32f0xx.S] ++++ Assembling [startup_stm32g071xx.s]
-+++ Compiling [main.c]+
 +++ Compiling [hooks.c] +++ Compiling [hooks.c]
 ++++ Compiling [main.c]
 ... ...
-+++ Linking [openblt_stm32f091.elf]                                                                                    ++++ Linking [openblt_stm32g071.elf]
 ... ...
-+++ Build complete [openblt_stm32f091.srec] ++++ Build complete [openblt_stm32g071.srec]
 </​code>​ </​code>​
  
-The bootloader program is now ready to be programmed into the internal flash memory of the STM32F091. Using your favorite programmer (i.e. OpenOCD or STM32 ST-Link utility), flash the bootloader using one of the following files, depending on what file type your programmer supports:+The bootloader program is now ready to be programmed into the internal flash memory of the STM32G071. Using your favorite programmer (i.e. OpenOCD or STM32 ST-Link utility), flash the bootloader using one of the following files, depending on what file type your programmer supports:
  
-  * \Target\Demo\ARMCM0_STM32F0_Nucleo_F091RC_GCC\**Boot**\bin\**openblt_stm32f091.elf** +  * \Target\Demo\ARMCM0_STM32G0_Nucleo_G071RB_GCC\**Boot**\bin\**openblt_stm32g071.elf** 
-  * \Target\Demo\ARMCM0_STM32F0_Nucleo_F091RC_GCC\**Boot**\bin\**openblt_stm32f091.srec**+  * \Target\Demo\ARMCM0_STM32G0_Nucleo_G071RB_GCC\**Boot**\bin\**openblt_stm32g071.srec**
  
 ===== Building the Demo Program ===== ===== Building the Demo Program =====
  
-To build the user program, open a command prompt in directory **\Target\Demo\ARMCM0_STM32F0_Nucleo_F091RC_GCC\Prog\** and run the command:+To build the user program, open a command prompt in directory **\Target\Demo\ARMCM0_STM32G0_Nucleo_G071RB_GCC\Prog\** and run the command:
  
 <​code>​ <​code>​
Line 66: Line 65:
  
 <​code>​ <​code>​
-+++ Cleaning build environment ​                                                                                        ​ ++++ Cleaning build environment 
-+++ Clean complete ​                                                                                                    ​ ++++ Clean complete 
-+++ Assembling [startup_stm32f0xx.S                                                                                  ​ ++++ Assembling [startup_stm32g071xx.s
-+++ Compiling [boot.c]                                                                                                 ​ ++++ Compiling [main.c] 
-+++ Compiling [main.c]                                                                                                 ​++++ Compiling [boot.c]
 ... ...
-+++ Linking [demoprog_stm32f091.elf]++++ Linking [demoprog_stm32g071.elf]
 ... ...
-+++ Build complete [demoprog_stm32f091.srec] ++++ Build complete [demoprog_stm32g071.srec]
 </​code>​ </​code>​
  
 The output file is The output file is
  
-  * \Target\Demo\ARMCM0_STM32F0_Nucleo_F091RC_GCC\**Prog**\bin\**demoprog_stm32f091.srec**+  * \Target\Demo\ARMCM0_STM32G0_Nucleo_G071RB_GCC\**Prog**\bin\**demoprog_stm32g071.srec**
  
 ===== Firmware update procedure ===== ===== Firmware update procedure =====
  
-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_STM32G0_Nucleo_G071RB_GCC\**Prog**\bin\**demoprog_stm32g071.srec** using the bootloader, follow the instructions in the following links, depending on the communication interface you intend to use: 
 + 
 +  * [[manual:​rs232_demo|Firmware updates using the RS232 communication interface]]
  
-  * [[manual:​uart_demo|Firmware updates using the UART communication interface]] 
-  * [[manual:​can_demo|Firmware updates using the CAN communication interface]] 
  
  
manual/demos/nucleo_g071rb_gcc.1565702617.txt.gz · Last modified: 2019/09/24 22:13 (external edit)