I have a bootloader (for sysex over midi loading) that compiles and works correctly at address 0, but if I add .text=0x1F000 in memories I get an out of range error on build. (Atmel Studio 7, loading with Atmel ICE).
I can compile with .text=0xF800 and I see 1000 offset and then address starting at F000 in the hex file, while a bootloader shows 3000 offset and addresses starting at E000 (double the 1F000).
How can I get it to compile to the correct address?
The app is under 5K. The hex converted to binary (part of my sysex conversion process) is 4768 bytes. The binary file also loads correctly at zero. (Used it to test my conversion - and the binary version of my main apps also load correctly).
I just can't get any app to build at the bootloader address.