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
  • If you plan to use pheripherial memory as standard RAM, you need to check if it is powered up before the program wants to zero-initialize and potentially assign initialization values to variables stored in these extra memory regions.

Reply
  • If you plan to use pheripherial memory as standard RAM, you need to check if it is powered up before the program wants to zero-initialize and potentially assign initialization values to variables stored in these extra memory regions.

Children