User Tools

Site Tools


manual:ports:armcm0_stm32g0

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:ports:armcm0_stm32g0 [2019/08/09 12:09]
voorburg [Checksum location]
manual:ports:armcm0_stm32g0 [2019/09/24 22:12]
127.0.0.1 external edit
Line 36: Line 36:
 After reset, the bootloader gets started first and, if a valid user program is present, it is the bootloader'​s responsibility to start the user program. This unfortunately means that the automatic initialization of the CPU's stackpointer register does not work for the user program. The user program therefore needs to explicitly set the initial value of the CPU's stackpointer register in the reset interrupt service routine. Refer to the demo program for an example. After reset, the bootloader gets started first and, if a valid user program is present, it is the bootloader'​s responsibility to start the user program. This unfortunately means that the automatic initialization of the CPU's stackpointer register does not work for the user program. The user program therefore needs to explicitly set the initial value of the CPU's stackpointer register in the reset interrupt service routine. Refer to the demo program for an example.
  
-{{:​manual:​ports:​stm32l4_stackpointer_init.png?|}} +{{:​manual:​ports:​stm32g0_stackpointer_init.png?|}}
  
manual/ports/armcm0_stm32g0.txt · Last modified: 2022/11/07 11:29 by voorburg