<?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>problems in compiling .src file</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/17298/problems-in-compiling-src-file</link><description> hi 
all 
iam working on cygnal mcus,iam converting my c programme into asm by using src directive, 
presently iam using evaluation version of cygnal shipped with 4kbprogramme memory keil version . 
iam compiling the c programme using 
#pragma src 
iam</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: problems in compiling .src file</title><link>https://community.arm.com/thread/41839?ContentTypeID=1</link><pubDate>Thu, 11 Mar 2004 02:37:59 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:364f3761-1783-43b6-bb9c-02e61efa9372</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;Does the rest of your Project build complete?&lt;br /&gt;
ie, do you get a Linked executable?&lt;br /&gt;
&lt;br /&gt;
Does it download OK to the target?&lt;br /&gt;
&lt;br /&gt;
If this is all OK, you need to &lt;b&gt;Debug&lt;/b&gt; your code. You will find this much easier if you do &lt;b&gt;not&lt;/b&gt; do the &amp;#39;C&amp;#39;-to-assembler conversion.&lt;br /&gt;
Why do you want to do that anyway?&lt;br /&gt;
&lt;br /&gt;
Are you sure that your hardware is all working, and the connection to your PC, and the configuration of your PC?&lt;br /&gt;
&lt;br /&gt;
Have you tried the &amp;quot;Blinky&amp;quot; example to verify that you can do something really simple like just flash a LED on your target?&lt;br /&gt;
&lt;br /&gt;
Have you tried a simple &amp;quot;Hello, World&amp;quot; example, to verify that you can do basic serial IO?&lt;br /&gt;
&lt;br /&gt;
Have you tried running your code in the &lt;b&gt;Simulator&lt;/b&gt;, to remove all of these target hardware questions?&lt;br /&gt;
&lt;br /&gt;
Have you followed the &lt;b&gt;Standard advice&lt;/b&gt; for getting started with the 8051 and/or the Keil tools:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;b&gt;First&lt;/b&gt;&lt;/i&gt;, you need to read the uVision &lt;i&gt;Getting Started&lt;/i&gt; guide, and work through the example projects in it.&lt;br /&gt;
&lt;br /&gt;
You need to read the following documents - commonly referred to as &amp;quot;the bible&amp;quot; for the 8051:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_ARCH_1.pdf" target="_blank"&gt;http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_ARCH_1.pdf&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_PROG_GUIDE_1.pdf" target="_blank"&gt;http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_PROG_GUIDE_1.pdf&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_HARDWARE_1.pdf" target="_blank"&gt;http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_HARDWARE_1.pdf&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Are you also a newbie to &amp;#39;C&amp;#39; programming in general?&lt;br /&gt;
If so, you&amp;#39;ll also need a good &amp;#39;C&amp;#39; textbook.&lt;br /&gt;
&lt;br /&gt;
Here are some other introductory &amp;amp; reference materials:&lt;br /&gt;
&lt;a href="http://www.keil.com/books/8051books.asp"&gt;http://www.keil.com/books/8051books.asp&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.8052.com/books.phtml" target="_blank"&gt;http://www.8052.com/books.phtml&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.8052.com/tutorial.phtml" target="_blank"&gt;http://www.8052.com/tutorial.phtml&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
You will need to read the &lt;b&gt;Data Sheet&lt;/b&gt; for your particular processor, and the Manual(s) for any development boards, etc.&lt;br /&gt;
&lt;br /&gt;
You will need to read the Manuals for the C51 Compiler, A51 Assembler, etc, etc,...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>