*******after all the topic conversation the actual errors points to the source code. See post 52 on page 2. *******
I'm using a 328p chip with a USB bootloader from the v-usb project. Today I had an issue loading my hex I have not ran in to yet. Avr studio says my chip is not full but I'm getting error during my boot flash that implies I'm out of space. The bootloader says it failed at 0x7080.
Avr studio build says I have room left (see below).
I though the calculation included the boatloader space?
Program: 28704 bytes (87.6% Full)
(.text + .data + .bootloader)
If I remove a line of code and compile it flashes fine. Why would the size be reported incorrectly (if that is even my issue)?
Size before:
AVR Memory Usage
----------------
Device: atmega328p
Program: 28704 bytes (87.6% Full)
(.text + .data + .bootloader)
Data: 1227 bytes (59.9% Full)
(.data + .bss + .noinit)
Size after:
AVR Memory Usage
----------------
Device: atmega328p
Program: 28704 bytes (87.6% Full)
(.text + .data + .bootloader)
Data: 1227 bytes (59.9% Full)
(.data + .bss + .noinit)
-------- end --------