<?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>NRF522832 FreeRTOS can&amp;#39;t start.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96752/nrf522832-freertos-can-t-start</link><description>Hi everyone: 
 I developed an application based on freertos, but when I download it, I found it can not start, but when I use the RTT to connect my device, It worked. 
 The commend is 
 
 SDK is 17.1.0. 
 Best regards, 
 Lurn.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Feb 2023 02:38:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96752/nrf522832-freertos-can-t-start" /><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/412390?ContentTypeID=1</link><pubDate>Tue, 28 Feb 2023 02:38:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b38f6cfc-1d30-4018-9e4e-328d36b0fe60</guid><dc:creator>Lurn_Z</dc:creator><description>&lt;p&gt;OK, thanks I think this problem has been solved.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/412236?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2023 11:30:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bcb38a7-9c26-47b5-8f2b-eacde9e5d662</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;The issue was only the RAM start. Interrupts are forwarded by the MBR, but if you don&amp;#39;t set the RAM start address correctly, it will not receive it&amp;#39;s interrupts correctly.&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/412165?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2023 08:11:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a41ec7dc-c3de-4ab2-b12f-2a8dc08315aa</guid><dc:creator>Lurn_Z</dc:creator><description>&lt;p&gt;Ok, it&amp;#39;s worked too, but why?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/412162?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2023 08:02:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7a68f3c-b467-4c7d-bd4e-5fdaabf9c60f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Actually, I spoke to a colleague of mine who wrote the FreeRTOS port for nRF52. Don&amp;#39;t comment out the lines from my previous reply. Just change the RAM start.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/412131?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2023 02:14:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13a9bf9b-959c-496b-841d-62363912290b</guid><dc:creator>Lurn_Z</dc:creator><description>&lt;p&gt;it&amp;#39;s worked, so the reason is start process interrupted by kernel?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/411996?ContentTypeID=1</link><pubDate>Fri, 24 Feb 2023 14:03:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b05890b2-2790-4111-b5d0-8c47ad2e6520</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;EDIT:&lt;/p&gt;
