2016-09-15 03:03 AM
Hello All,
Does ST provide source code for a starting point on bootloaders for the STM327x family?If so, can you point me to the source code?Thanks In Advance,John W. #stm32f7x-firmware-bootloader2016-09-15 03:32 AM
Hi,
I think that ST cannot release the source code.I recommend that you have a look to the application note ''STM32 microcontroller system memory boot mode'', and you find related information to STM32F7xx bootloader.You can refer to this
''CAN protocol used in the STM32 bootloader'' it's applicable for STM32F7 (but the application note is not yet updated). Regards2016-09-15 05:52 AM
> I think that ST cannot release the source code.
Reading ''between the lines'', I suspect that the bootloader is not really ROM (mask programmed), but actually Flash/EEPROM or similar, protected by other hardware means. Is that correct ?
2016-09-15 09:47 AM
I would expect source might be available if you had an NDA and were selling several $1M USD in parts. If you're not that kind of customer assume you'll need to code your own loader, and the IAP examples might be a starting point.
Using your own loader allows you to control the protocol, and update method, provide validation of the application image, and means to de-brick in the case of an update failure. You could still call into the ROM to get DFU, USART ISP functionality. You could also disassemble the ROM, and review the functionality from that perspective.2016-09-16 05:03 AM
Do any ST Engineer's reply to any of these messages?
Since this is an ETE board; I thought ST would provide real, actual answers to legitimate questions - is that not the case here?Regards,John W.2016-09-16 05:43 AM
While the board is monitored, it is not where you will get access to design engineers for the product.
You should access engineering resources through your distribution channel, and the FAE assigned to your project.2016-09-16 11:30 AM
Hi moreland.john,
The bootloader source code is confidential. You need to develop your own one. You can get help from the following resources: - IAP example in at this path: STM32Cube_FW_F7_V1.4.0\Projects\STM32756G_EVAL\Applications\IAP - Application note '' Programming an external Flash memory using the UART bootloader built-in STM32 microcontrollers'' -Hannibal-