<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Does difference exists between nRF52832 gcc and keil?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42015/does-difference-exists-between-nrf52832-gcc-and-keil</link><description>Hi, 
 I am doing a job with nRF52832 with keil in initial period. I have two peripherals and connect to nRF52832 via uart, and it runs well. Recently, I migrate the job to gcc environment. All runs well except for the ble. My phone can&amp;#39;t connect to device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Jan 2019 11:58:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42015/does-difference-exists-between-nrf52832-gcc-and-keil" /><item><title>RE: Does difference exists between nRF52832 gcc and keil?</title><link>https://devzone.nordicsemi.com/thread/163419?ContentTypeID=1</link><pubDate>Wed, 02 Jan 2019 11:58:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bf37b3d-ea88-442c-a69a-9d00a960170b</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Excellent!&lt;/p&gt;
&lt;p&gt;Please mark the solution:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/6330._5F00_Verify_2D00_answer_2D00_nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does difference exists between nRF52832 gcc and keil?</title><link>https://devzone.nordicsemi.com/thread/163415?ContentTypeID=1</link><pubDate>Wed, 02 Jan 2019 11:44:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:396432fb-f351-42bd-bafe-cdeee0de4008</guid><dc:creator>nero</dc:creator><description>&lt;p&gt;Hi, it indeed has nothing to do with the toolchain. And I have found the problem is the stack overflow of my task in freertos. Thanks a lot again and have a nice day !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does difference exists between nRF52832 gcc and keil?</title><link>https://devzone.nordicsemi.com/thread/163392?ContentTypeID=1</link><pubDate>Wed, 02 Jan 2019 10:19:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:881f8f26-6969-4daf-8fb4-289f82271327</guid><dc:creator>awneil</dc:creator><description>[quote userid="74053" url="~/f/nordic-q-a/42015/does-difference-exists-between-nrf52832-gcc-and-keil/163336"]The gcc toolchain is recommanded by nordic[/quote]
&lt;p&gt;In fact, they recommend&amp;nbsp;Segger Embedded Studio - which comes with GCC as its toolchain.&lt;/p&gt;
&lt;p&gt;They provide SES projects for the examples.&lt;/p&gt;
[quote userid="74053" url="~/f/nordic-q-a/42015/does-difference-exists-between-nrf52832-gcc-and-keil/163336"]My main job is debug the two uart&amp;nbsp;peripherals[/quote]
&lt;p&gt;So start a separate thread on that.&lt;/p&gt;
[quote userid="74053" url="~/f/nordic-q-a/42015/does-difference-exists-between-nrf52832-gcc-and-keil/163336"]52832 [/quote]
&lt;p&gt;but the 52832 only has one hardware UART peripheral?&lt;/p&gt;
[quote userid="74053" url="~/f/nordic-q-a/42015/does-difference-exists-between-nrf52832-gcc-and-keil/163336"] I don&amp;#39;t think it is the problem of toochain. If it is, ble won&amp;#39;t work from beginning.[/quote]
&lt;p&gt;Maybe.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s possible that you may have something incorrectly configured, which causes a problem which does not manifest&amp;nbsp;during the initial connection ...&lt;/p&gt;
&lt;p&gt;You need to use the debugger to find where &amp;amp; why it&amp;#39;s failing ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does difference exists between nRF52832 gcc and keil?</title><link>https://devzone.nordicsemi.com/thread/163336?ContentTypeID=1</link><pubDate>Wed, 02 Jan 2019 02:01:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed589663-fd1e-464c-9fda-eb3ffff96498</guid><dc:creator>nero</dc:creator><description>&lt;p&gt;Thanks for reply. The gcc toolchain is recommanded by nordic,&amp;nbsp;C:\Program Files (x86)\GNU Tools Arm Embedded\7 2018-q2-update\arm-none-eabi. My main job is debug the two uart&amp;nbsp;peripherals. When add the&amp;nbsp;&lt;span&gt;peripherals, 52832 ble is not working. Remove them, ble is ok. So I don&amp;#39;t think it is the problem of toochain. If it is, ble won&amp;#39;t work from beginning.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does difference exists between nRF52832 gcc and keil?</title><link>https://devzone.nordicsemi.com/thread/163237?ContentTypeID=1</link><pubDate>Sat, 29 Dec 2018 10:07:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a6a5495-82cb-462a-8754-4e3732931709</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Yes, of course Keil and GCC are entirely different products!&lt;/p&gt;
&lt;p&gt;This really has nothing specifically to do with nRF -&amp;nbsp;the same applies to porting &lt;em&gt;&lt;strong&gt;any&lt;/strong&gt;&lt;/em&gt; system from one toolchain to another:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Although the &amp;#39;C&amp;#39; language is standardised, the standards make many things &lt;em&gt;implementation-defined - &lt;/em&gt;and a few which are&lt;em&gt; undefined.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;I don&amp;#39;t think I&amp;#39;ve ever come across a compiler which doesn&amp;#39;t add some proprietary &lt;em&gt;extensions&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;As well as the compiler, you need to consider the other parts of the toolchain, which are beyond the scope of the &amp;#39;C&amp;#39; language definition - in particular, the &lt;strong&gt;Linker&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
[quote userid="74053" url="~/f/nordic-q-a/42015/does-difference-exists-between-nrf52832-gcc-and-keil"]My phone can&amp;#39;t connect to device anymore[/quote]
&lt;p&gt;So what &lt;strong&gt;debugging&lt;/strong&gt; have you done to find where the problem(s) is/are ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Rather than try to port the Keil project, I would suggest that you start afresh with one of Nordic&amp;#39;s specific GCC projects - to give you a known-good starting point.&lt;/p&gt;
&lt;p&gt;Once you have that working, you can start to merge in your functionality ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>