<?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>Startup code for TivaC microcontroller</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/41506/startup-code-for-tivac-microcontroller</link><description> 
I opened a startup code (startup_tm4c123.s).. i didn&amp;#39;t find any
code about coping the initialized variables from ROM to RAM. 
How can Keil copy them at start ? 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Startup code for TivaC microcontroller</title><link>https://community.arm.com/thread/121012?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2017 09:34:13 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b8344bd0-dfc8-4022-b040-7e42810e58ea</guid><dc:creator>Mohammed Soliman</dc:creator><description>&lt;p&gt;&lt;p&gt;
It&amp;#39;s pretty helpful .. thanks everyone so much&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Startup code for TivaC microcontroller</title><link>https://community.arm.com/thread/109086?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2017 09:03:44 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4effc8c3-b840-4c0f-b6af-f03b8a9ac377</guid><dc:creator>Clive Unspecified</dc:creator><description>&lt;p&gt;&lt;p&gt;
The __main code called in startup.s initializes the statics before
calling your main() function. __main != main&lt;/p&gt;

&lt;p&gt;
This is part of the library the linker pulls in, and the linker
can also compress this initialization data.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Startup code for TivaC microcontroller</title><link>https://community.arm.com/thread/109084?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2017 08:48:37 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:75055742-8e5b-4256-8144-ab6441cc8301</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
This is standard &amp;#39;C&amp;#39; stuff - nothing specifically to do with
Keil&lt;/p&gt;

&lt;p&gt;
&lt;a href="https://en.wikipedia.org/wiki/Runtime_library"&gt;en.wikipedia.org/.../Runtime_library&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
&lt;a href="https://en.wikipedia.org/wiki/Crt0"&gt;en.wikipedia.org/.../Crt0&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Startup code for TivaC microcontroller</title><link>https://community.arm.com/thread/83558?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2017 08:19:37 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:768c5ccb-456f-4534-b395-bf3061c86800</guid><dc:creator>Mohammed Soliman</dc:creator><description>&lt;p&gt;&lt;p&gt;
I didn&amp;#39;t understand what you really mean about c runtime .. Where
can i find this part of code on Keil ???&lt;br /&gt;
I&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Startup code for TivaC microcontroller</title><link>https://community.arm.com/thread/69834?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2017 05:37:27 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:763e75eb-3e8c-4809-bfd2-64b31888491e</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
That happens inside the Keil runtime support stuff.&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/support/man/docs/gsac/gsac_strtupcodearm7.htm"&gt;http://www.keil.com/support/man/docs/gsac/gsac_strtupcodearm7.htm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
I think the last item there is actually wrong:&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;8. Transfers control to the main C function.&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
The startup code transfers control to the C Runtime which
eventually transfers control to the main C function.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>