<?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>NRF_FAULT_ID_SDK_ERROR in application initialization</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43269/nrf_fault_id_sdk_error-in-application-initialization</link><description>Hi, 
 I&amp;#39;m attempting to flash program a Nina B112 Bluetooth Module (from Ublox), which is built uppon a NRF52832 board and i&amp;#39;m attaching this module to a custom board. 
 I&amp;#39;m Using SDK version 15.2.0 and softdevice s132 version 6.1.0. I was able to compile</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Feb 2019 12:32:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43269/nrf_fault_id_sdk_error-in-application-initialization" /><item><title>RE: NRF_FAULT_ID_SDK_ERROR in application initialization</title><link>https://devzone.nordicsemi.com/thread/169915?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 12:32:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61e603df-1c39-4e1b-b04b-5cd116616089</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;You&amp;#39;re welcome!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_FAULT_ID_SDK_ERROR in application initialization</title><link>https://devzone.nordicsemi.com/thread/169885?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 10:26:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a051fb8f-0c7b-4dc6-afb5-8f5540d37f3e</guid><dc:creator>Bruno</dc:creator><description>&lt;p&gt;hmmmm, i see, i didn&amp;#39;t try that, that&amp;#39;s a nice suggestion! I did flash my custom board using the SW pins from NINA-B1-EVK but didn&amp;#39;t think about using it&amp;#39;s RTT debugger output....&lt;/p&gt;
