Hello. I have a question about how compiled program code is located in microcontroler, for example lets consider ATmega128 and ATmega32.
AVR Memory Usage
Program: 26626 bytes (20.3% Full)
(.text + .data + .bootloader)
Data: 2758 bytes (67.3% Full)
(.data + .bss + .noinit)
So the Program will fit ATmega32 32 [kB] of space, but problem is with Data because ATmega32 will need approximately 710 [B] of SRAM more. Is such migration possible? Or I will need to reduce the number of global variables to decrease used amount of SRAM?
Than You for any discussion. Those informations are only my theoretical examples, and they does not cover any practical problem (yet).