<?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>help required</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/26453/help-required</link><description> 
Dear All 
I have to build an application that uses LM3S8962 Microcontroller
from Texas Instruments to control the speed and direction of dc
motor. As i am new to microcontroller programming and is much
confused as how to start. Could anyone please tell</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: help required</title><link>https://community.arm.com/thread/139788?ContentTypeID=1</link><pubDate>Wed, 22 Dec 2010 18:18:07 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:04491314-6522-4296-8b9c-84f0396f55fa</guid><dc:creator>&amp;#178;erik malund</dc:creator><description>&lt;p&gt;&lt;p&gt;
&amp;quot;What would be the first question a Christmas tree salesman would
ask when employed as a carpenter?&amp;quot;&lt;/p&gt;

&lt;p&gt;
eqauivalent to&lt;/p&gt;

&lt;p&gt;
&amp;quot;What would be the first question a PC coder would ask when
employed as an embedded programmer?&amp;quot;&lt;/p&gt;

&lt;p&gt;
the answer to both: &amp;quot;who knows, but it will not be very
relevant&amp;quot;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: help required</title><link>https://community.arm.com/thread/136361?ContentTypeID=1</link><pubDate>Wed, 22 Dec 2010 11:55:59 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:015b1cf2-8eba-4a19-8241-04e996841c8b</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
&amp;quot;What would be the first question a Christmas tree salesman would
ask when employed as a carpenter?&amp;quot;&lt;/p&gt;

&lt;p&gt;
I have just received some very good delivery of material. You
wan&amp;#39;t me to make a christmas tree for you? I make them in any size
from 30cm to 3 meters. I use biodegrateable glue, so the needles will
stay for about 1-2 weeks - a bit more if you keep the lube moist.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: help required</title><link>https://community.arm.com/thread/126568?ContentTypeID=1</link><pubDate>Wed, 22 Dec 2010 09:09:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5a247351-17f8-465b-a3dd-89b0453e453d</guid><dc:creator>&amp;#178;erik malund</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;Doesn&amp;#39;t seem to be the case here - why would even a PC
programmer want to be working backwards from assembler to
&amp;#39;C&amp;#39;??&lt;/i&gt;&lt;br /&gt;
Why not when experienceing to culture shock of not having everything
delivered on a silver platter.&lt;br /&gt;
What would be the first question a Christmas tree salesman would ask
when employed as a carpenter?&lt;/p&gt;

&lt;p&gt;
Erik&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: help required</title><link>https://community.arm.com/thread/119121?ContentTypeID=1</link><pubDate>Wed, 22 Dec 2010 08:55:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ecd921b3-f71c-4389-b797-3cf148060170</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Doesn&amp;#39;t seem to be the case here - why would even a PC programmer
want to be working backwards from assembler to &amp;#39;C&amp;#39;??&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: help required</title><link>https://community.arm.com/thread/104473?ContentTypeID=1</link><pubDate>Wed, 22 Dec 2010 08:40:55 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:93f08d7d-483b-473e-b897-9dfa22c6eb10</guid><dc:creator>&amp;#178;erik malund</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;i have knowledge of C/C++ but i m confused how to transform
assembly language instructions to C language commands.&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
As so many PC types before, you see &amp;quot;embedded software&amp;quot; as &amp;quot;any
software&amp;quot; IT IS NOT.&lt;/p&gt;

&lt;p&gt;
In (small) embedded you talk directly to the hardware and if you
do not have (at least a basic) understanding of assembly you will be
lost. I/O does not &amp;#39;speak&amp;#39; in abstraction it &amp;#39;speaks&amp;#39; in
absolutes.&lt;/p&gt;

&lt;p&gt;
Erik&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: help required</title><link>https://community.arm.com/thread/104469?ContentTypeID=1</link><pubDate>Wed, 22 Dec 2010 07:49:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:45dac4a3-99e0-4c7c-9631-6f2a3f46e4fc</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
But what &lt;i&gt;experience&lt;/i&gt; do you have in using them?&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;i m confused how to transform assembly language instructions
to C language commands&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Why would you want to do that?&lt;/p&gt;

