How do I place everything in external ram?
I use this in the makefile:
EXTMEMOPTS = -Wl,--section-start,.data=0x802200,--defsym=__heap_end=0x80ffff
but still get this in my map file:
Name Origin Length Attributes
text 0x00000000 0x00020000 xr
data 0x00800060 0x0000ffa0 rw !x
eeprom 0x00810000 0x00010000 rw !x
*default* 0x00000000 0xffffffff
I am having an issue using atmega1280, gcc, avrstudio, when I have an array for a fifo input buffer on a serial port. I send packets of 200 bytes, when I get to the 16th packet it locks up and I get a watchdog reset. But if I reduce the size to 3000 I don't get the problem, and when I increase the size to 7200, I still get the problem at the 16th packet. I am pretty sure the code is correct for the fifo buffering, as I have used it with many projects, I have a feelin it is a memory issue.