This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I am using the MSP432P401R Evaluation Board (Launchpad) in my project.
In my project requirement, i need to build two seperate projects one for bootloader and one for Application.And both the bootloader and application has to be downloaded into the MSP432p401R without over riding each others allotted memory locations.
So i have configured the .cmd files of both Bootloader and Application as attached.Initially when i am dumping only bootloader its running fine.
Secondly when i download the application file without erasing the memory allocated for boot loader, the application is continously getting reset.
I find problem with relocating the Interrupt vector table location.
************************************************************************************************************************************************************************
Bootloader Code Settings
*****************************************************************************/
--retain=flashMailbox
MEMORY
{
BOOT (RX) : origin = 0x00000000, length = 0x00004000
INFO (RX) : origin = 0x00200000, length = 0x00004000
SRAM_CODE (RWX): origin = 0x01000000, length = 0x00010000
SRAM_DATA (RW) : origin = 0x20000000, length = 0x00010000
}
/* Section allocation in memory */
SECTIONS
{
.intvecs: > 0x00000000
.text : > BOOT
.const : > BOOT
.cinit : > BOOT
.pinit : > BOOT
.init_array : > BOOT
.flashMailbox : > 0x00200000
.vtable : > 0x20000000
.data : > SRAM_DATA
.bss : > SRAM_DATA
.sysmem : > SRAM_DATA
.stack : > SRAM_DATA (HIGH)
}
/* Symbolic definition of the WDTCTL register for RTS */
WDTCTL_SYM = 0x4000480C;
***********************************************************************************************************************************************************************
Application Code Settings
/******************************************************************************
--retain=flashMailbox
MEMORY
{
MAIN (RX) : origin = 0x00004000, length = 0x00020000
INFO (RX) : origin = 0x00200000, length = 0x00004000
SRAM_CODE (RWX): origin = 0x01000000, length = 0x00010000
SRAM_DATA (RW) : origin = 0x20000000, length = 0x00010000
}
/* Section allocation in memory */
SECTIONS
{
.intvecs: > 0x00004000
.text : > MAIN
.const : > MAIN
.cinit : > MAIN
.pinit : > MAIN
.init_array : > MAIN
.flashMailbox : > 0x00200000
.vtable : > 0x20000000
.data : > SRAM_DATA
.bss : > SRAM_DATA
.sysmem : > SRAM_DATA
.stack : > SRAM_DATA (HIGH)
}
/* Symbolic definition of the WDTCTL register for RTS */
WDTCTL_SYM = 0x4000480C;
**Attention** This is a public forum