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

Target memory setting

For LPC 1768 develop using uVision 4.21. I set the target memory to:

IROM1: 0x0 0x80000
IRAM1: 0x10000000 0x8000
IRAM2: 0x2007c000 0x8000

But someone told me I can also set to:

IROM1: 0x0 0x80000
IRAM1: 0x10000000 0x8000
RAM2: 0x2007c000 0x8000

Because LPC 1768 does not has the external memory controller and linker does not care the on/off chip. Is that correct? If yes, if chip (like LPC 1788) does has the external memory controller, can I still set like that just because linker does not care the on/off chip memory?

Parents
  • Of course the LPC1768 can have external memory.

    But since it doesn't have any external memory controller, it will not be able to have any memory-mapped external memory, i.e. to use external memory you either have to connect serially connected memory (SPI, I2C or similar) or manually generate addresses on some GPIO pins and then do data reads/writes on some other GPIO pins.

    But I'm sorry for the confusion - the 1768 don't have any internal RAM that needs to be separately powered up, which the 2368 does.

Reply
  • Of course the LPC1768 can have external memory.

    But since it doesn't have any external memory controller, it will not be able to have any memory-mapped external memory, i.e. to use external memory you either have to connect serially connected memory (SPI, I2C or similar) or manually generate addresses on some GPIO pins and then do data reads/writes on some other GPIO pins.

    But I'm sorry for the confusion - the 1768 don't have any internal RAM that needs to be separately powered up, which the 2368 does.

Children