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.
I am using 8051 based device, I got 64K external Flash as code storage, but I found that when my code size approch 64K size limit the program will becomes very unstable and hang abnormally. Does any one encounter this kinds of problem, any clues ?
As Andrew said, you need to investigate the problems and find out what is going wrong. Do you have shared code and data memory? ("von Neumann" memory) If so, are you accidentally overlapping the two, so when the code gets large, your data space is overwriting it? My project has been pushing the 64k mark for months now. I've done a lot of rewriting and refactoring and code elimination to keep it under that limit. I've seen no problems related to sheer code size.