This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
manual:demos:nucleo_f746zg_gcc [2018/12/10 12:54] voorburg created |
manual:demos:nucleo_f746zg_gcc [2020/02/06 16:33] voorburg |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ARM-CM4 STM32 Nucleo-L476RG GCC ====== | + | ====== ARM-CM7 STM32 Nucleo-F746ZG GCC ====== |
===== Supported firmware update interfaces ===== | ===== Supported firmware update interfaces ===== | ||
- | ^ UART ^ CAN ^ USB ^ TCP/IP ^ SD-card ^ | + | ^ RS232 ^ CAN ^ USB ^ TCP/IP ^ SD-card ^ |
- | | Yes | Yes | No | No | No | | + | | Yes | Yes | Yes | No | No | |
===== Development Environment ===== | ===== Development Environment ===== | ||
- | {{:manual:demos:stm32_nucleo_l476rg.png? |}} | + | {{:manual:demos:stm32_nucleo_f746zg.png? |}} |
- | This demo is targeted towards the [[http://www.st.com/en/evaluation-tools/nucleo-l476rg.html|Nucleo-L476RG]] board, with 1 MB internal Flash EEPROM and 128 kB internal RAM. | + | This demo is targeted towards the [[https://www.st.com/en/evaluation-tools/nucleo-f746zg.html|Nucleo-F746ZG]] board, with 1 MB internal Flash EEPROM and 320 kB internal RAM. |
To build the demo programs you can use the [[https://developer.arm.com/open-source/gnu-toolchain/gnu-rm|GNU ARM Embedded]] toolchain. | To build the demo programs you can use the [[https://developer.arm.com/open-source/gnu-toolchain/gnu-rm|GNU ARM Embedded]] toolchain. | ||
Line 26: | Line 26: | ||
===== 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 STM32L476'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 STM32F746'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\ARMCM4_STM32L4_Nucleo_L476RG_GCC\Boot\** and run the command: | + | To build the bootloader, open a command prompt in directory **\Target\Demo\ARMCM7_STM32F7_Nucleo_F746ZG_GCC\Boot\** and run the command: |
<code> | <code> | ||
Line 39: | Line 39: | ||
+++ Cleaning build environment | +++ Cleaning build environment | ||
+++ Clean complete | +++ Clean complete | ||
- | +++ Assembling [startup_stm32l476xx.s] | + | +++ Assembling [startup_stm32f746xx.s] |
+++ Compiling [main.c] | +++ Compiling [main.c] | ||
+++ Compiling [hooks.c] | +++ Compiling [hooks.c] | ||
... | ... | ||
- | +++ Linking [openblt_stm32l476.elf] | + | +++ Linking [openblt_stm32f746.elf] |
... | ... | ||
- | +++ Build complete [openblt_stm32l476.srec] | + | +++ Build complete [openblt_stm32f746.srec] |
</code> | </code> | ||
- | The bootloader program is now ready to be programmed into the internal flash memory of the STM32L476. 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 STM32F746. 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\ARMCM4_STM32L4_Nucleo_L476RG_GCC\**Boot**\bin\**openblt_stm32l476.elf** | + | * \Target\Demo\ARMCM7_STM32F7_Nucleo_F746ZG_GCC\**Boot**\bin\**openblt_stm32f746.elf** |
- | * \Target\Demo\ARMCM4_STM32L4_Nucleo_L476RG_GCC\**Boot**\bin\**openblt_stm32l476.srec** | + | * \Target\Demo\ARMCM7_STM32F7_Nucleo_F746ZG_GCC\**Boot**\bin\**openblt_stm32f746.srec** |
===== Building the Demo Program ===== | ===== Building the Demo Program ===== | ||
- | To build the user program, open a command prompt in directory **\Target\Demo\ARMCM4_STM32L4_Nucleo_L476RG_GCC\Prog\** and run the command: | + | To build the user program, open a command prompt in directory **\Target\Demo\ARMCM7_STM32F7_Nucleo_F746ZG_GCC\Prog\** and run the command: |
<code> | <code> | ||
Line 64: | Line 64: | ||
<code> | <code> | ||
- | +++ Cleaning build environment | + | +++ Cleaning build environment |
- | +++ Clean complete | + | +++ Clean complete |
- | +++ Assembling [startup_stm32l476xx.s] | + | +++ Assembling [startup_stm32f746xx.s] |
- | +++ Compiling [boot.c] | + | +++ Compiling [timer.c] |
- | +++ Compiling [main.c] | + | +++ Compiling [main.c] |
... | ... | ||
- | +++ Linking [demoprog_stm32l476.elf] | + | +++ Linking [demoprog_stm32f746.elf] |
... | ... | ||
- | +++ Build complete [demoprog_stm32l476.srec] | + | +++ Build complete [demoprog_stm32f746.srec] |
</code> | </code> | ||
The output file is: | The output file is: | ||
- | * \Target\Demo\ARMCM4_STM32L4_Nucleo_L476RG_GCC\**Prog**\bin\**demoprog_stm32l476.srec** | + | * \Target\Demo\ARMCM7_STM32F7_Nucleo_F746ZG_GCC\**Prog**\bin\**demoprog_stm32f746.srec** |
===== Firmware update procedure ===== | ===== Firmware update procedure ===== | ||
- | To download the demo program \Target\Demo\ARMCM4_STM32L4_Nucleo_L476RG_GCC\**Prog**\bin\**demoprog_stm32l476.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\ARMCM7_STM32F7_Nucleo_F746ZG_GCC\**Prog**\bin\**demoprog_stm32f746.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:usb_demo|Firmware updates using the USB communication interface]] | ||