Part Number: MSPM0G3519
Hi,
I am developing a custom bootloader on the MSPM0G3519. I created two separate projects:
- Bootloader Project
- Application Project
To separate bootloader and application memory, I modified the flash regions in device_linker.cmd (.cmd) for both projects.
After changing the flash size/origin, the projects are no longer working in debug mode, and I am unable to flash/program the device.
Below are my linker memory configurations.
//Boot memory section
MEMORY
{
FLASH (RX) : origin = 0x00008000, length = 0x00078000
SRAM_BANK0 (RWX) : origin = 0x20200000, length = 0x00010000
SRAM_BANK1 (RWX) : origin = 0x20210000, length = 0x00010000
BCR_CONFIG (R) : origin = 0x41C00000, length = 0x000000FF
BSL_CONFIG (R) : origin = 0x41C00100, length = 0x00000080
DATA (R) : origin = 0x41D00000, length = 0x00004000
}
SECTIONS
{
.intvecs: > 0x000008000
.text : palign(8) {} > FLASH
.const : palign(8) {} > FLASH
.cinit : palign(8) {} > FLASH
.pinit : palign(8) {} > FLASH
.rodata : palign(8) {} > FLASH
.ARM.exidx : palign(8) {} > FLASH
.init_array : palign(8) {} > FLASH
.binit : palign(8) {} > FLASH
.TI.ramfunc : load = FLASH, palign(8), run=SRAM_BANK0, table(BINIT)
.vtable : > SRAM_BANK0
.args : > SRAM_BANK0
.data : > SRAM_BANK0
.bss : > SRAM_BANK0
.sysmem : > SRAM_BANK0
.TrimTable : > SRAM_BANK0
.stack : > SRAM_BANK0 (HIGH)
.BCRConfig : {} > BCR_CONFIG
.BSLConfig : {} > BSL_CONFIG
.DataBank : {} > DATA
}


