<?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>Compilation issue with KEIL</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/27085/compilation-issue-with-keil</link><description> 
Hi, 

 
I am building my application for lpc3131 processor using keil
toolchain. I am able to create bin and rom image but when i try to
debug( that i can do only through axf file), my usbmem example(
provided by nxp ) does not work. But the same code</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Compilation issue with KEIL</title><link>https://community.arm.com/thread/126453?ContentTypeID=1</link><pubDate>Mon, 18 Oct 2010 22:56:59 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:bc880fec-36e1-4cd5-929c-84591ef1b687</guid><dc:creator>rohit taneja</dc:creator><description>&lt;p&gt;&lt;p&gt;
Now I am able to debug my application through axf file and usbem
example is working fine. But ROM format creation is still an issue. I
will go through the links provided.&lt;/p&gt;

&lt;p&gt;
What is the difference between bin and rom format except CRC
check? And if this is the only difference, does my board demand the
format with CRC checksum only ?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation issue with KEIL</title><link>https://community.arm.com/thread/116079?ContentTypeID=1</link><pubDate>Mon, 18 Oct 2010 22:47:19 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:7c1a8100-ee5a-4061-9899-86c20529bf00</guid><dc:creator>John Linq</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;I am able to create bin and rom image&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
If you already use the fromelf utility successfully, just failed
to debug the firmware, then I will recommend you to create a new
thread titled with &amp;quot;XXX USB XXX&amp;quot;, you may have a better chance to get
helps.&lt;/p&gt;

&lt;p&gt;
For debugging an USB Device:&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&lt;br /&gt;
&lt;a href="http://www.beyondlogic.org/usbnutshell/usb6.htm"&gt;www.beyondlogic.org/.../usb6.htm&lt;/a&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;These timeout periods are quite acceptable for even the slowest
of devices, but can be a restriction during debugging. 50mS doesn&amp;#39;t
provide for many debugging characters to be sent at 9600bps on an
asynchronous serial port or for a In Circuit Debugger/Emulator to
single step or to break execution to examine the internal Registers.
As a result, USB requires some different debugging methods to that of
other microcontroller projects.&lt;/i&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation issue with KEIL</title><link>https://community.arm.com/thread/104328?ContentTypeID=1</link><pubDate>Mon, 18 Oct 2010 22:33:41 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:777b211b-75f3-4221-a7c1-395d51dc5cfb</guid><dc:creator>John Linq</dc:creator><description>&lt;p&gt;&lt;p&gt;
KEIL Toolchain is able to generate AXF and HEX file. With the KEIL
Utility &lt;b&gt;fromelf&lt;/b&gt;, you can convert ELF images into other formats
for use by ROM tools and for loading directly into memory.&lt;/p&gt;

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

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

&lt;p&gt;
Debugging the firmware of an USB Device, needs a little more
considerations and preparations. So, I think that, you can
temporarily skip the debugging, and just download the firmware to
your target board, run it, and see if it works properly.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation issue with KEIL</title><link>https://community.arm.com/thread/78734?ContentTypeID=1</link><pubDate>Mon, 18 Oct 2010 21:21:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:25008a3d-141e-480e-97f7-1e8c1b108114</guid><dc:creator>rohit taneja</dc:creator><description>&lt;p&gt;&lt;p&gt;
I can execute my application successfully (not debug). In other
terms,I am able to create rom file using codesourcery toolchain and
burn it into the board, but the same thing is not happening through
KEIL. I may not be doing the settings correctly in IDE.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compilation issue with KEIL</title><link>https://community.arm.com/thread/58780?ContentTypeID=1</link><pubDate>Mon, 18 Oct 2010 18:46:04 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ca5259b8-5d19-4873-93fd-d989fd4a3c4a</guid><dc:creator>John Linq</dc:creator><description>&lt;p&gt;&lt;p&gt;
Do you mean that you can debug successfully with the codesourcery
toolchain?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>