Part Number: MSP432P401R
I was going through the MSP432 BSL User guide and I had one doubt which I want to ask
I understand that in order to perform hardware invocation of the BSL, we need to program the flash mail box with MB_START, CMD and other appropriate parameters and do a reboot.
Bootcode will now take the control and it will see boot override request and it will perform the request by parsing the flash mailbox and associated CMD.
If the boot override command is BSL_CONFIG, I can see that the bootcode executes the command and write 0x00000ACE to the ACK (0x1F4 offset from flash mailbox start address) and writes NONE (0x00000000) to the CMD field (0X04 offset from the flash mailbox start address).
My doubt is "TI mentions that once you have provided the pins and their state for the hardware sequence entry, the device will go into BSL mode if the same sequence is present during boot time".
But I think that bootcode first checks the command field and if the command is BSL_CONFIG, it extracts the BSL hardware invoke parameters (0x1E8 offset from flash mailbox). Since, BSL writes none to this field on successful execution of command, on next reboot how does the bootcode knows that it has to enter into the BSL (based on the hardware sequence entry) since the command is NONE by now.
Please help me understanding this part of BSL.
Based on my understanding of the BSL, wouldn't the device clearing the flash mailbox after the bootloader is run once be correct behavior? Have you tried running the BSL code to see what results you get if you perform the steps indicated in your post?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Michael Reymond:
I assume that you have resolved your issue since I have not heard back from you. If not, feel free to post a response to this thread, or open a new thread regarding this issue.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.