I made a bootloader and for testing purposes I want code with an unusual jump in the reset vector.
Usually at address 0 there would be a jump to right after the vector table such as 'jmp 0x68'. I need a jump to somewhere else, e.g. 'jmp 0x80'.
This must get into a .hex file which I can feed to my loader software. I use avr-gcc on Linux. C or asm code is fine.
After frustrating fiddling with sections, which I have only little experience with, I thought maybe it's easier to just manually modify a .hex file, or solve the problem differently.
But if anyone knows how to do it this way, that'd be interesting. The avr uC datasheets say, if you don't use interrupts you can put regular code in the interrupt table. How would you do that?