&lt;p&gt;
You say you &amp;quot;have knowledge of C/C++&amp;quot; - but have you ever used
them to write programs?&lt;br /&gt;
If you have, did you start with assembler and work backwards to C/C++
source code??&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;This is an industrial application project&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Then invest in some proper training!&lt;br /&gt;
Or hire a suitably-skilled employee.&lt;br /&gt;
Or get a consultultant in...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: help required</title><link>https://community.arm.com/thread/104468?ContentTypeID=1</link><pubDate>Wed, 22 Dec 2010 07:33:47 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0e7bbb96-52b6-4ad4-8529-5bc30d95457b</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
No C programmer would ever ask of the corresponding C code to add
two numbers. That is like a person with a driving license asking if
they should steer the car with the wheel or with the gear
shifter.&lt;/p&gt;

&lt;p&gt;
If you have found any DSP algorithm coded in assembly, it might be
meaningful to discus that specific code sequence. What it actually
does. But a C programmer don&amp;#39;t need to ask how to perform something
as trivial as to add two numbers together. And a C programmer would
know that a C program would normally not need any access to any
registers, since the compiler will supply the mapping from C
variables into processor registers.&lt;/p&gt;

&lt;p&gt;
Back to the drawing board, and try to reformulate exactly where
you are stuck and what you _need_ help with.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: help required</title><link>https://community.arm.com/thread/78901?ContentTypeID=1</link><pubDate>Wed, 22 Dec 2010 07:21:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:04112820-f291-4138-9e42-95c1a6bee69a</guid><dc:creator>Jaiprakash Chauhan</dc:creator><description>&lt;p&gt;&lt;p&gt;
Dear Sir&lt;br /&gt;
This is an industrial application project. Actually i have to
interface the controller to DC motor and the speed and direction of
the motor is to be controlled by using an optical encoder. I will
have to read the output of the encoder and accordingly set the Pulse
width of PWM controller. This module also needs to be controlled
remotely via TCP/IP Interface and then i should be able to do the
same fuctions remotely.&lt;br /&gt;
The problem is that: as there are plenty of literature available on
TI site, so i am confused from where to start. so could u just give
me the guidelines as how to start the things. i have knowledge of
C/C++ but i m confused how to transform assembly language
instructions to C language commands.So could you just give me an
example .... say i have to registers R0 and R1, and i want&lt;br /&gt;
to add the contents of these two registers. if the assembly language
command to add is ADD R0,R1... what will be the coressponding C
command of it.....&lt;/p&gt;

&lt;p&gt;
Thanks for your earlier response...&lt;br /&gt;
Jaiprakash Chauhan&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: help required</title><link>https://community.arm.com/thread/66122?ContentTypeID=1</link><pubDate>Wed, 22 Dec 2010 06:58:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:07cf9938-e5a6-460e-a1e7-53781843b3be</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Why do you &lt;i&gt;&lt;b&gt;have&lt;/b&gt;&lt;/i&gt; to? Is it a school assignment?&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;i am new to microcontroller programming&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Do you have any experience in any other kind of programming?&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;is much confused as how to start&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
What study have you done in preparation for this task?&lt;/p&gt;

&lt;p&gt;
Here&amp;#39;s some books: &lt;a href="http://www.keil.com/books"&gt;http://www.keil.com/books&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
Texas Instruments also have a whole load of stuff on their
site...&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;how can i start to write the program&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Before you start to write any program, you need to know - in
detail - what that program has to do.&lt;br /&gt;
Design first; code later!&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;will i have to study the technical manual&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Yes, of course!&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;and assembly language instructions of the
microcontroller&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Not necessarily - you can probably do most (if not all) of it in
&amp;#39;C&amp;#39;&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;Can i get their C equivalent commands and functions
etc&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
That is the wrong way to think!&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;The requirement is urgent&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Is it?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>