cancel
Showing results for 
Search instead for 
Did you mean: 

How to get separate binary files (.bin) in STM32CubeIde for external flash

AlexVetoshko
Associate II

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)?

1 REPLY 1

There is an objcopy method

https://community.st.com/s/question/0D53W00000PpuUgSAJ/split-bin-in-multiple-regions

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..