??? 06/10/11 14:17 Read: times |
#182584 - It would be a pretty narrow window, but ... Responding to: ???'s previous message |
IAP is more convenient from the hardware standpoint, but in some admittedly rare cases, for example where there isn't time to wait for the IAP to timing, the approach with the FRAM or, even the much less appealing BBRAM, is quick enough to get the job done without a multi-millisecond time window for the IAP.
I only mention this because it's the way I've most recently addressed this problem, but in the O/P's case, it does offer a fairly straightforward approach. The fact that problems exist that can actually be addressed in this way is, I suppose, purely incidental. In my particular case, I required an external memory considerably larger than what one would normally associate with 805x, and that particular size was available in FRAM. Further, since the FRAM in question was accessible in bytes AND in words, I was able to capitalize on the word access in order to make "3rd-paty" (external logic) access via DMA take some of the load off the MCU. There are, of course, MCU's that actually have FRAM on board, so perhaps that's another approach that should be examined in order to minimize the associated pain. Yes, IAP is a convenient feature, but there's a multi-millisecond-per-page penalty for using it. If you have to transfer multiple pages at a time INTO nonvolatile memory within a short time window, you might find yourself in this position. If you haven't got sufficient time budget to use IAP, it might as well not be available. RE |
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 |