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
  • 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

Reply
  • 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

Children