This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
manual:demos:nucleo_f746zg_cubeide [2020/09/22 17:08] voorburg |
manual:demos:nucleo_f746zg_cubeide [2023/12/04 22:30] (current) voorburg [Supported firmware update interfaces] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ARM-CM7 STM32 Nucleo-F746ZG ====== | + | ====== ARM-CM7 STM32 Nucleo-F746ZG STM32CubeIDE ====== |
===== Supported firmware update interfaces ===== | ===== Supported firmware update interfaces ===== | ||
- | ^ RS232 ^ CAN ^ USB ^ TCP/IP ^ SD-card ^ | + | ^ RS232 ^ CAN ^ USB ^ TCP/IP ^ SD-card ^ Modbus RTU ^ |
- | | Yes | Yes | Yes | No | No | | + | | Yes | Yes | Yes | No | No | No | |
===== Development Environment ===== | ===== Development Environment ===== | ||
Line 34: | Line 34: | ||
Before the bootloader can be used, it needs to be built and programmed into the STM32F746ZG'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 STM32F746ZG's internal flash memory. The steps in this section only need to be done once. | ||
- | - Set the project as the active project in Eclipse. This is achieved by clicking the **Boot** project in the //Project Explorer// to select it. | + | - Set the project as the active project in Eclipse. This is achieved by clicking the **Boot** project in the //Project Explorer// to select it. |
- | - Delete the file \Target\Demo\ARMCM7_STM32F7_Nucleo_F746ZG_CubeIDE\**Boot**\Debug\**openblt_stm32f746.elf**. | + | - Next, right-click the **Boot** project in the //Project Explorer// and select //Refresh// from the popup menu. |
- | - Next, right-click the **Boot** project in the //Project Explorer// and select //Refresh// from the popup menu. | + | - Finally, right-click the **Boot** project in the //Project Explorer// and select //Build Project// from the popup menu to compile all the bootloader sources and link them together into the final executable. |
- | - Finally, right-click the **Boot** project in the //Project Explorer// and select //Build Project// from the popup menu to compile all the bootloader sources and link them together into the final executable. | + | |
The bootloader program is now ready to be programmed into the internal flash memory of the STM32F746ZG microcontroller. Make sure the Nucleo-F746ZG board is connected to your PC via a USB cable. Next, select //Run -> Debug// from the menu to flash the bootloader program. This will launch the Debug perspective in Eclipse. Once done, you can start the bootloader program by selecting //Run -> Resume// from the menu. | The bootloader program is now ready to be programmed into the internal flash memory of the STM32F746ZG microcontroller. Make sure the Nucleo-F746ZG board is connected to your PC via a USB cable. Next, select //Run -> Debug// from the menu to flash the bootloader program. This will launch the Debug perspective in Eclipse. Once done, you can start the bootloader program by selecting //Run -> Resume// from the menu. | ||
Line 48: | Line 47: | ||
===== Building the Demo Program ===== | ===== Building the Demo Program ===== | ||
- | Set the project as the active project in Eclipse. This is achieved by clicking the **Prog** project in the //Project Explorer// to select it. Right-click the **Prog** project in the //Project Explorer// and select //Clean Project// from the popup menu. Next, right-click the **Prog** project in the //Project Explorer// and select //Refresh// from the popup menu. Finally, right-click the **Prog** project in the //Project Explorer// and select //Build Project// from the popup menu to compile all the user program sources and link them together into the final executable. | + | - Set the project as the active project in Eclipse. This is achieved by clicking the **Prog** project in the //Project Explorer// to select it. |
+ | - Next, right-click the **Prog** project in the //Project Explorer// and select //Refresh// from the popup menu. | ||
+ | - Finally, right-click the **Prog** project in the //Project Explorer// and select //Build Project// from the popup menu to compile all the user program sources and link them together into the final executable. | ||
+ | |||
The output file is | The output file is | ||