I have an AT89S52 with an external 30K of flash memory connected.  I can 
read from and write to the flash memory without issue.

I am aware that if I wire EA to VCC, program code fetches for addresses 
higher than 0x2000 (> 8K) will be to external program memory.

But I basically only know how to compile hex code for use as all internal 
program memory or all external program memory (--code-loc), but not both.

How does one tell the compiler to split up hex code that will have parts 
that reside in both?

I say "split up" because the procedure for writing to the AT89S52 (ISP) is 
different from writing to the external flash SST39SF010A (parallel).

Is it possible to have SDCC generate code for use with both the AT89S52's 
internal 8K program (flash) memory in addition to external program (flash) 
memory so that execution spans from internal to external addresses 
automatically during execution?

If so, would somebody be willing to explain the overview of the procedure?

Thanks in advance for any assistance.

Best Regards,
Charles
 


------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to