User Tools

Site Tools


manual:demos:nucleo_l152re_keil

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:nucleo_l152re_keil [2022/07/30 15:06]
voorburg
manual:demos:nucleo_l152re_keil [2023/12/04 22:35] (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           ​| No             ​| No          | No          ​| No           | No           |
  
 ===== Development Environment ===== ===== Development Environment =====
Line 34: Line 34:
 The output file is The output file is
  
-  * \Target\Demo\ARMCM3_STM32L1_Nucleo_L152RE_Keil\**Prog**\bin\**demoprog_stm32l476.srec**+  * \Target\Demo\ARMCM3_STM32L1_Nucleo_L152RE_Keil\**Prog**\bin\**demoprog_stm32l152.srec**
  
  
Line 44: Line 44:
  
 ===== Notes ===== ===== Notes =====
-  * For the demo bootloader ​and user program ​to function ​properly, ​make sure to only use compiler optimization Level 1 **-O1** or Level 0 **-O0**.+  * For the bootloader's flash driver ​to work properly, ​the functions inside //​stm32l1xx_hal_flash_ramfunc.c//​ need to be copied to RAM by the C startup routine, such that they run from RAM. You achieve this by adding the following line to the RAM section in the scatter file: 
 +<​code>​ 
 +stm32l1xx_hal_flash_ramfunc.o (+RO) 
 +</​code>​  
 + 
 +{{:​manual:​demos:​nucleo_l152re_keil_ram_func.png?|}}
  
  
  
manual/demos/nucleo_l152re_keil.1659186375.txt.gz · Last modified: 2022/07/30 15:06 by voorburg