User Tools

Site Tools


manual:demos:olimex_stm32p103_crossworks

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
manual:demos:olimex_stm32p103_crossworks [2016/10/27 23:14]
voorburg [Supported firmware update interfaces]
manual:demos:olimex_stm32p103_crossworks [2019/09/24 22:12] (current)
Line 1: Line 1:
 ====== ARM-CM3 STM32 Olimex STM32P103 Crossworks ====== ====== ARM-CM3 STM32 Olimex STM32P103 Crossworks ======
- 
- 
  
 ===== Supported firmware update interfaces ===== ===== Supported firmware update interfaces =====
Line 7: Line 5:
 ^ UART           ^ CAN             ^ USB          ^ TCP/​IP ​      ^ SD-card ​     ^ ^ UART           ^ CAN             ^ USB          ^ TCP/​IP ​      ^ SD-card ​     ^
 | Yes            | Yes             | No           | No           | Yes          | | Yes            | Yes             | No           | No           | Yes          |
- 
- 
  
 ===== Development Environment ===== ===== Development Environment =====
- 
- 
  
 {{:​manual:​demos:​olimex_stm32p103.gif?​200 |}} {{:​manual:​demos:​olimex_stm32p103.gif?​200 |}}
- 
- 
  
 This demo is targeted towards the [[http://​olimex.com/​dev/​stm32-p103.html|Olimex STM32P103]] board, with 128 kB internal Flash EEPROM and 20 kB internal RAM. This demo is targeted towards the [[http://​olimex.com/​dev/​stm32-p103.html|Olimex STM32P103]] board, with 128 kB internal Flash EEPROM and 20 kB internal RAM.
- 
- 
  
 To program the bootloader into the internal flash on the STM32F103 microcontroller,​ the [[http://​www.olimex.com/​dev/​arm-usb-tiny-h.html|Olimex ARM-USB-TINY-H]] JTAG interface was used. However, this is not required if you have another means of programming the internal flash. To program the bootloader into the internal flash on the STM32F103 microcontroller,​ the [[http://​www.olimex.com/​dev/​arm-usb-tiny-h.html|Olimex ARM-USB-TINY-H]] JTAG interface was used. However, this is not required if you have another means of programming the internal flash.
- 
- 
  
 To compile the demo programs you can use the [[http://​www.rowley.co.uk/​|Rowley Crossworks for ARM]] development environment. ​ To compile the demo programs you can use the [[http://​www.rowley.co.uk/​|Rowley Crossworks for ARM]] development environment. ​
- 
- 
- 
- 
  
 ===== 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 STM32F103'​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 STM32F103'​s internal flash memory. The steps in this section only need to be done once.
- 
- 
  
 When using Rowley CrossWorks, simply open the project from within CrossWorks. The project file is located at: \Target\Demo\ARMCM3_STM32F1_Olimex_STM32P103_Crossworks\**Boot**\ide\ When using Rowley CrossWorks, simply open the project from within CrossWorks. The project file is located at: \Target\Demo\ARMCM3_STM32F1_Olimex_STM32P103_Crossworks\**Boot**\ide\
- 
- 
  
 The bootloader program is now ready to be programmed into the internal flash memory of the STM32F103. Using your favorite programmer, 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 STM32F103. Using your favorite programmer, flash the bootloader using one of the following files, depending on what file type your programmer supports:
- 
- 
  
   * \Target\Demo\ARMCM3_STM32F1_Olimex_STM32P103_Crossworks\**Boot**\bin\**openblt_olimex_stm32p103.elf**   * \Target\Demo\ARMCM3_STM32F1_Olimex_STM32P103_Crossworks\**Boot**\bin\**openblt_olimex_stm32p103.elf**
- 
   * \Target\Demo\ARMCM3_STM32F1_Olimex_STM32P103_Crossworks\**Boot**\bin\**openblt_olimex_stm32p103.srec**   * \Target\Demo\ARMCM3_STM32F1_Olimex_STM32P103_Crossworks\**Boot**\bin\**openblt_olimex_stm32p103.srec**
- 
- 
  
 ===== Building the Demo Program ===== ===== Building the Demo Program =====
  
 When using Rowley CrossWorks, simply open the project from within CrossWorks. The project file is located at: \Target\Demo\ARMCM3_STM32F1_Olimex_STM32P103_Crossworks\**Prog**\ide\ When using Rowley CrossWorks, simply open the project from within CrossWorks. The project file is located at: \Target\Demo\ARMCM3_STM32F1_Olimex_STM32P103_Crossworks\**Prog**\ide\
- 
- 
  
 The output file is The output file is
  
   * \Target\Demo\ARMCM3_STM32F1_Olimex_STM32P103_Crossworks\**Prog**\bin\**demoprog_olimex_stm32p103.srec**   * \Target\Demo\ARMCM3_STM32F1_Olimex_STM32P103_Crossworks\**Prog**\bin\**demoprog_olimex_stm32p103.srec**
- 
- 
  
 ===== Firmware update procedure ===== ===== Firmware update procedure =====
  
 To download the demo program \Target\Demo\ARMCM3_STM32F1_Olimex_STM32P103_Crossworks\**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_Crossworks\**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:
- 
- 
  
   * [[manual:​uart_demo|Firmware updates using the UART communication interface]]   * [[manual:​uart_demo|Firmware updates using the UART communication interface]]
- 
   * [[manual:​can_demo|Firmware updates using the CAN communication interface]]   * [[manual:​can_demo|Firmware updates using the CAN communication interface]]
- 
   * [[manual:​sdcard_demo|Firmware updates from SD-card]]   * [[manual:​sdcard_demo|Firmware updates from SD-card]]
  
  
manual/demos/olimex_stm32p103_crossworks.txt ยท Last modified: 2019/09/24 22:12 (external edit)