serioushaa.blogg.se

One linker script for bootloader and application
One linker script for bootloader and application









one linker script for bootloader and application one linker script for bootloader and application

It must be located in the bootloader section and they define.BOOT for this. Clawson wrote: EDIT: (.) just realised that the initial Ttext=0x3800 was completely pointless (unless I planned to use the boootloader in isolation), I obviously set the actual boot code location with the later -Wl,-section-start=.boot=0x3800 in fact as the original 0x3800 location was lost in the elf-bin translation.No, the initial Ttext=0x3800 is important too, to correctly resolve all the addressing within the bootloader.

one linker script for bootloader and application

0x2000 Flash adress?Many thanks for your effort anyway.BR MZimmi Attachment(s). Fuses, lockbits and EEprom default shall be defined and coming from the application.So coming to the original point, i needan production elf file with all this stuff in appl+bootloader+appleepr+applfuses+appllock.Now, maybe i am to stupid to adapt it, maybe i need to be a little more concrete.Attached ther is the for the complier and linker, so what do i need to add herethat it will link the boot16k.o to 0x4000 resp. Quote:Why are you taking the detour over the hex file? Directly create the bin file from the bootloader elf file.elf - bin - oHi sternstthis is not what i want, i really only want to link to the application, bootloaders flash, not its fuses and lockbits.











One linker script for bootloader and application