Yeah, I'm back. :?
I am using an ATmega1280 and my code size (with -Os) is now > 66 KBytes. Yes, the compile and link work fine, and I can download the code. What I can't do is debug.
The recommendation has been to use the COFF format instead of ELF/DWARF-2. I'm okay with that, but what I can't figure out is how to DO it. I'm generating the COFF data using a makefile generated by MFile (thank you, WinAVR!). Unfortunately, I have not found a way for AVR Studio 4.12 to USE that information to allow me to debug.
Second problem: According to Avarice (the OTHER possible solution: use gdb/Insight), the 1280 is not supported.
According to earlier posts, a solution to the 65 KByte debug limits with ELF/DWARF-2 might be available Real Soon Now (tm) -- Is there a beta version someone would be willing to let me try? (Yes, yes, I know: "It's a GNU problem, not an AVRStudio problem." *sigh*)
SOOOoo, where do I go from here? Am I at the bleeding edge, and I'm stuck paying for CodeVision or IAR? Is there SOME way to use the COFF data to debug my code?
And what about Naomi? (Ooops, sorry, got carried away. :wink: )
Thanks for any tips. In the meantime, I'm converting my code over to IAR. Yuck.