Part Number:MSP432P4111
Tool/software: Code Composer Studio
Hi,
I am working on the MSP-EXP432P4111 LaunchPad with CCS8.3.
I want to do a bootloader with some new features. For example (1) getting into the booloader if "Enter" key is pressed when system power up; (2) the bootloader can write the firmware into flash memory on chip, the new firmware is a file from the file system in an external spi flash chip.
(1) I download the BSL package "MSP432BSL_1_01_00_00" and try to build/debug/program this BSL firmware into my launchpad. I did not modify the source code.
I follow the instruction steps in Part5 of the user guide(SLAU622G).
Import project, Build Debug_BSL_P4111 and Release_BSL_P4111 configuration, New Target configration for MSP432P4111 and Launch this new configuration, Debug...
But at this time I find a problem as following. How can I fix it?
![]()
(2) I have some other questions about the BSL.
the BSL f/w will be programmed into the information memory. I would add more codes into the customer BSL and its size will be bigger than the default one. what is its maximum size?
8KB(Bank 0 Sector 2 and Sector 3) or
24KB(Bank 0 Sector 2 and Sector 3, 4 sectors from Bank 1). which one is correct?
(3) I tried to use the override mailbox to enable the hardware BSL invocation. I add file "msp432-flashmailbox.c" into the original BSL project which will make a new BSL configure. Finally it works because the correct answer "0xACE" is found in the mailbox and the BSL configure command is removed.
I am curious that where did the BSL configure command change? Where I can find this modification about the hardware BSL invocation?
(4) Is it permitted to the change BSL configuration in TLV? Maybe I want to use another UART pins for my bootloader.
(5) The BSL firmware size in the information memory is limited, maybe it is feasible to make a main memory bootloader for MSP432. it is correct?
I found the main memory bootloader for MSP430, but not for MSP432.
From Page 122 of MSP432P4111 datasheet.
6.4.1.1 Flash Main Memory (0x0000_0000 to 0x001F_FFFF)
The flash main memory on MSP432P4x1x devices can be up to 2MB. Flash main memory consists of up
to 512 sectors of 4KB each, with a minimum erase granularity of 4KB (1 sector). The main memory can be
viewed as two independent identical banks of up to 1MB each, allowing simultaneous read or execute
from one bank while the other bank is undergoing a program or erase operation.
As showed in the datasheet, the main memory bootloader and the application must in different bank(the first 1MB bank and another 1MB bank)?
there are 512 sectors of 4KB each. Is it possible that the bootloader uses the first 64 sectors, the application uses the following 192 sectors and both of them share the Bank0?
Thank you very much.