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
  • we write a program in 8051 about accessing the flash. This is stored in 8051 memory.
    that datasheet for your device (READ it) will tell you what to 'feed' to the serial memory and what wilkl come back as a result.

    You will need to write a "SPI driver" that process data between the flash and a buffer in RAM that hold the data you want to write and/or a buffer in RAM to hold the data you read.

    how to process this operation will be described in the datasheet for the serial memory.

    Erik

Reply
  • we write a program in 8051 about accessing the flash. This is stored in 8051 memory.
    that datasheet for your device (READ it) will tell you what to 'feed' to the serial memory and what wilkl come back as a result.

    You will need to write a "SPI driver" that process data between the flash and a buffer in RAM that hold the data you want to write and/or a buffer in RAM to hold the data you read.

    how to process this operation will be described in the datasheet for the serial memory.

    Erik

Children