<?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>Hex code given by the shop works but our compiled correct code is not working</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/34375/hex-code-given-by-the-shop-works-but-our-compiled-correct-code-is-not-working</link><description> 
I am using Lpc2148 arm 7 controller. Since from past few days the
hex file of the sample program given by the Shop is working while if
we copy the .c file of the same sample program and build it is not
working. I have checked the code it is correct</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Hex code given by the shop works but our compiled correct code is not working</title><link>https://community.arm.com/thread/69922?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2017 00:47:54 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b3e08884-6088-4234-9609-83e648348c96</guid><dc:creator>cOSankalp Agarwal</dc:creator><description>&lt;p&gt;&lt;p&gt;
How about trying to play with already exisiting examples first
?&lt;/p&gt;

&lt;p&gt;
Download the legacy pack for ARM-7 from below link (in case you
are using MDKv5.xx):&lt;br /&gt;
&lt;a href="http://www2.keil.com/mdk5/legacy/"&gt;www2.keil.com/.../&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
The example for this device is located in:&lt;br /&gt;
\Keil_v5\ARM\Boards\Keil\MCB2140\&lt;/p&gt;

&lt;p&gt;
Do understanf that these examples for for MCB2140 which has the
same device as of yours.&lt;/p&gt;

&lt;p&gt;
If you have your own board then check the schematics for proper
peripheral initilization.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hex code given by the shop works but our compiled correct code is not working</title><link>https://community.arm.com/thread/86106?ContentTypeID=1</link><pubDate>Fri, 31 Mar 2017 08:56:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:594220b9-cf4f-4855-9772-f8d4b242e437</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
Nobody here is going to check the problem, have the store explain
it to you.&lt;/p&gt;

&lt;p&gt;
What board, what version of uVision, what application. You post is
very non-specific beyond a chip, but that could be connected a
million ways.&lt;/p&gt;

&lt;p&gt;
Suggests you are picking the wrong board or target/options for the
tool chain.&lt;/p&gt;

&lt;p&gt;
Review the schematic for your boards, and look at the board itself
and the example code.&lt;/p&gt;

&lt;p&gt;
Disassemble the .HEX file, and/or debug it, and understand how it
differs from your own code.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>