Are there any known issues with the system bootloader for the STM32L4S5VI?
Rev 6 of the errata document, section 2.2.13, states the following:
The bootloader might not work on STM32L4RxxG/SxxG 1-Mbyte part number devices with date code week 04 2020 or earlier. This depends on the device bootloader version (V9.2 is not functional). In order to check whether the device has the fixed bootloader version or not, perform a read at address 0x1FFF 6FFE:
• If the read value is 0x92 then the version is V9.2 and the device has the non-functional bootloader.
• If the read value is 0x95 then the version is V9.5 and the device has the fixed bootloader.
Key Points:
- Our bootloader version is reading as 0x92.
- Our part is a 2MB part so it shouldn't be falling under the errata.
- The behaviour we're seeing looks to us like it's related to the errata, hence this question.
- BOOT0 pin is pulled low
- nBOOT0, nBOOT1, and nSWBOOT0 are all set to 1.
More Detail:
We've implemented a bootloader that basically ping-pongs between banks, logic as follows:
- Erase "other" bank.
- Program application image into "other" bank.
- Toggle BFB2 bit.
- Reboot (to begin running the application we just programmed into the other bank).
Occasionally (very few occasions), we're seeing that when the "other" bank is Bank 2, i.e. we're booting with BFB2 set, the system will not boot into our application, and will instead remain stuck in the system bootloader code where it seems to be waiting for some code to download.
Are there other issues possibly lurking in the bootloader? Is there something else we could be checking?
