This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
manual:demos:nucleo_f103rb_cubeide [2020/12/09 11:07] voorburg created |
manual:demos:nucleo_f103rb_cubeide [2023/12/04 22:19] (current) voorburg [Supported firmware update interfaces] |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== 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 | No | No | No | No | | + | | Yes | Yes | No | No | No | No | |
===== Development Environment ===== | ===== Development Environment ===== | ||
Line 35: | Line 35: | ||
- 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\ARMCM3_STM32F1_Nucleo_F103RB_CubeIDE\**Boot**\Debug\**openblt_nucleo_stm32f103rb.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. | ||
Line 43: | Line 42: | ||
Alternatively, you can use your favorite programmer to flash the bootloader using one of the following files, depending on what file type your programmer supports: | Alternatively, you can use your favorite programmer to flash the bootloader using one of the following files, depending on what file type your programmer supports: | ||
- | * \Target\Demo\ARMCM3_STM32F1_Nucleo_F103RB_CubeIDE\**Boot**\Debug\**openblt_nucleo_stm32f103rb.elf** | + | * \Target\Demo\ARMCM3_STM32F1_Nucleo_F103RB_CubeIDE\**Boot**\Debug\**openblt_stm32f103.elf** |
- | * \Target\Demo\ARMCM3_STM32F1_Nucleo_F103RB_CubeIDE\**Boot**\Debug\**openblt_nucleo_stm32f103rb.srec** | + | * \Target\Demo\ARMCM3_STM32F1_Nucleo_F103RB_CubeIDE\**Boot**\Debug\**openblt_stm32f103.srec** |
===== 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. | - Set the project as the active project in Eclipse. This is achieved by clicking the **Prog** project in the //Project Explorer// to select it. | ||
- | - Delete the file \Target\Demo\ARMCM3_STM32F1_Nucleo_F103RB_CubeIDE\**Prog**\Debug\**demoprog_nucleo_stm32f103rb.elf**. | ||
- Next, right-click the **Prog** project in the //Project Explorer// and select //Refresh// 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. | - 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. | ||
Line 55: | Line 53: | ||
The output file is | The output file is | ||
- | * \Target\Demo\ARMCM3_STM32F1_Nucleo_F103RB_CubeIDE\**Prog**\Debug\**demoprog_nucleo_stm32f103rb.srec** | + | * \Target\Demo\ARMCM3_STM32F1_Nucleo_F103RB_CubeIDE\**Prog**\Debug\**demoprog_stm32f103.srec** |
===== Firmware update procedure ===== | ===== Firmware update procedure ===== | ||
- | To download the demo program \Target\Demo\ARMCM3_STM32F1_Nucleo_F103RB_CubeIDE\**Prog**\Debug\**demoprog_nucleo_stm32f103rb.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\ARMCM3_STM32F1_Nucleo_F103RB_CubeIDE\**Prog**\Debug\**demoprog_stm32f103.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:rs232_demo|Firmware updates using the RS232 communication interface]] | ||
+ | * [[manual:can_demo|Firmware updates using the CAN communication interface]] | ||