ivar
Junior Member level 1
My controller has 32KB flash and a 2KB Ram.
When built on the IAR embedded workbench, my program gave the following outputs:
2 254 bytes of CODE memory (+ 3 absolute )
0 bytes of DATA memory (+ 22 absolute )
211 bytes of IDATA memory
When i see the hex file size, its 7KB.
1.Why doesn't the CODE+DATA+IDATA add up to 7KB?
2.If i am right, all of the 7KB is stored in the flash. How do I decide how much RAM my program would need?i.e if I choose a MCU with only 127bytes of RAM, would my program still run on it?
When built on the IAR embedded workbench, my program gave the following outputs:
2 254 bytes of CODE memory (+ 3 absolute )
0 bytes of DATA memory (+ 22 absolute )
211 bytes of IDATA memory
When i see the hex file size, its 7KB.
1.Why doesn't the CODE+DATA+IDATA add up to 7KB?
2.If i am right, all of the 7KB is stored in the flash. How do I decide how much RAM my program would need?i.e if I choose a MCU with only 127bytes of RAM, would my program still run on it?