This shows you the differences between two versions of the page.
Last revision Both sides next revision | |||
manual:ports:armcm4_s32k14 [2020/03/20 11:43] voorburg created |
manual:ports:armcm4_s32k14 [2020/03/20 11:43] voorburg |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Bootloader size ===== | ===== Bootloader size ===== | ||
- | Due to the presence of the bootloader in the on-chip flash memory, the start address of the user program needs to be adjusted so make sure both programs do not overlap. Additionally, the bootloader's flash driver needs to be properly configured to prevent accidental erasure of the bootloader during firmware updates. | + | Due to the presence of the bootloader in the on-chip flash memory, the start address of the user program needs to be adjusted to make sure both programs do not overlap. Additionally, the bootloader's flash driver needs to be properly configured to prevent accidental erasure of the bootloader during firmware updates. |
To reserve flash memory for the bootloader and protect it from being erased and/or reprogrammed during firmware updates, comment out lines in table flashLayout[] in source-file **flash.c**. Refer to the demo bootloader program for an example. | To reserve flash memory for the bootloader and protect it from being erased and/or reprogrammed during firmware updates, comment out lines in table flashLayout[] in source-file **flash.c**. Refer to the demo bootloader program for an example. |