2021-10-12 06:21 AM
Hello! We have a bootloader for STM32H747 + 2 external flash drives (NOR + NAND with Fatfs). This loader implements writing firmware from the file system in NAND using a binary (.bin). But there was an additional need to write the contents of the NOR flash drive in the same way. The content of the NOR is in a memory section from the address 0x90000000. Actually, the question is, is it possible to generate separate binary files for the controller FLASH memory and the NOR section using STM32CubeIDE (by default, a huge single file is generated with intermediate addresses filled with zeros)?
2021-10-12 07:00 AM
There is an objcopy method
https://community.st.com/s/question/0D53W00000PpuUgSAJ/split-bin-in-multiple-regions