Differences

This shows you the differences between two versions of the page.

Link to this comparison view

manual:ports:armcm0_stm32g0 [2019/08/09 12:09]
voorburg [Checksum location]
manual:ports:armcm0_stm32g0 [2019/08/09 12:12] (current)
voorburg [Stackpointer initialization]
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: 2019/08/09 12:12 by voorburg
 
Powered by PHP Driven by DokuWiki