(responded to this unicast, thought I would put it here too) It looks like the avr-studio-debug flag doesn't support code sizes greater than 65,535 bytes. I'm not exactly sure why.
Phil On Apr 8, 2014, at 3:00 PM, Roadstar Runner <[email protected]> wrote: > > I have been compiling my program with the 'avr-studio-debug' flag so that i > can use a JTAG to debug my software. > Recently, even though my program compiles normally without the debug flag, it > fails when i use the avr-studio-debug flag. I get a bunch of cryptic error > message that reads like this > > /tmp/ccEjxlre.s:74677: Error: value of 65568 too large for field of 2 bytes > at 26349 > > > It seems that code i add, even modifying a local variable causes the > compilation to fail. > > Here is my ROM/RAM size that compiles correctly with the debug flag. > > 68796 bytes in ROM > 614 bytes in RAM > > Thanks > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