&lt;p&gt;Thank you very much!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_FAULT_ID_SDK_ERROR in application initialization</title><link>https://devzone.nordicsemi.com/thread/169870?ContentTypeID=1</link><pubDate>Thu, 07 Feb 2019 09:45:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:422e12d8-7907-45c7-91ee-fc3a0d88920d</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Bruno,&lt;/p&gt;
&lt;p&gt;I meant that you could maybe use the SWDIO and SWCLK pins from the NINA-B1-EVK debugger chip and connect them to your custom board, so this way you can use the onboard debugger in the NINA module to debug your custom board. So you could do the same thing as when using the onboard debugger on our nRF52 DK to debug custom boards, as explained in &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/programming-and-debugging-custom-nrf5x-devices"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_FAULT_ID_SDK_ERROR in application initialization</title><link>https://devzone.nordicsemi.com/thread/169788?ContentTypeID=1</link><pubDate>Wed, 06 Feb 2019 16:10:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:212c1f7f-8ce0-4d19-a642-6734ebf7078f</guid><dc:creator>Bruno</dc:creator><description>&lt;p&gt;Hi, Marjeris,&lt;/p&gt;
&lt;p&gt;I already had my DEBUG flag in the sdk_config.h, removed compiler optimization according to nordic&amp;#39;s tutorial for programming on eclipse and added the DDEBUG CFLAG to my Makefile. But, as i said, the line_num and p_file_name still shows 0x0 (zero)&lt;/p&gt;
&lt;p&gt;I figured that i could see the RTT log on NINA-B1-EVK, but the problem is that when i flash the firmware to the evk I don&amp;#39;t get any error, it runs perfectly, so there is nothing to see there....&lt;/p&gt;
&lt;p&gt;I&amp;#39;m finishing some tests, but i&amp;#39;m almost sure the problem is with Tx and Rx pins unconnected during uart initialization. Now I&amp;#39;m testing the communication itself.&lt;/p&gt;
&lt;p&gt;Thanks for your answer,&lt;/p&gt;
&lt;p&gt;Bruno&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_FAULT_ID_SDK_ERROR in application initialization</title><link>https://devzone.nordicsemi.com/thread/169782?ContentTypeID=1</link><pubDate>Wed, 06 Feb 2019 15:48:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78ee908a-ab63-4345-a5fa-ee859b6b761f</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Bruno,&lt;/p&gt;
&lt;p&gt;To debug this you should set the DEBUG flag, and remove compiler optimization. When using gcc you should change &amp;quot;OPT = -O3 -g3 &amp;quot; to &amp;quot;OPT = -O0 -g3 &amp;quot; in the Makefile. And set CFLAG to CFLAG += -DDEBUG&lt;/p&gt;
&lt;p&gt;With this you may get more information when you debug and use breakpoints. You should try to get some information about lin_num and p_file_name.&lt;/p&gt;
&lt;p&gt;And from the NINA EVK datasheet it seems as you can use the J-link hardware on the EVK-NINA-B1 to debug:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;The SEGGER J-Link software [5] is required to debug using the&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;onboard J-Link hardware on the EVK-NINA-B1.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;So I think you should be able to get some RTT logs using the onboard debugger. &lt;br /&gt;&lt;br /&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_FAULT_ID_SDK_ERROR in application initialization</title><link>https://devzone.nordicsemi.com/thread/169598?ContentTypeID=1</link><pubDate>Tue, 05 Feb 2019 18:33:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cbeddc0-8039-44f7-8576-7775fa2bba61</guid><dc:creator>Bruno</dc:creator><description>&lt;p&gt;Hey, I think i figured! Maybe the UART pins were unconnected and the code was getting stuck in the initialization! I&amp;#39;m still running some tests though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_FAULT_ID_SDK_ERROR in application initialization</title><link>https://devzone.nordicsemi.com/thread/169471?ContentTypeID=1</link><pubDate>Tue, 05 Feb 2019 10:34:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb73dd90-b931-40d7-a0b4-f8b06c4ade01</guid><dc:creator>Bruno</dc:creator><description>&lt;p&gt;So, basically, to summirize: i&amp;#39;ve written a code and generated it&amp;#39;s image using SDK v15.2&lt;/p&gt;
&lt;p&gt;I am able to burn it to my BLE module EVK, but i can&amp;#39;t burn it to my custom board.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve also written a code using SDK v14.0, generated it&amp;#39;s image and I was able to burn it to both the EVK and my Custom Board.&lt;/p&gt;
&lt;p&gt;Yesterday i tried changing my CustomBoard.h (pin definitions) to the same i used on my SDK v14.0 project, but the same error persists.&lt;/p&gt;
&lt;p&gt;I also tried burning it with my EVK using the SW pins connected to my BLE module, but i did not succeed.&lt;/p&gt;
&lt;p&gt;Is there some configuration that I&amp;#39;m missing in this SDK v15.2?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_FAULT_ID_SDK_ERROR in application initialization</title><link>https://devzone.nordicsemi.com/thread/169363?ContentTypeID=1</link><pubDate>Mon, 04 Feb 2019 16:36:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28caf3aa-a47d-4a93-8bed-cc26e82f9205</guid><dc:creator>Bruno</dc:creator><description>&lt;p&gt;I was about to finish configuring all logs as you suggested, but then i realized: will i be able to see logs?&lt;/p&gt;
&lt;p&gt;The problem is that i use the UART for communicating to another micro and i don&amp;#39;t have a j linker debugger to check RTT responses, can i see RTT messages over Pe Micro Multilink Universal debug probe?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_FAULT_ID_SDK_ERROR in application initialization</title><link>https://devzone.nordicsemi.com/thread/169336?ContentTypeID=1</link><pubDate>Mon, 04 Feb 2019 14:46:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e84207c9-c8d6-405b-a25e-f0bc88d6101e</guid><dc:creator>Bruno</dc:creator><description>&lt;p&gt;Hi, thanks for the answer,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which log modules should i enable? (such as PDM_CONFIG_LOG_ENABLED, GPIOTE_CONFIG_LOG_ENABLED...?)&lt;/p&gt;
&lt;p&gt;and by changing the log level, you mean change&amp;nbsp;GPIOTE_CONFIG_LOG_LEVEL (for example) to level 4 (which is debug mode)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF_FAULT_ID_SDK_ERROR in application initialization</title><link>https://devzone.nordicsemi.com/thread/169315?ContentTypeID=1</link><pubDate>Mon, 04 Feb 2019 13:41:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed7ad7ff-b273-4c02-a841-4df3ba7030a7</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;Do you have any debug log information? You can print the debug logs via UART or RTT by enabling the logging module in sdk_config.h. You should also change the log level to &amp;quot;debug&amp;quot;, also in sdk_config.h.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>