User Tools

Site Tools


manual:demos:olimex_stm32p103_truestudio

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
Next revision Both sides next revision
manual:demos:olimex_stm32p103_truestudio [2018/06/06 22:24]
voorburg [Building and programming the Bootloader]
manual:demos:olimex_stm32p103_truestudio [2018/06/07 12:17]
voorburg [Firmware update procedure]
Line 45: Line 45:
 ===== Building the Demo Program ===== ===== Building the Demo Program =====
  
-To build the user program, open a command prompt ​in directory ​**\Target\Demo\ARMCM3_STM32F1_Olimex_STM32P103_GCC\Prog\** and run the command: +Set the project as the active project ​in Eclipse. This is achieved by clicking the **Prog** ​project in the //Project Explorer// to select itNext, select ​//Project -Rebuild Project// from the menu to compile all the user program sources and link them together into the final executable.
- +
-<​code>​ +
-make clean all +
-</code> +
-  +
-The expected output is: +
- +
-<​code>​ +
-+++ Compiling [boot.c] +
-+++ Compiling [main.c] +
-... +
-+++ Linking [demoprog_olimex_stm32p103.elf] +
-... +
-+++ Build complete [demoprog_olimex_stm32p103.srec] +
-</code>+
  
 The output file is The output file is
  
-  * \Target\Demo\ARMCM3_STM32F1_Olimex_STM32P103_GCC\**Prog**\bin\**demoprog_olimex_stm32p103.srec**+  * \Target\Demo\ARMCM3_STM32F1_Olimex_STM32P103_TrueStudio\**Prog**\Debug\**demoprog_olimex_stm32p103.srec**
  
 ===== Firmware update procedure ===== ===== Firmware update procedure =====
  
-To download the demo program \Target\Demo\ARMCM3_STM32F1_Olimex_STM32P103_GCC\**Prog**\bin\**demoprog_olimex_stm32p103.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_Olimex_STM32P103_TrueStudio\**Prog**\Debug\**demoprog_olimex_stm32p103.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:​uart_demo|Firmware updates using the UART communication interface]]
manual/demos/olimex_stm32p103_truestudio.txt · Last modified: 2020/02/06 16:24 by voorburg