File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Examples/MAX32665/Bluetooth/Bootloader Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ the main flash section is erased and replaced with the update image. If no valid
99is identified, the Bootloader will boot the exiting image in the main flash space.
1010
1111__ 0x10000000__ : Bootloader
12- __ 0x10004000 __ : Main flash space
12+ __ 0x10008000 __ : Main flash space
1313__ 0x10080000__ : Update flash space
1414
1515## Setup
1616
17- This Bootloader application needs to be loaded to the first two flash pages . The main application
17+ This Bootloader application needs to be loaded at the beginning of Flash . The main application
1818will run on top of this application. The linker file for the main application must coincide
1919with the memory sections defined in this application. The main application is responsible
2020for updating the update flash space.
Original file line number Diff line number Diff line change 3131/* Boot from the lower flash array */
3232Boot_Lower:
3333
34- ldr r0,=0x10004000 /* Address for main flash image */
34+ ldr r0,=0x10008000 /* Address for main flash image */
3535 ldr r1,=0xE000ED08 /* Address for SCB_VTOR_REG */
3636
3737 /* First 32-bit word in image is initial stack pointer */
Original file line number Diff line number Diff line change 1919 ******************************************************************************/
2020
2121BOOTLOADER_ORIGIN = 0x10000000 ;
22- BOOTLOADER_LEN = 0x4000 ;
22+ BOOTLOADER_LEN = 0x8000 ;
2323FLASH_SECTION_LEN = 0x80000 - BOOTLOADER_LEN;
2424FLASH0_ORIGIN = BOOTLOADER_ORIGIN + BOOTLOADER_LEN;
2525
You can’t perform that action at this time.
0 commit comments