Sam3s and AS 6.2, external ram in memory settings?

All design tool related questions: compiler, assembler, linker. Embedded programming questions: assembler, C code.

Moderator: nferre

Posts: 1
Joined: Wed Apr 16, 2014 10:35 am

Sam3s and AS 6.2, external ram in memory settings?

Wed Apr 16, 2014 10:58 am

This is a noob question:
We have a 512k external SRAM but how can I tell the linker to access it?

In the project properties window, I go to Toolchain->ARM/GNU linker->Memory Settings.
There are two fields: SRAM segment and External RAM Size. How to fill these fields correctly?

In Sam3s8c datasheet the external RAM location would be 0x60000000 (considered that I use SMC Chip Select 0 for the RAM and 1 for a LCD)

Any help will be appreciated!
astudio-linker-ram.png (41.61 KiB) Viewed 1698 times

Return to “Development Tools”

Who is online

Users browsing this forum: No registered users and 2 guests