<?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>How to debug KEIL using GCC</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/41428/how-to-debug-keil-using-gcc</link><description> 
I am using KEIL but with GCC for my STM32F0 uC. It would compile
fine and I am able to use the ST Link utility to download the hex
file. But when using KEIL to download the binary to the chip, there
is an error message: 

 
Load
&amp;quot;C:\\Working\\STMMicro</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: How to debug KEIL using GCC</title><link>https://community.arm.com/thread/120901?ContentTypeID=1</link><pubDate>Wed, 16 Nov 2016 08:11:16 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:796ad901-c5a9-4ef8-9965-6f482b2b350b</guid><dc:creator>Arr V</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thanks for the clarification. I was wondering if GCC can be
reliably replace KEIL default compiler? Can one develop a large scale
commercial application and having the ability to debug, step into the
codes, reliably using GCC?&lt;/p&gt;

&lt;p&gt;
Thanks.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug KEIL using GCC</title><link>https://community.arm.com/thread/118703?ContentTypeID=1</link><pubDate>Wed, 16 Nov 2016 07:50:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0645d6d8-023c-42ed-8a1f-bdb5b887d171</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
Flash parts can be very different, and board can have multiple
internal and external memory devices, and each falls within a
specific memory region, and requires code uploaded in to RAM to allow
for programming. This programming code is an &amp;quot;algorithm&amp;quot;, and is the
documented method Keil uses to achieve this.&lt;/p&gt;

&lt;p&gt;
The flash memory is not part of the ARM core, and is vendor
unique.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug KEIL using GCC</title><link>https://community.arm.com/thread/83412?ContentTypeID=1</link><pubDate>Tue, 15 Nov 2016 16:42:19 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0cf0760f-2ece-4fef-97ce-36523a795150</guid><dc:creator>Arr V</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thanks for your help I was able to get it to work, although the
error message is a bit misleading though.&lt;/p&gt;

&lt;p&gt;
I went into Debug-&amp;gt;Setting(next to STLink)-&amp;gt;Flash
Download(Tab) and then under the program algorithm selection, I then
select the RAM block for download.&lt;/p&gt;

&lt;p&gt;
But the word &amp;quot;algorithm&amp;quot; doesn&amp;#39;t seem to describe the problem, but
thanks for your help.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to debug KEIL using GCC</title><link>https://community.arm.com/thread/65138?ContentTypeID=1</link><pubDate>Tue, 15 Nov 2016 16:15:25 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ccf2f4e9-f7fd-4709-9ca3-d692cdd1be36</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
You would need to go into the debug settings, and select an
algorithm for the STM32F0 so it understands how to download into your
part.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>