We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hello everyone, i want to know what happens if we exceed the maximum limit of code memory of microcontroller while writing the code does it compile the code? what error it gives? eg: in c8051f020, external memory size=64KBYTES if we exceeds this limit then what will happen? i tried to search on google but couldnot find the relevent answers thank u all take care
i want to know what happens if we exceed the maximum limit of code memory of microcontroller while writing the code .... in c8051f020, external memory size=64KBYTES The SILabs chips can not have external program memory ... is that where you go wrong?
try switching from large to small model, and fix some variables if needed (you will - probably - have to add xdata to some definitios) you will be amazed how much smaller your code gets.
Erik
The F020 just have 64KB of on-chip flash code memory. You can't excess this limit. However, by using code-banking, the F12x could has 128KB of on-chip flash code memory.