2023-11-05 03:28 PM
Everything was going well until my compiled code exceeded 64kB. Now, the programmer says that the code exceeds available space. But the code is only 67kB and the available space is 128kB.
Is there an option that I need to set to allow all flash to be used?
Solved! Go to Solution.
2023-11-05 04:11 PM
Thank you. Actually, I just found the problem. By default the option bits have the BFB2 bit checked which is the dual-bank mode allowing only 1/2 of available flash. By unchecking that option, I can now use the entire 128kB.
2023-11-05 03:50 PM
Maybe the same/similar problem?
@Aziz BRIGUI, can you please comment?
JW
2023-11-05 04:11 PM
Thank you. Actually, I just found the problem. By default the option bits have the BFB2 bit checked which is the dual-bank mode allowing only 1/2 of available flash. By unchecking that option, I can now use the entire 128kB.