#20 Linker config error with bootloader

v0.8.0alpha
closed
None
5
2008-08-20
2008-08-20
Martin Strasser
No

When using a bootloader, the text section has to be moved. This can be done by passing --section-start option to the linker. Unfortunately, the start address gets an offset of 0x800000, which is wrong. A start address of 0x1100 is then passed to the linker as 0x801100, and an error is thrown.

Discussion

    • status: open --> closed
     
  • Logged In: YES
    user_id=902327
    Originator: YES

    Fixed with revision 196.

    The problem was, that RAM addresses need an offset of 0x800000, EEPROM addresses need an offset of 0x810000, but flash needs no offset. Unfortunately, all sections got the RAM offset. This is fixed now.