We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all
I would like to link a plain binary file (parameter.bin) to a specific location in the flash using a scatter file.
If i had a compiled object file (parameter.o) file, it would be easy, but that's not the way i want to do it:
LR_ROM_BL ROM_LOAD_BASE ROM_BOOTLOADER_SIZE { ER_ROM_BL ROM_LOAD_BASE (ROM_BOOTLOADER_SIZE) { ; load address = execution address parameters.o } }
I would like to do it like this:
LR_ROM_BL ROM_LOAD_BASE ROM_BOOTLOADER_SIZE { ER_ROM_BL ROM_LOAD_BASE (ROM_BOOTLOADER_SIZE) { ; load address = execution address parameter.bin } }
But when I add parameter.bin to my uVision Project as an object file, i get the message:
..\out\basisprojekt_stm32f103neu.axf: error: L6007U: Could not recognize the format of file ..\out\parameter.bin.
And when I dont add Parameter.bin to my uVision Projekt, i get:
..\misc\stm32f103x_md.sct(67): warning: L6314W: No section matches pattern parameter.bin(RO).
Any Idea? Regards, Martin