<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>LPC2478 SDRAM scatter file problem</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/41073/lpc2478-sdram-scatter-file-problem</link><description> 
Hello, I am using a board of lpc2478 in which SDRAM is connected
as shown in following pinmap. 
I am unable to access data(write/read) from SDRAM. I have problem in
accessing address 0xA0000000; as i am allocating it to a pionter as
shown in program</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: LPC2478 SDRAM scatter file problem</title><link>https://community.arm.com/thread/64064?ContentTypeID=1</link><pubDate>Thu, 03 Sep 2015 10:34:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:bb9066c0-10cf-4e51-9a35-57f65929e337</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
See posting instructions when putting source code into a message,
then review in the preview. Posting a wall of crap isn&amp;#39;t going to win
you any friends here.&lt;/p&gt;

&lt;p&gt;
The scatter file deals with where the LINKER puts the memory
sections. You will STILL need to have startup code of your own to
configure the processor pins, and get the SDRAM up and running. You
need to do this BEFORE the C runtime code tries to initialize it&amp;#39;s
environment and call your code. ie BEFORE calling __main&lt;/p&gt;

&lt;p&gt;
Often this is done in SystemInit() type code on Cortex-Mx CMSIS
platforms, on others you&amp;#39;d need to code some assembler in
startup_arch.s with code tailored to YOUR board, and it&amp;#39;s
configuration.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>