<?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>Settings for RVDS 4.0 with ARM Cortex-A8 Processor</title><link>https://community.arm.com/developer/tools-software/tools/f/armds-forum/604/settings-for-rvds-4-0-with-arm-cortex-a8-processor</link><description> Note: This was originally posted on 20th May 2009 at http://forums.arm.com Hi everyone, &amp;#160; I am new to RVDS 4.0. I am able to run a simple application like&amp;#160; addition with other processors (ARM11). #include &amp;lt;stdio.h&amp;gt; int main() { float a,b,c; a = 1.3;</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Settings for RVDS 4.0 with ARM Cortex-A8 Processor</title><link>https://community.arm.com/thread/1474?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2013 10:58:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b77e61b4-f2fe-4547-b2ac-aadf2bdf6be7</guid><dc:creator>Sridhar Artham</dc:creator><description>&lt;div&gt;&lt;i&gt;Note: This was originally posted on 18th August 2010 at &lt;a href="http://forums.arm.com"&gt;http://forums.arm.com&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Hi everyone, &lt;br /&gt;&amp;#160; I am new to RVDS 4.0. I am able to run a simple application like&amp;#160; addition with other processors (ARM11). &lt;br /&gt;&lt;br /&gt;&lt;code&gt;#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt; float a,b,c;&lt;br /&gt; a = 1.3; b = 2.6;&lt;br /&gt; c = a+b;&lt;br /&gt; printf(&amp;quot;c = %f\n&amp;quot;,c);&lt;br /&gt; &lt;br /&gt;}&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;But, when i compile and run the same application for ARM Cortex-A8, its going to infinite loop.&lt;br /&gt;&lt;br /&gt;################################################################################&lt;br /&gt;##&lt;br /&gt;Compiler Settings: &lt;br /&gt;--arm --debug --cpu=Cortex-A8 --fpu=VFPv3 --fpmode=ieee_fixed -O1 --vectorize&lt;br /&gt;&lt;br /&gt;Assembler Settings:&lt;br /&gt;--arm -g --cpu=Cortex-A8 --fpu=VFPv3 --fpmode=ieee_fixed&lt;br /&gt;&lt;br /&gt;Linker Settings:&lt;br /&gt;--cpu=Cortex-A8 --fpu=VFPv3 --fpmode=ieee_fixed&lt;br /&gt;&lt;br /&gt;################################################################################&lt;br /&gt;##&lt;br /&gt;&lt;br /&gt;*******************************&lt;br /&gt;&lt;br /&gt;In RV Debbuer, i connected the target to ARM Cortex-A8. Its mode is set to SVC mode by default.&lt;br /&gt;After loading the image, the Log window shows these messages:&lt;br /&gt;&lt;br /&gt;Workspace: Opening Connections...&lt;br /&gt;Workspace: connect &amp;quot;ARM_Cortex-A8_0@ISSM&amp;quot;&lt;br /&gt;Attached to stopped device&lt;br /&gt;Workspace: Init/Open done.&lt;br /&gt;Warning: 88 registers defined for this core are not available from the target.&lt;br /&gt;&lt;br /&gt;*******************************&lt;br /&gt;&lt;br /&gt;*******************************************************&lt;br /&gt;If the stop the program in between i observe the following instructions.&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160; S:00000818 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&amp;#160;&amp;#160; S:0000081C 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&amp;#160;&amp;#160; S:00000820 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&amp;#160;&amp;#160; S:00000824 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&amp;#160;&amp;#160; S:00000828 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&amp;#160;&amp;#160; S:0000082C 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&amp;#160;&amp;#160; S:00000830 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&amp;#160;&amp;#160; S:00000834 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&amp;#160;&amp;#160; S:00000838 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&amp;#160;&amp;#160; S:0000083C 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&lt;br /&gt;*******************************************************&lt;br /&gt;&lt;br /&gt;Can u any one please help me to solve this problem. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks in Advance&lt;br /&gt;Divya&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Hi Divya&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;If you want to use the code running on RVDebugger 4.0, you have to follow the steps.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;1. You have to use scatter.scat, init.s, Initcache.s and retarget.c : These are the files you will get generally with the sample examples. These files are used to allocate the memory for code, stack and heap etc.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;2. You have to enable the debug options in compiler and source line debug in assembler.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Then you can able to get the code running properly on RVDEBUGGER 4.0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Thanks and Regards&lt;/span&gt;&lt;br /&gt;&lt;span&gt; Sridhar Artham&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Settings for RVDS 4.0 with ARM Cortex-A8 Processor</title><link>https://community.arm.com/thread/1472?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2013 10:58:27 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1fe75156-2f13-4622-bfb2-9263f7147341</guid><dc:creator>Martin Weidmann</dc:creator><description>&lt;div&gt;&lt;i&gt;Note: This was originally posted on 27th May 2009 at &lt;a href="http://forums.arm.com"&gt;http://forums.arm.com&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;I suspec the FPU is the cause...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;When building for a FPU the generated code will assume the FPU is enabled (and correctly) configurred before you reach the C library initialization.&amp;#160; The FPU is disabled out of reset, so it is up to the reset handler&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;As I&amp;#39;m guessing you don&amp;#39;t have a reset handler the FPU will still be disabled when you reach the C library init.&amp;#160; The C library init tries to access the FPU, fails and takes an exception.&amp;#160; So you end up executing junk.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Try building with &amp;quot;--cpu 7-A&amp;quot;&amp;#160; or using the below link to set up the FPU:&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;[url=&amp;quot;&lt;/span&gt;&lt;a href="http://infocenter.arm.com/help/topic/com.arm.doc.dai0098a/index.html" target="_blank"&gt;http://infocenter.arm.com/help/topic/com.arm.doc.dai0098a/index.html&lt;/a&gt;&lt;span&gt;&amp;quot;]&lt;/span&gt;&lt;a target="_blank"&gt;http://infocenter.arm.com/help/topic/com.a...098a/index.html[/url]&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Settings for RVDS 4.0 with ARM Cortex-A8 Processor</title><link>https://community.arm.com/thread/1473?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2013 10:58:27 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f243ed77-90d6-4de3-84df-ecd93a1ad6b6</guid><dc:creator>Satish Babu</dc:creator><description>&lt;div&gt;&lt;i&gt;Note: This was originally posted on 27th May 2009 at &lt;a href="http://forums.arm.com"&gt;http://forums.arm.com&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Hi Divya,&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160; I think during compilation you might have selected your target as &amp;quot;Cortex-A8&amp;quot;.But if you want to use this target, then this will require initialization code in order to work. See Application Note 133 at www.arm.com/documentation/Application_Notes.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;select target as &amp;quot;Cortex-A8NoNEON&amp;quot; in RVCT,then it works.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;satish &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Hi everyone, &lt;br /&gt;&amp;#160; I am new to RVDS 4.0. I am able to run a simple application like&amp;#160; addition with other processors (ARM11). &lt;br /&gt;&lt;br /&gt;&lt;code&gt;#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;br /&gt;int main()&lt;br /&gt;{&lt;br /&gt; float a,b,c;&lt;br /&gt; a = 1.3; b = 2.6;&lt;br /&gt; c = a+b;&lt;br /&gt; printf(&amp;quot;c = %f\n&amp;quot;,c);&lt;br /&gt; &lt;br /&gt;}&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;But, when i compile and run the same application for ARM Cortex-A8, its going to infinite loop.&lt;br /&gt;&lt;br /&gt;################################################################################&lt;br /&gt;##&lt;br /&gt;Compiler Settings: &lt;br /&gt;--arm --debug --cpu=Cortex-A8 --fpu=VFPv3 --fpmode=ieee_fixed -O1 --vectorize&lt;br /&gt;&lt;br /&gt;Assembler Settings:&lt;br /&gt;--arm -g --cpu=Cortex-A8 --fpu=VFPv3 --fpmode=ieee_fixed&lt;br /&gt;&lt;br /&gt;Linker Settings:&lt;br /&gt;--cpu=Cortex-A8 --fpu=VFPv3 --fpmode=ieee_fixed&lt;br /&gt;&lt;br /&gt;################################################################################&lt;br /&gt;##&lt;br /&gt;&lt;br /&gt;*******************************&lt;br /&gt;&lt;br /&gt;In RV Debbuer, i connected the target to ARM Cortex-A8. Its mode is set to SVC mode by default.&lt;br /&gt;After loading the image, the Log window shows these messages:&lt;br /&gt;&lt;br /&gt;Workspace: Opening Connections...&lt;br /&gt;Workspace: connect &amp;quot;ARM_Cortex-A8_0@ISSM&amp;quot;&lt;br /&gt;Attached to stopped device&lt;br /&gt;Workspace: Init/Open done.&lt;br /&gt;Warning: 88 registers defined for this core are not available from the target.&lt;br /&gt;&lt;br /&gt;*******************************&lt;br /&gt;&lt;br /&gt;*******************************************************&lt;br /&gt;If the stop the program in between i observe the following instructions.&lt;br /&gt;&lt;br /&gt;&amp;#160;&amp;#160; S:00000818 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&amp;#160;&amp;#160; S:0000081C 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&amp;#160;&amp;#160; S:00000820 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&amp;#160;&amp;#160; S:00000824 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&amp;#160;&amp;#160; S:00000828 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&amp;#160;&amp;#160; S:0000082C 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&amp;#160;&amp;#160; S:00000830 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&amp;#160;&amp;#160; S:00000834 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&amp;#160;&amp;#160; S:00000838 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&amp;#160;&amp;#160; S:0000083C 00000000&amp;#160; ANDEQ&amp;#160;&amp;#160;&amp;#160; r0,r0,r0&lt;br /&gt;&lt;br /&gt;*******************************************************&lt;br /&gt;&lt;br /&gt;Can u any one please help me to solve this problem. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks in Advance&lt;br /&gt;Divya&lt;/blockquote&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>