[Icc-avr] AT90USB162 Possible Compliler error!

Johannes Assenbaum jassenbaum at htp-tel.de
Thu Jan 10 11:10:10 PST 2008


Hi Andy,

yes, wrong sram size line is a mistake in map file summary. Thanks for report.

Best regards,
Johannes


> Hi,



> I am using ICCAVR 7.15 (downloaded from the imagecraft website), in the project i
> have selected AT90USB162 and left everything else as default. When i build the
> project and then go to  View -> File Map Summary -> With Full size info. The page
> displayed has the following line: -



> "sram size is 256 bytes
> sram used for
> - variables = 320 (0x140) bytes from 0x0100 to 0x023F
> - heap, s/w stack = 162 (0xA2) bytes from 0x0240 to 0x02E1
> - h/w stack = 30 (0x1E) bytes from 0x02E2 to 0x02FF

> eeprom size is 512 bytes
> no eeprom area found"



> As the AT90USB162 has 512 bytes of SRAM is the complier only using 256? or is it a
> simple error in the way the 'File Map summary' page was created. There is also
> another error regarding the complier options screen where the device, stack and
> boot loader size is selected. The only Boot sizes available for selection are: -

> 512K

> 1K

> 2K

> 4K



> But the AT90USB162 has the following that can be selected using the fuses: -



> 256

> 512

> 1024

> 2048



> So the list is wrong



> Best Regards,



> Andy




More information about the Icc-avr mailing list