This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
manual:demos:nucleo_l152re_keil [2022/07/30 15:05] voorburg created |
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 42: | Line 42: | ||
* [[manual:rs232_demo|Firmware updates using the RS232 communication interface]] | * [[manual:rs232_demo|Firmware updates using the RS232 communication interface]] | ||
+ | |||
+ | ===== Notes ===== | ||
+ | * 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?|}} | ||
+ | |||