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

Project options - external memory size

Under the project options - target - external memory section, does the 'size' field represent 8-bit or 16-bit values; and does the external bus mode play a part in specifying this value. For example, if I'm using a 16-bit non-mux'd data bus, with a 32Kx16 SRAM at some address, should the size for that SRAM be spec'd as 0x8000 or 0x10000?

Thanks.

  • The size is in bytes, as always.

    does the external bus mode play a part in specifying this value

    No, it does not.

    For example, if I'm using a 16-bit non-mux'd data bus, with a 32Kx16 SRAM at some address, should the size for that SRAM be spec'd as 0x8000 or 0x10000?

    0x10000

    - mike

  • Thanks for the answer. I did check the paper and e-doc's (before posting online) for the answer, but couldn't find a clear and definitive answer. Even the answer in the "knowledge base" was a little fuzzy [to me]. In it's example it used a RAM (of unknown data bus width) whose address spanned 0xFFFF, and then stated that the "size" field should be set to 0x10000. That seems to be 1/2 what you think it should be.