Part Number: MSP430FR5872
Hi,
My customer is facing following problem with combination of "MSP430FR5872 + CryptoBSL".
* Even though customer protect ".text"(program code) region by setting MPU(Memory Protect Unit), certain program regions(Ex. 0x92A2) get overwritten when uart function of customer application work.
Here is customer's detailed environment.
* Customer used "CryptoBootloader_1_00_00_01".
And use "cryptoBSL.txt" which customer build and load by using IAR.
(This means customer follow section 6.1.2 "Loading Crypto-Bootloader Using Source Code" of following app note.
www.ti.com/.../slau657.pdf)
* Customer do not use "CryptoBootloader_005856B5.txt" which is provided as prebuild binary file.
* Customer do not change any code when they build above "cryptoBSL.txt".
* Customer set segment as shown below.
0x4400 - 0x53FF segment 1
0xF000 - 0xFFFF segment 2
0x5400 - 0xEFFF and 0x10000 - 0x13FFF Segment 3
And segment3 (overwritten area) of MPU set is "R/X : Y, W :N" (Means "MPUSAM register is set as "0x1513".)
* BSL interface is uart.
Then I have following question.
Q1. Here is quote of FRAM information
Left side show FRAM information of segment 2 after loading "CryptoBSL.txt"
Right side show FRAM information of segment 2 after loading "application" via CryptoBSL.
Accoriding to above, it seems that segment 2 region (cryptoBSL region) is overwritten after loading customer application FW.
Is it expected behavior ?
Best Regards,
