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

memory mapped i/o beyond ram area

I have an application using 32K RAM (external), with memory mapped I/O beyond this area (from 8000). I have not tried it yet, but is it correct to set the ram size to 32K? Would the linker complain that the variable used for memmap i/o is beyond the preset ram size?

Parents
  • I simply say that I have 64KBytes of memory and have a large 32KByte byte array from 0x8000 to 0xffff and use the _at_ statement to fix it to that location.

    Then use something like :

    io[IO_RTC]=0x55;

    where io is the array, and IO_RTC is a memory mapped location offset within that array.

    Hope that helps,

    Gary Partis

Reply
  • I simply say that I have 64KBytes of memory and have a large 32KByte byte array from 0x8000 to 0xffff and use the _at_ statement to fix it to that location.

    Then use something like :

    io[IO_RTC]=0x55;

    where io is the array, and IO_RTC is a memory mapped location offset within that array.

    Hope that helps,

    Gary Partis

Children
No data