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

default off and on-chip RAM areas

Hi Forum

I'm using a LPC2478 with 8 MB external RAM.
In the project option I have reserved the off-chip area RAM1 to be the framebuffer.
Off-chip RAM2 area is the rest of the external RAM. This is set to default.
I also have set the on-chip area IRAM1 as being default.

So my question is. How does KEIL compile my code then? Does it put the const/static stuff in the on-chip RAM first and then in the off-chip, or is it unpredictable where things are placed?

Also, it seems that the framebuffer gets corrupted, when the IRAM1 is not marked as default and only the RAM2 is marked as default?

Thomas

Parents Reply Children
No data