In my assembly course we used the ATMon bootloader. In the next course we moved to GCC, but doing so broke the bootloader.
The problem is that the bootloader uses the stack. In assembly, this is easy to get around, and in the documentation it says to init your stack pointer to RAMEND-0x20.
The problem is that GCC inits the stack pointer for me, and I can't find how to change it. Is there a way? Is it a linker command?
At first it was not an issue because I could program with my EZAVR2. I got a new laptop without a serial port, and my USB to serial converter doesn't work with it. If I could use ATMon, though, I could program through the USART and my converter should work for that.
I guess my other option would be to write my program in assembly? While possible, I don't feel like writing GPS code 'by hand'