• Theodor-Adrian Stana's avatar
    bootloader: FreeRTOS app now boots properly · 6e997732
    Theodor-Adrian Stana authored
    The issue was the SysTick timer, which was configured by the bootloader to
    blink the backlight LEDs, but was not de-configured before booting to the
    application.
    
    Without the SysTick timer de-configured, the FreeRTOS tick timer, which relies
    on the SysTick timer, fired before FreeRTOS could be properly configured. Since
    the FreeRTOS SysTick handler contains some OS-specific functions and data, the
    fact that these were not initialized probably led to a segfault.
    
    This issue was fixed in boot.c, by de-configuring the SysTick timer.
    6e997732
Name
Last commit
Last update
..
make-dir Loading commit data...
.gitignore Loading commit data...
Bootloader-Readme.txt Loading commit data...
EFM32-Cdc.inf Loading commit data...
EFM32-ram.icf Loading commit data...
EFM32-rom.icf Loading commit data...
Licence.txt Loading commit data...
ReadMe.txt Loading commit data...
TAGS Loading commit data...
autobaud.c Loading commit data...
autobaud.h Loading commit data...
bin2h.exe Loading commit data...
boot.c Loading commit data...
boot.h Loading commit data...
bootld.h Loading commit data...
bootldio.c Loading commit data...
bootldio.h Loading commit data...
cdc.c Loading commit data...
cdc.h Loading commit data...
config.h Loading commit data...
crc.c Loading commit data...
crc.h Loading commit data...
descriptors.h Loading commit data...
efm32gg-ram.ld Loading commit data...
efm32gg-rom.ld Loading commit data...
flash.c Loading commit data...
flash.h Loading commit data...
freewatch_utils.c Loading commit data...
freewatch_utils.h Loading commit data...
loader.c Loading commit data...
main.c Loading commit data...
retargetdebug.c Loading commit data...
retargetdebug.h Loading commit data...
usbconfig.h Loading commit data...
xmodem.c Loading commit data...
xmodem.h Loading commit data...