<?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>Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110533/problem-bringing-up-custom-board-with-custom-board-file</link><description>On a new board based on nRF9160 I am having trouble figuring out how to bring up the board. 
 I am using Azure IoT hub and can successfully build an application that can connect using the nRF9160DK_NRF9160 Non Secure board files. This is working both</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Apr 2025 07:13:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110533/problem-bringing-up-custom-board-with-custom-board-file" /><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/532962?ContentTypeID=1</link><pubDate>Fri, 25 Apr 2025 07:13:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1d68cd7-a2b3-41db-8692-7aead060a276</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;The project where it is working is in git and devops. But copying all CONFIG from that (working) project does not fix the problem in the new project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/532888?ContentTypeID=1</link><pubDate>Thu, 24 Apr 2025 16:06:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aabf7afd-4260-44c1-b7f3-66f9e119c859</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="tmaltesen"]forgot how. Now I have a new taget with nRF9151 and I get the same problem again...[/quote]
&lt;p&gt;I can highly recommend git! (or other version control) If you start using git from now, you can go back and check the fix next time you change the target.&lt;/p&gt;
&lt;p&gt;If you want me to help&amp;nbsp; this time, you can answer the previous questions I asked, and we can take it from there I guess.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/532661?ContentTypeID=1</link><pubDate>Wed, 23 Apr 2025 17:10:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6825d08-c867-4b28-9cdb-8fe0c50807c5</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;I did fix it in my old target,&amp;nbsp;really stupid forgot how. Now I have a new taget with nRF9151 and I get the same problem again...&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Application asserts in stdio_uart() on second call comming from a SPU_IRQHandler().&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I am so mad at myself for not knowing the fix... I have used a whole day without figuring it out. I can remove the error by removing uart2 from the device tree, and I get the error if I insert it again. Note my uart2 has modbus part in it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/527015?ContentTypeID=1</link><pubDate>Wed, 12 Mar 2025 15:41:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9209b6b8-3816-4ccf-9957-40124acbc946</guid><dc:creator>i21-mehdi</dc:creator><description>&lt;p&gt;Did you have any progress on this error? I&amp;#39;m having the same problem that does not happen everytime...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/488890?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 13:43:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5931a87b-ed34-4c7e-9d6e-b80ef8bfe8e0</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="tmaltesen"]The problem that I am stuck at, seems to be that the function stdio_uart() are called more than one time as soon as I declare more that one uart.[/quote]
&lt;p&gt;How do you declare your uarts?&lt;/p&gt;
&lt;p&gt;What do you intend to use the uarts for?&lt;/p&gt;
&lt;p&gt;Could you share your uart code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/488546?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 15:25:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5e1d7db-2e52-438d-a6db-a9acb10fb8dc</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;The problem that I am stuck at, seems to be that the function stdio_uart() are called more than one time as soon as I declare more that one uart. It does not matter if it is uart1 or uart2 that are added.&lt;/p&gt;
&lt;p&gt;Both call are initializeing uart0&lt;/p&gt;
&lt;p&gt;I have just tried to swap the usage of uart0 and uart2, same result still an assertion.&lt;/p&gt;
&lt;p&gt;This ASSERT in line 94 of uart_stdout.c is causing the problem, the error is&amp;nbsp;NRFX_ERROR_INVALID_STATE returned internally by nrtx_uarte_init().&lt;/p&gt;
&lt;p&gt;Both calls to stdio_uart() are initializing uart0.... through the Driver_USART.c module.&lt;/p&gt;
&lt;p&gt;Looking on the call stack.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The first call is comming from main().&lt;br /&gt;But the second call is originating from SPU_IRQHandler() through dump_error....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/488545?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 15:23:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07976a88-bddc-40ee-b20c-f958de0d320c</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;The problem that I am stuck at, seems to be that the function stdio_uart() are called more than one time as soon as I declare more that one uart. It does not matter if it is uart1 or uart2 that are added.&lt;/p&gt;
&lt;p&gt;Both call are initializeing uart0&lt;/p&gt;
&lt;p&gt;I have just tried to swap the usage of uart0 and uart2, same result still an assertion.&lt;/p&gt;
&lt;p&gt;This ASSERT in line 94 of uart_stdout.c is causing the problem, the error is&amp;nbsp;NRFX_ERROR_INVALID_STATE returned internally by nrtx_uarte_init().&lt;/p&gt;
&lt;p&gt;Both calls to stdio_uart() are initializing uart0.... through the Driver_USART.c module.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/488543?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 14:55:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:799a9bc0-6a85-421c-9093-599d42b92629</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;Could it be related to the use of Segger RTT. In the project I really do not want to use any uart for console or logging. But since uarts kept on causing problems, I have kept uart0.&lt;/p&gt;
&lt;p&gt;I have the following in prj.conf that shoud stop console on uart and use RTT instread.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;# Logging&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_LOG=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_LOG_MODE_DEFERRED=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_USE_SEGGER_RTT=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_RTT_CONSOLE=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_UART_CONSOLE=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_LOG_BACKEND_RTT=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_NRF_MODEM_LIB_TRACE=n&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/488541?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 14:52:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f26eff65-1b00-47e1-bab0-9f666c5a4566</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;If i set the uart2 to status disabled, the application will run and connect.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;amp;uart2 {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; status = &amp;quot;disabled&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;/span&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/488540?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 14:47:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:273f22d6-006c-4254-a910-e89743193af3</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;If I remove everything except status I am unable to compile. The pinctrl-0 is required.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;devicetree error: &amp;#39;pinctrl-0&amp;#39; is marked as required in &amp;#39;properties:&amp;#39; in C:/ncs/v2.6.1/zephyr/dts/bindings\serial\nordic,nrf-uarte.yaml, but does not appear in &amp;lt;Node /soc/peripheral@40000000/uart@a000 in &amp;#39;C:/ncs/v2.6.1/zephyr/misc/empty_file.c&amp;#39;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/488539?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 14:37:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ffc8749-fd2b-4b7e-99b0-617c3f346a25</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;Same happens if I change the declaration to be &amp;amp;uart1 {...&lt;br /&gt;I have checked the ID, it is spi and twi that uses ID 10, I am not using any of these...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/488527?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 14:03:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01ad0279-782e-47a0-a54c-27fcc4bd978c</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Here is a guess:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf9160/memory.html?cp=2_1_0_3_1_1#topic"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf9160/memory.html?cp=2_1_0_3_1_1#topic&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;UART2 has ID10. You cannot use peripherals with the same ID at the same time.&lt;br /&gt;Make sure you do not have any of the other ID 10.&lt;/p&gt;
[quote user="tmaltesen"]&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;amp;uart2 {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; status = &amp;quot;okay&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; current-speed = &amp;lt;9600&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;uart_rs485_default&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; pinctrl-1 = &amp;lt;&amp;amp;uart_rs485_sleep&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;};&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;[/quote]
&lt;p&gt;Try to remove everything but the status, does that still crash stuff?&lt;/p&gt;
&lt;p&gt;Try to set this to &amp;quot;disabled&amp;quot;, does that crash stuff?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/488514?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 13:38:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:395c2d2c-bc3d-4dbe-baff-a6def411b48e</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;I have made a demonstration of the problem in the attached project. Im on version 2.6.1 of SDK and toolchain.&lt;br /&gt;&lt;br /&gt;This only requires a nRF9160_DK board.&lt;/p&gt;
&lt;p&gt;The project have two build versions. One is the original nrf9160_dk_nrf9160 board configuration. The other is the one that I have made from a copy. I have removed declaration of I/O I do not need.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;In the attached version both builds will run and connect to the network.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pmi8004a2_5F00_nrf9160.zip"&gt;devzone.nordicsemi.com/.../pmi8004a2_5F00_nrf9160.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/PMI8004c.zip"&gt;devzone.nordicsemi.com/.../PMI8004c.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But in the pmi8004a2_nrf9160 board, the file pmi8004a2_nrf9160_common.dtsi contains an outcommented declation of uart2 as described above.&lt;br /&gt;&lt;br /&gt;If this declaration is reintroduced, the application will not run.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Any change that you can take a look?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/488507?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 13:10:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d0ca4a4-1635-4252-9758-79bc0f923a18</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;I had to leave the problem for a while.Now I&amp;#39;m back and really needs this device to run.&lt;/p&gt;
&lt;p&gt;Since it seems that it is the board configuration, I restarted with a new copy of the nrf9160_dk_nrf9160 board, and slowly adopted to my hardware, removing unused declarations and adding new.&lt;/p&gt;
&lt;p&gt;I am testing on the nrf9160_dk hardware.&lt;/p&gt;
&lt;p&gt;When I introduce uart2 in the dts file the applications fails.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The difference betwwen an application running or not running is this dts statement: When this is added application wont run.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;amp;uart2 {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; status = &amp;quot;okay&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; current-speed = &amp;lt;9600&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;uart_rs485_default&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; pinctrl-1 = &amp;lt;&amp;amp;uart_rs485_sleep&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;};&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The application fails to start hanging in an assertion. I will fail in this function on the first ASSERT_HIGH (this is from uarts_stdout.c):&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;void stdio_init(void)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; int32_t ret;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; ret = STDIO_DRIVER.Initialize(NULL);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#ff0000;font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; ASSERT_HIGH(ret);&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; ret = STDIO_DRIVER.PowerControl(ARM_POWER_FULL);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; ASSERT_HIGH(ret);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;The application I am running is without any&amp;nbsp;modifications to the sample, except configuration values for DPS. I am running same application with nrf9160_dk_nrf9160 board and my modified version of the same.&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/481839?ContentTypeID=1</link><pubDate>Fri, 03 May 2024 14:32:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13b44722-9570-4175-bbd6-c2c13ea1aaf7</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;I was able to reproduce the issue, and observe the following log from TF-M&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;FATAL ERROR: Platform external interrupt (IRQn): 0x00000003
Platform Exception: SPU Fault
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;When I remove everything but the CONFIG_MODBUS and CONFIG_BOOTLOADER_MCUBOOT I also get this error.&lt;/p&gt;
&lt;p&gt;The error is specifc for your boards build target, and not for the nRF9160dk.&lt;/p&gt;
&lt;p&gt;Here is the modified project:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/azure_5F00_iot_5F00_hub_5F00_2_5F00_urd.zip"&gt;devzone.nordicsemi.com/.../azure_5F00_iot_5F00_hub_5F00_2_5F00_urd.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When I put your board inside the project like that, you can build it from the project by selecting the board in VS Code from &amp;quot;Custom boards&amp;quot;.&lt;/p&gt;
&lt;p&gt;This is as far as I go now.&lt;br /&gt;Next up, you should compare board files for nRF9160DK and your custom board until you find which difference causes the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/481369?ContentTypeID=1</link><pubDate>Wed, 01 May 2024 11:06:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3384e1aa-03ff-486c-bd82-57ae95d9517e</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/azure_5F00_iot_5F00_hub_5F00_2.zip"&gt;devzone.nordicsemi.com/.../azure_5F00_iot_5F00_hub_5F00_2.zip&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/pmi8004a1_5F00_nrf9160.zip"&gt;devzone.nordicsemi.com/.../pmi8004a1_5F00_nrf9160.zip&lt;/a&gt;Yes -&amp;nbsp;I does not compile directly to DK because the modbus is missing in the device tree for the DK. My my board definition can be loaded into the DK and seems to do same but of course modbus is not available but can be compiled in and activated.&lt;br /&gt;I will attach both my board and my project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/481057?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2024 11:41:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80086dec-a7ad-470c-a1aa-53893a88c354</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Are you able to build a project with this error for a Development Kit?&lt;br /&gt;If so, I could test it on my end.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/481019?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2024 09:12:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68179553-6ed5-4012-8947-fab6ef92add7</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;&lt;span style="color:#3366ff;"&gt;I am currently again at continues reboot:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; *** Booting nRF Connect SDK v3.5.99-ncs1 ***&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Starting bootloader&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Boot source: none&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Image index: 0, Swap type: none&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Bootloader chainload address offset: 0x10000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Jumping to the first image slot&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; *** Booting nRF Connect SDK v3.5.99-ncs1 ***&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Starting bootloader&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Boot source: none&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Image index: 0, Swap type: none&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Bootloader chainload address offset: 0x10000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Jumping to the first image slot&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; *** Booting nRF Connect SDK v3.5.99-ncs1 ***&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Starting bootloader&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Boot source: none&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Image index: 0, Swap type: none&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Bootloader chainload address offset: 0x10000&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Jumping to the first image slot&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; *** Booting nRF Connect SDK v3.5.99-ncs1 ***&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Starting bootloader&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;00&amp;gt; I: Secondary image:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;I am experimenting with uart settings but do not find any setting where I can use a serial port for rs485 modbus and optionally another one for console (not in current hardware, but pins are free).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;I have the following in the pinmux, and this is not changed during experimenting:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; uart_rs485_default: uart_rs485_default {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; group1 {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; psels = &amp;lt;NRF_PSEL(UART_TX, 0, 9)&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; group2 {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; psels = &amp;lt;NRF_PSEL(UART_RX, 0, 10)&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bias-pull-up;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; uart_rs485_sleep: uart_rs485_sleep {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; group1 {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; psels = &amp;lt;NRF_PSEL(UART_TX, 0, 9)&amp;gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;NRF_PSEL(UART_RX, 0, 10)&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; low-power-enable;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; }; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; uart_console_default: uart_console_default {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; group1 {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; psels = &amp;lt;NRF_PSEL(UART_TX, 0, 29)&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; group2 {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; psels = &amp;lt;NRF_PSEL(UART_RX, 0, 28)&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; bias-pull-up;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; uart_console_sleep: uart_console_sleep {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; group1 {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; psels = &amp;lt;NRF_PSEL(UART_TX, 0, 29)&amp;gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;NRF_PSEL(UART_RX, 0, 28)&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; low-power-enable;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;span style="color:#3366ff;"&gt;Then experimeting with dtsi and config settings. Current test that causes continous reboot is caused by:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; chosen {&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; zephyr,console = &amp;amp;uart0;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; zephyr,shell-uart = &amp;amp;uart0;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; zephyr,uart-mcumgr = &amp;amp;uart0;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ncs,at-host-uart = &amp;amp;uart0;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;amp;uart2 {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; status = &amp;quot;okay&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; current-speed = &amp;lt;9600&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;uart_rs485_default&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; pinctrl-1 = &amp;lt;&amp;amp;uart_rs485_sleep&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; modbus0 {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compatible = &amp;quot;zephyr,modbus-serial&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; status = &amp;quot;okay&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; de-gpios = &amp;lt; &amp;amp;gpio0 8 GPIO_ACTIVE_HIGH&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; }; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;amp;uart0 {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; status = &amp;quot;okay&amp;quot;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; current-speed = &amp;lt;115200&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;uart_console_default&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; pinctrl-1 = &amp;lt;&amp;amp;uart_console_sleep&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#3366ff;"&gt;Some serial things from config:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;# Enable uart driver&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_SERIAL=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;# enable console&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_CONSOLE=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_UART_CONSOLE=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_USE_SEGGER_RTT=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_RTT_CONSOLE=y&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_LOG=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_LOG_MODE_DEFERRED=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_LOG_DEFAULT_LEVEL=4&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;# Modem&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_NRF_MODEM_LIB_TRACE=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;#CONFIG_AT_HOST_LIBRARY=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_MODEM_KEY_MGMT=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;# Modbus and serial&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_UART_INTERRUPT_DRIVEN=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_UART_LINE_CTRL=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_TFM_LOG_LEVEL_SILENCE=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_MODBUS=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_MODBUS_ROLE_CLIENT=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_PINCTRL=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_UART_USE_RUNTIME_CONFIGURE=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#3366ff;"&gt;And in my application I am opening modbus port with the following:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;#define MODBUS_NODE DT_COMPAT_GET_ANY_STATUS_OKAY(zephyr_modbus_serial)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;#define MODBUS_STACK_SIZE 1024&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;#define MODBUS_PRIORITY 5&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;K_THREAD_DEFINE(modbus_tid, MODBUS_STACK_SIZE,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ModbusClientThread, NULL, NULL, NULL,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MODBUS_PRIORITY, 0, 0);&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;static int init_modbus_client(void)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; const char iface_name[] = {DEVICE_DT_NAME(MODBUS_NODE)};&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; client_iface = modbus_iface_get_by_name(iface_name);&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; &amp;nbsp; return modbus_init_client(client_iface, client_param);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/480922?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2024 13:57:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3006722-cfab-46d0-9b05-99d6b44978ac</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Try to&amp;nbsp; use the VS Code DeviceTree editor, find &lt;span&gt;ncs,at-host-uart under&amp;nbsp; &amp;quot;chosen&amp;quot; and delete&amp;nbsp; it there. Then you can see how that looks in the overlay file&lt;/span&gt;&lt;/p&gt;
&lt;div style="background-color:rgba(31, 31, 31, 1);color:rgba(204, 204, 204, 1);font-family:&amp;#39;Droid Sans Mono&amp;#39;, &amp;#39;monospace&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/480917?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2024 13:35:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82657a58-d1a9-47bc-9e29-2be6ab514482</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;Now I have tried adding&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;chosen {&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;&amp;nbsp; ncs,at-host-uart = &amp;amp;uart2;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;And declared uart2 in the DTS, then I can compile. So that seems to remove last reference to uart0,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;So I found out that&amp;nbsp;&lt;/span&gt;CONFIG_AT_HOST_LIBRARY removes this dependency.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So I have&amp;nbsp;removed the AT host library and is trying to reintroduce the use of uart0 in my application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/480910?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2024 13:24:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3d431c0-91d7-4850-8d1c-592b21bb464e</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;Trying to figure out why I have so many conflicts with the uart, I have remove use of it in my application.&lt;/p&gt;
&lt;p&gt;I have removed decaration of uart0 from the DTS.&lt;/p&gt;
&lt;p&gt;In DTS I have also removed the use of uart0&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;chosen&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;/* &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; zephyr,console = &amp;amp;uart0;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; zephyr,shell-uart = &amp;amp;uart0;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; zephyr,uart-mcumgr = &amp;amp;uart0;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;*/&lt;/span&gt;&lt;span&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;And in prj.conf got:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_TFM_LOG_LEVEL_SILENCE&lt;/span&gt;&lt;span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NRF_MODEM_LIB_TRACE&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;So I am trying to remove all use of uart0...&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I now cannot compile because of at_host.c where uart0 is used in&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#if&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;DT_HAS_CHOSEN&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;ncs_at_host_uart&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;static&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;struct&lt;/span&gt;&lt;span&gt; device *&lt;/span&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; uart_dev = &lt;/span&gt;&lt;span&gt;DEVICE_DT_GET&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;DT_CHOSEN&lt;/span&gt;&lt;span&gt;(ncs_at_host_uart));&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#else&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;static&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;struct&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;device&lt;/span&gt;&lt;span&gt; *&lt;/span&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;uart_dev&lt;/span&gt;&lt;span&gt; = &lt;/span&gt;&lt;span&gt;DEVICE_DT_GET&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;DT_NODELABEL&lt;/span&gt;&lt;span&gt;(uart0));&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#endif&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;How do I prevent this use of uart0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;-------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;It is not really that I need uart0 to be unused. But my problems seems to come from uart usage conflict.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;It would be nice to have uart0 as a console and for all the default and uart2 for my modbus port. But I am unable to figure out a DTS and configuration that can work with that.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/480871?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2024 11:23:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5e49b44-1fe3-4c6e-ab08-773806a52f22</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;It is fine for me not to use uart1. I have kept the following in the device tree:&lt;/p&gt;
&lt;p&gt;/* Disable UART1, because it is used by default in TF-M */&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;amp;uart1&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; status = &lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;disabled&lt;/span&gt;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;In my prj.conf file I have&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_TFM_LOG_LEVEL_SILENCE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;Now I am trying with&amp;nbsp;CONFIG_NRF_MODEM_LIB_TRACE=n, I found this in the source code following the call stack.&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/480868?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2024 11:18:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf1af526-badf-490c-8fe2-e8b86452677e</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Ah, looks like modem trace uses UART1.&lt;br /&gt;You could try to disable it if not not needed using&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_NRF_MODEM_LIB_TRACE"&gt;CONFIG_NRF_MODEM_LIB_TRACE&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;From &lt;a href="https://docs.nordicsemi.com/bundle/nrfutil/page/nrfutil-trace/guides/tracing_thingy91_modem_trace.html#enabling-tracing-in-the-application"&gt;Enabling tracing in the application&lt;/a&gt;: &lt;br /&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;By default, the nRF Connect SDK’s modem library uses the &lt;strong&gt;UART1&lt;/strong&gt; peripheral for trace output. This means that you cannot use &lt;strong&gt;UART1&lt;/strong&gt; for other purposes in your application. If this does not work for your application, you must update the configuration and code of the modem library to use a different UART peripheral for trace output.&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/480863?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2024 10:50:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f58d19ec-5263-4e0e-a811-5022b46c1ddf</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;Using the CONFIG_TFM_LOG_LEVEL_SILENCE brings me into an assertion. The following line 76 in uart_deprecated_async.c:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;err&lt;/span&gt;&lt;span&gt; = &lt;/span&gt;&lt;span&gt;pinctrl_apply_state&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;PINCTRL_DT_DEV_CONFIG_GET&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;UART1_NL&lt;/span&gt;&lt;span&gt;), &lt;/span&gt;&lt;span&gt;PINCTRL_STATE_DEFAULT&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;__ASSERT_NO_MSG&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;err&lt;/span&gt;&lt;span&gt; == &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;It is being called from nrf_modem_lib_trace_init().&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem bringing up custom board with custom board file</title><link>https://devzone.nordicsemi.com/thread/480842?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2024 09:04:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c797c34-fb72-440c-9fd7-322e63af85e7</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;In current testing I am ending up in an assertion in tfm_hal_platform_common_init that is calling stdio_init().&lt;/p&gt;
&lt;p&gt;Event though I was just thinking that I would not do anything with uart1 (that was supposed to be used by TFM), it seems to have influence. So I will try the suggested CONFIG_FTM_LOG_LEVE_SILENCE...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>