??? 06/09/11 18:12 Read: times |
#182561 - Experimentation ;) Responding to: ???'s previous message |
I'm aware of the limitations of using the same code for XDATA and CODE. What I was thinking of doing is using the 8kb internal flash as a lower ROM, where I will assemble my external programs using ORG $2000, and then using $0000-1FFF as 8KB of XDATA, which should be plenty for what I'm doing. Since I'm using SDCC as my C compiler, I think it lets me specify using a linker script where my XDATA can go and where my CODE can go.
Also, it opens up very interesting possibilities of self-modifying code, although that's probably not very useful at all on an 8051 architecture. |
Topic | Author | Date |
Bootloading using external RAM and EA switching? | 01/01/70 00:00 | |
Not sufficient! | 01/01/70 00:00 | |
Use single SRAM chip by tying PSEN to RD? | 01/01/70 00:00 | |
That qualifies as... | 01/01/70 00:00 | |
Experimentation ;) | 01/01/70 00:00 | |
No need for experimentation | 01/01/70 00:00 | |
Fast-forward to 2010 or thereabouts | 01/01/70 00:00 | |
It would be a pretty narrow window, but ... | 01/01/70 00:00 | |
methinks the real reason | 01/01/70 00:00 | |
That's true for program updates, but ... | 01/01/70 00:00 | |
visualizing any case where the regular ISP/IAP is too slow | 01/01/70 00:00 | |
... and FRAM's pretty fast, too ... | 01/01/70 00:00 | |
Would have liked to have used FRAM... | 01/01/70 00:00 | |
As long as intervening RESET | 01/01/70 00:00 | |
do You need EA controlled? | 01/01/70 00:00 | |
hmm | 01/01/70 00:00 | |
not surprised | 01/01/70 00:00 | |
Decided not to use EA (rather, shouldn't) | 01/01/70 00:00 | |
i'm confused by AT89S52 | 01/01/70 00:00 | |
This is the page I found | 01/01/70 00:00 | |
great | 01/01/70 00:00 |