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.
Hi, I am using 8052 of Winbond W78LE52 microcontroller. My code is excess it's range. So I want to use external programming memory only. It means I don't want to use programming memory on-chip. I know that the pin EA of 8052 should be pull low. What should I do in coding? Should I programming my code in chip only or in ROM only or both? Can you show me some demo code and tell me how to do it step by step? By the way, should I choice "Memory Model : Large: variables in XDATA"? Sincerely yours, Ross Lee
"So I want to use external programming memory only." As you say, pull EA low. "What should I do in coding?" No change from what you were doing before. "Should I programming my code in chip only or in ROM only or both?" If your external ROM is big enough, in ROM only. "Can you show me some demo code and tell me how to do it step by step?" You don't need it. Nothing changes. "By the way, should I choice "Memory Model : Large: variables in XDATA"?" Using external code space doesn't affect external RAM (xdata). Just do what you were doing before. Stefan
Thanks for your suggestion. I will try it. Anyway,,,,thank you very much. Ross