&lt;p&gt;DON&amp;#39;T&amp;nbsp;change the port.c file. Only change the RAM start and RAM size:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/8105.pastedimage1677247416334v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/411872?ContentTypeID=1</link><pubDate>Fri, 24 Feb 2023 09:31:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd0d0f4c-3681-4763-bcdd-8af0b10074ea</guid><dc:creator>Lurn_Z</dc:creator><description>&lt;p&gt;ok, try this&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nRF5_5F00_SDK_5F00_17.1.0.zip"&gt;devzone.nordicsemi.com/.../nRF5_5F00_SDK_5F00_17.1.0.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/411858?ContentTypeID=1</link><pubDate>Fri, 24 Feb 2023 09:00:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:353b3341-0a75-4040-8972-b5ef02990070</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Please zip a project that I can unzip that will compile where I can recreate the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/411835?ContentTypeID=1</link><pubDate>Fri, 24 Feb 2023 07:48:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0f3fe17-3fab-47e2-be36-51a2a86b6815</guid><dc:creator>Lurn_Z</dc:creator><description>&lt;p&gt;you can see the application in examples/peripheral/blinky_freertos/pca10040/blank/arm5_no_packs.&lt;/p&gt;
&lt;div class="lRu31"&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;I removed a lot of things that were not related to UART.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; So, maybe it looks &lt;span id="w_40"&gt;like &lt;/span&gt;&lt;span id="w_41"&gt;a &lt;/span&gt;&lt;span id="w_42" class=""&gt;bit &lt;/span&gt;&lt;span id="w_43"&gt;of &lt;/span&gt;&lt;span id="w_44"&gt;a &lt;/span&gt;&lt;span id="w_45" class=""&gt;mess&lt;/span&gt;.&lt;/div&gt;
&lt;div class="lRu31"&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1768.nRF5_5F00_SDK_5F00_17.1.0_5F00_ddde560.rar"&gt;devzone.nordicsemi.com/.../1768.nRF5_5F00_SDK_5F00_17.1.0_5F00_ddde560.rar&lt;/a&gt;&lt;/div&gt;
&lt;div class="lRu31"&gt;BR,&lt;/div&gt;
&lt;div class="lRu31"&gt;Lurn&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/411628?ContentTypeID=1</link><pubDate>Thu, 23 Feb 2023 11:16:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bdd6594-9595-4e10-aedc-3037c9108851</guid><dc:creator>Lurn_Z</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/96752/nrf522832-freertos-can-t-start/411603"]&lt;p&gt;Ok, can you please send me a strip down version, or at least an application that replicates the issue that you are seeing?&amp;nbsp; You can use one of the examples in the SDK as a starting point.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Ok, &lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;but it might take some time. I can share a part of my code now, but application will take some time.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;It looks &lt;span id="w_40"&gt;like &lt;/span&gt;&lt;span id="w_41"&gt;a &lt;/span&gt;&lt;span id="w_42" class=""&gt;bit &lt;/span&gt;&lt;span id="w_43"&gt;of &lt;/span&gt;&lt;span id="w_44"&gt;a &lt;/span&gt;&lt;span id="w_45" class=""&gt;mess, because I delete some another tasks things.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8823735.sdk_5F00_config.h"&gt;devzone.nordicsemi.com/.../8823735.sdk_5F00_config.h&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1321.main.c"&gt;devzone.nordicsemi.com/.../1321.main.c&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1212.thread.c"&gt;devzone.nordicsemi.com/.../1212.thread.c&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1616.uart.c"&gt;devzone.nordicsemi.com/.../1616.uart.c&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/96752/nrf522832-freertos-can-t-start/411603"]earch your&amp;nbsp;&lt;strong&gt;application&amp;#39;s&amp;nbsp;&lt;/strong&gt;sdk_config.h for &amp;quot;LF_SRC&amp;quot;. [/quote]
&lt;p&gt;yes, they all set to 1, after set it to 0,&amp;nbsp;threads aren&amp;#39;t started too.&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/96752/nrf522832-freertos-can-t-start/411603"]..RC_CTIV should be set to 16&lt;br /&gt;...RC_TEMP_CTIV should be set to 2&lt;br /&gt;...CLOCK_LF_ACCURACY should be set to 1[/quote]
&lt;p&gt;Sorry, I didn&amp;#39;t have the occurrences like you said...&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;BR,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;Lurn&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/411603?ContentTypeID=1</link><pubDate>Thu, 23 Feb 2023 10:13:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2598ccd-f6ab-464a-a361-8871a40951ca</guid><dc:creator>Edvin</dc:creator><description>[quote user="Lurn_Z"]I can&amp;#39;t send you my all application, but I can try to reduce something.[/quote]
&lt;p&gt;Ok, can you please send me a strip down version, or at least an application that replicates the issue that you are seeing?&amp;nbsp; You can use one of the examples in the SDK as a starting point.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, search your&amp;nbsp;&lt;strong&gt;application&amp;#39;s&amp;nbsp;&lt;/strong&gt;sdk_config.h for &amp;quot;LF_SRC&amp;quot;. Are they all set to 1? If so, they should be set to 0. And also, all occurences of:&lt;/p&gt;
&lt;p&gt;...RC_CTIV should be set to 16&lt;br /&gt;...RC_TEMP_CTIV should be set to 2&lt;br /&gt;...CLOCK_LF_ACCURACY should be set to 1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/411532?ContentTypeID=1</link><pubDate>Thu, 23 Feb 2023 07:18:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef221dba-fedc-4b53-99b0-97221b79f946</guid><dc:creator>Lurn_Z</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/96752/nrf522832-freertos-can-t-start/411365"]It may be a bit too late, but do you really need FreeRTOS?&amp;nbsp;[/quote]
&lt;p&gt;yes, I need FreeRTOS to scheduler my different processes.&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/96752/nrf522832-freertos-can-t-start/411365"]And you did program the MBR, right?[/quote]
&lt;p&gt;yes, &lt;strong&gt;I program the MBR, and the problem arose after that, when I only use FreeRTOS (address start from 0x00), my device looks fine&lt;/strong&gt;.&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/96752/nrf522832-freertos-can-t-start/411365"]Can you please send the application?[/quote]
&lt;p&gt;I can&amp;#39;t send you my all application, but I can try to reduce something.&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/96752/nrf522832-freertos-can-t-start/411365"]Oh, did you change your clock configurations in your application to use the internal RC Oscillator instead of the external LFXTAL? Because your custom board didn&amp;#39;t have an external LFXTAL, right?[/quote]
&lt;p&gt;before vTaskStartScheduler(); I used this.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;{
    nrf_drv_clock_init();
    
    NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED = 0;
    NRF_CLOCK-&amp;gt;TASKS_HFCLKSTART = 1;
    
    while(NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED == 0);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Lurn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/411365?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2023 13:03:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:677e9c97-23d2-4eeb-9433-650350e2ce87</guid><dc:creator>Edvin</dc:creator><description>[quote user="Lurn_Z"]can&amp;#39;t receive anything, even if I keep sending data.[/quote]
&lt;p&gt;So that is because your threads aren&amp;#39;t started, right?&lt;/p&gt;
&lt;p&gt;It may be a bit too late, but do you really need FreeRTOS?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know why it doesn&amp;#39;t work from your screenshot. Can you please send the application?&lt;/p&gt;
&lt;p&gt;And you did program the MBR, right?&lt;/p&gt;
&lt;p&gt;Oh, did you change your clock configurations in your application to use the internal RC Oscillator instead of the external LFXTAL? Because your custom board didn&amp;#39;t have an external LFXTAL, right?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/411280?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2023 08:57:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db4f4cde-5a99-4659-a587-543ba1365ebf</guid><dc:creator>Lurn_Z</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/96752/nrf522832-freertos-can-t-start/411274"]Do any of your tasks actually start?[/quote]
&lt;p&gt;Nope, the tasks not stat, and the vTaskStartScheduler() doesn&amp;#39;t return.the debug session is running and not arrived the breakpoint.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1677056245460v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/96752/nrf522832-freertos-can-t-start/411274"]What data? How do you send it? UART? BLE? ESB?[/quote]
&lt;p&gt;I use UART to send it, data is like abc...or something, just for test.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/411274?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2023 08:45:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7f4ef37-05bd-4993-80b6-b7cf90eb6752</guid><dc:creator>Edvin</dc:creator><description>[quote user="Lurn_Z"]can&amp;#39;t receive anything, even if I keep sending data.[/quote]
&lt;p&gt;What data? How do you send it? UART? BLE? ESB?&lt;/p&gt;
&lt;p&gt;Does vTaskStartScheduler() return?&lt;/p&gt;
&lt;p&gt;Do any of your tasks actually start? Have you tried debugging? Does it hardfault (stop around 0xA60 in the callstack), or does it keep running, just with no log output?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/411229?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2023 03:14:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6503bd6-e386-4e0e-8a30-cb94c72e320d</guid><dc:creator>Lurn_Z</dc:creator><description>&lt;p&gt;OK, when I&amp;nbsp; delete this code nrf_drv_clock_lfclk_request(NULL);&amp;nbsp; &lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;My device started working normally. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;And when set the RX pin pullup, I no longer get gibberish data.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;So,I think it &lt;span class="jCAhz ChMk0b C1N51c"&gt;works fine weather enable the UART or not.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;but when I program MBR and application, the FreeRTOS didn&amp;#39;t start scheduler.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;1. I only program application (address start 0x00), everthing looks ok, I can receive the data I send and rtt will show logs. &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;2. I program MBR and application (address start 0x1000), logs looks ok before the code running to vTaskStartScheduler(), and then there was nothing, I can&amp;#39;t receive anything, even if I keep sending data.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;BR,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="HwtZe" lang="en"&gt;&lt;span class="jCAhz ChMk0b"&gt;&lt;span class="ryNqvb"&gt;Lurn&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/411103?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2023 12:24:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a8f238f-7b48-4334-b879-b15773118df8</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;If you have a floating UART RX or CTS pin that is not connected to anything, and especially without pullup, then the application may crash before the log module is initialized. See if it reaches the main-loop in your project. If not, does it stop the same place every time, or does it vary? And if you disable the UART, does it still stop?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/410987?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2023 01:56:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfe35aee-4219-4f16-8e3f-fa36a6615581</guid><dc:creator>Lurn_Z</dc:creator><description>&lt;p&gt;yes, I can see it, and the breakpoint can be reached.&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: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/410920?ContentTypeID=1</link><pubDate>Mon, 20 Feb 2023 14:03:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00e234be-71bf-4dda-b454-063f67f6e0ef</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok. Were you able to see the RTT log, then? You did in your other ticket, at least. If not, can you please set a breakpoint in main() in main.c and see if this is reached?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/410767?ContentTypeID=1</link><pubDate>Mon, 20 Feb 2023 01:15:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2dfe1fa6-1e2b-4e08-8c07-67eba74af26e</guid><dc:creator>Lurn_Z</dc:creator><description>&lt;p&gt;yes, it&amp;#39;s me&lt;/p&gt;
&lt;p&gt;I connect the UART pins, should I set the nrf_gpio_cfg_input(p_config-&amp;gt;pselrxd, NRF_GPIO_PIN_NOPULL) to rf_gpio_cfg_input(p_config-&amp;gt;pselrxd, NRF_GPIO_PIN_PULLUP) ?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Lurn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/410603?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 11:18:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33f84919-8578-4e54-9bb9-1ab82eed6be1</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I just realized you are the same person that I just answered to in the other ticket &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
[quote user=""]I found it can not start, but when I use the RTT to connect my device, It worked[/quote]
&lt;p&gt;Could it be that when you connect the RTT, you also connect the UART pins? A floating UART pin (RX in particular), can cause the application to fail. Looking at the ble_app_uart example for reference, in the uart event handler in main.c, you can see that it has the event&amp;nbsp;APP_UART_COMMUNICATION_ERROR, which will trigger an APP_ERROR_CHECK(err), which will reset the application.&lt;/p&gt;
&lt;p&gt;For debugging purposes, see if you have something similar in your application, or try to disable the UART to see if the issue still occurs.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/410588?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 10:26:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7745e0f7-8e04-4e1e-b823-9ed022fba305</guid><dc:creator>Lurn_Z</dc:creator><description>&lt;p&gt;Sorry, I also have a 32.768khz clk.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/410570?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 09:38:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23afe462-9b80-4b3d-b312-4cae8fb13beb</guid><dc:creator>Lurn_Z</dc:creator><description>[quote userid="26071" url="~/f/nordic-q-a/96752/nrf522832-freertos-can-t-start/410569"]Is your application (either log or application itself) using UART?[/quote]
&lt;p&gt;yes, I used UART.&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/96752/nrf522832-freertos-can-t-start/410569"]&lt;p&gt;Can you try it on a DK? Does the same happen there?&lt;/p&gt;
&lt;p&gt;Does your custom board have an external LFXTAL?&lt;/p&gt;[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I only have my custom board with a 32MHz Crystal.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Lurn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/410569?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 09:35:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0cd842f-0eb5-4b94-9057-b0dd77a3f462</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Is your application (either log or application itself) using UART?&lt;/p&gt;
&lt;p&gt;Can you try it on a DK? Does the same happen there?&lt;/p&gt;
&lt;p&gt;Does your custom board have an external LFXTAL?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF522832 FreeRTOS can't start.</title><link>https://devzone.nordicsemi.com/thread/410544?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 08:54:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64b934f3-d324-4a03-b7cc-2c2ddc582a60</guid><dc:creator>Lurn_Z</dc:creator><description>&lt;p&gt;In my esb program I used this&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static void clock_start(void)
{
    NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED = 0;
    NRF_CLOCK-&amp;gt;TASKS_HFCLKSTART = 1;
    while(NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED == 0);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;maybe this is the location of conflict.&lt;/p&gt;
&lt;p&gt;But why can I use RTT&amp;nbsp; connect to startup?&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;
&lt;p&gt;Lurn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>