This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

c51: accessing absolute memory locations

There are absolute memory macros to access memory addresses in 8051, do we have any such to access externally connected flash through 8051?

I tried using C pointers, it does not seem to be reading the address in flash,
How do we read & write from a memory location?
Please help.

Parents Reply Children
  • serial and parallel, one is an I/O device, the other is memory.

    If you want to make orange marmelade, do you use apples?

    Actually, if I recall correctly, there is (I do not know where, it is not something I would usee) a means of using a mutilated data banking routine that will make serial DATA memory APPEAR as if it was parallel. This, of course will make your program slow down to a crawl, but if you can live eith that, fine. Now, if you have a gaze at the above links, you will realize that, unless you have the CODE memory split in read only and read/write there will be no way of doing 'serial CODE memory' That solution would be so totally silly that I am certain some 'inventor' has something "tested" that will do just that.

    As a final note: why are you fooling around with this? you can get large PARALLEL Flash for pennies e.g. 2Mbyte for #2.83 in reasonable quantities.

    Erik

  • Sir,
    " mutilated data banking routine that will make serial DATA memory APPEAR as if it was parallel. "

    " CODE memory split in read only and read/write "

    Sir, wonder what this is,
    all we are doing is interfacing flash to 8051, this being serial flash, commands, addresses and data is sent via Serial In pin of flash.
    I did not use any banking routine or whatsoever,

  • Have been trying to interface 8051 with serial flash and supposed to do just that
    That is, read & write Flash to and from 8051,
    not using parallel flash ,