<?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>Overlapping hex files</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88426/overlapping-hex-files</link><description>Hi, I’m trying to program my nrf52840 dongle. I did have followed the steps from the nrf52840 programming tutorial, but I have some issues. 
 I’m trying to write the USB CDC ACM example with the softdevice but the hex files are overlapping. I did research</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Jun 2022 11:19:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88426/overlapping-hex-files" /><item><title>RE: Overlapping hex files</title><link>https://devzone.nordicsemi.com/thread/370416?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 11:19:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3295c821-cdd5-43f5-b6c1-00d0869e337b</guid><dc:creator>Vidar Berg</dc:creator><description>[quote userid="115974" url="~/f/nordic-q-a/88426/overlapping-hex-files/370374#370374"]It takes it from the ses 6.22. I didn’t erase the full application in case it wouldn’t work with the downgraded version.[/quote]
&lt;p&gt;It needs to come from the same version you use to build the project. Pleasedo a clean build and see if includes the correct version.&lt;/p&gt;
[quote userid="115974" url="~/f/nordic-q-a/88426/overlapping-hex-files/370374#370374"]Yes, this was the step I forget. But when I’m doing this I don’t see anything printed on the uart com-port. Is that true.[/quote]
&lt;p&gt;Yes, this is the limitation I mentioned in the other post. If you need printf to be redirected to UART, then you have to downgrade SES.&lt;/p&gt;
[quote userid="115974" url="~/f/nordic-q-a/88426/overlapping-hex-files/370380#370380"]The NRF_LOG_INFO isn’t printed on the uart com port but if I send something after connecting it is visible on the uart. [/quote]
&lt;p&gt;NRF_LOG_INFO() will only print the debug messages to RTT as the UARTE0 is not available for logging in this example (&lt;span class="item"&gt;&lt;a class="" title="UART/Serial Port Emulation over BLE" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_nus_eval.html?cp=8_1_4_2_2_25"&gt;UART/Serial Port Emulation over BLE&lt;/a&gt;&lt;/span&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Overlapping hex files</title><link>https://devzone.nordicsemi.com/thread/370380?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 09:22:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56714f54-3b0d-4531-8280-9d80f5c72642</guid><dc:creator>Juniorprogrammer</dc:creator><description>&lt;p&gt;The NRF_LOG_INFO isn&amp;rsquo;t printed on the uart com port but if I send something after connecting it is visible on the uart. The NRF_LOG_INFO is only visible in the debug terminal.&lt;/p&gt;
&lt;p&gt;ps: this is an example of the ble_app_uart. It is the same problem I can&amp;rsquo;t fix&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Overlapping hex files</title><link>https://devzone.nordicsemi.com/thread/370374?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 09:05:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2730b221-b427-405a-a383-be17272a8a20</guid><dc:creator>Juniorprogrammer</dc:creator><description>[quote userid="4240" url="~/f/nordic-q-a/88426/overlapping-hex-files/370367#370367"]You also need to set the IO output to &amp;#39;RTT&amp;#39; in your project as explained in Einar&amp;#39;s post.&amp;nbsp;[/quote]
&lt;p&gt;Yes, this was the step I forget. But when I&amp;rsquo;m doing this I don&amp;rsquo;t see anything printed on the uart com-port. Is that true.&lt;/p&gt;
[quote userid="4240" url="~/f/nordic-q-a/88426/overlapping-hex-files/370367#370367"]Your project is including the wrong version of the&amp;nbsp;thumb_crt0.s file for some reason. What is the path to file (you can hover the mouse over the thumb_crt0.s tab to see it)?[/quote]
&lt;p&gt;It takes it from the ses 6.22. I didn&amp;rsquo;t erase the full application in case it wouldn&amp;rsquo;t work with the downgraded version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Overlapping hex files</title><link>https://devzone.nordicsemi.com/thread/370367?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 08:49:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77efc3da-b218-4056-882b-4f45867ed6c0</guid><dc:creator>Vidar Berg</dc:creator><description>[quote userid="115974" url="~/f/nordic-q-a/88426/overlapping-hex-files/370340#370340"]Hi, I did disabled retarget and removed RTT_Syscalls from my project, but that&amp;#39;s not enough? Should I downgrade it?[/quote]
&lt;p&gt;You also need to set the IO output to &amp;#39;RTT&amp;#39; in your project as explained in Einar&amp;#39;s post.&amp;nbsp;&lt;/p&gt;
[quote userid="115974" url="~/f/nordic-q-a/88426/overlapping-hex-files/370353#370353"]Meanwhile I did the downgrade, but after building I got this error. Am I missing something?[/quote]
&lt;p&gt;Your project is including the wrong version of the&amp;nbsp;thumb_crt0.s file for some reason. What is the path to file (you can hover the mouse over the thumb_crt0.s tab to see it)? &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Overlapping hex files</title><link>https://devzone.nordicsemi.com/thread/370353?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 08:05:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:741b840e-e179-4c93-98bf-d349b00a2dc5</guid><dc:creator>Juniorprogrammer</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1654070690086v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Meanwhile I did the downgrade, but after building I got this error. Am I missing something?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Overlapping hex files</title><link>https://devzone.nordicsemi.com/thread/370340?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 07:25:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e8f32f2-fc8a-4534-a0d8-eee62aae8ddb</guid><dc:creator>Juniorprogrammer</dc:creator><description>&lt;p&gt;Hi, I did disabled retarget and removed RTT_Syscalls from my project, but that&amp;#39;s not enough? Should I downgrade it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Overlapping hex files</title><link>https://devzone.nordicsemi.com/thread/370339?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2022 07:11:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d29a7124-d515-4708-ba91-c1f11815aa98</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi, the SES version you use is not compatible with the retarget.c file included the ble_app_uart projects. Please see my post here for more details: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/88123/build-environment-problem/368739#368739"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/88123/build-environment-problem/368739#368739&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Overlapping hex files</title><link>https://devzone.nordicsemi.com/thread/370263?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 14:06:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f6ef7a1-60dc-4921-8b22-7fc653ccba06</guid><dc:creator>Juniorprogrammer</dc:creator><description>&lt;p&gt;Hi Vidar, for my second step I wan&amp;#39;t do combine the usbd_ble_example with the ble_app_uart_c.Therefore firstly I wanted to built the&lt;span&gt;&amp;nbsp;ble_app_uart_c project. But I did get some errors on a new project. It is something like a linking error?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1654005924324v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t get exactly whats going wrong. Can you help me out?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Overlapping hex files</title><link>https://devzone.nordicsemi.com/thread/370223?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 12:48:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f753cea-03de-4abf-8cab-47fc3aee9f5f</guid><dc:creator>Juniorprogrammer</dc:creator><description>&lt;p&gt;Hi Vidar, I think you were right. There was more what didn&amp;#39;t go well. I deleted the sdk and did download it again. Now it seems to work, Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Overlapping hex files</title><link>https://devzone.nordicsemi.com/thread/370210?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 12:30:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a158cea-302b-4401-8b40-fb0bcc05f25d</guid><dc:creator>Juniorprogrammer</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1654000203746v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;No, it is like this. That&amp;#39;s weird because I didn&amp;#39;t change anything. I would try to add that line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Overlapping hex files</title><link>https://devzone.nordicsemi.com/thread/370207?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 12:23:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8602155-f86d-4291-aaab-eae3cae1c192</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;And your service struct declaration is the same as mine here:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1653999804512v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Overlapping hex files</title><link>https://devzone.nordicsemi.com/thread/370203?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 12:18:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a10f3a00-5d47-4580-a94c-41a99d134c96</guid><dc:creator>Juniorprogrammer</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1653999498942v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Overlapping hex files</title><link>https://devzone.nordicsemi.com/thread/370202?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 12:14:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4e3c6fc-f435-462f-af67-cc23ce3f1c4a</guid><dc:creator>Juniorprogrammer</dc:creator><description>&lt;p&gt;Hi Vidar, no I didn&amp;rsquo;t change anything. I did also get this same error when I was using ble_nus on the ble_app_uart. It says ble_nus_t has no member named &amp;lsquo;p_link_ctx_storage. Ps: it is a new project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Overlapping hex files</title><link>https://devzone.nordicsemi.com/thread/370200?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 12:10:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db8a9411-988e-4d6f-b866-b2b7fbc9f8fe</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;That&amp;#39;s strange, the project should compile without errors. Any chance the ble_nus.h/ble_nus.c sources may been modified? I would suggest that you try again with a new SDK copy just to be sure.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Overlapping hex files</title><link>https://devzone.nordicsemi.com/thread/370189?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 11:40:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3571e361-6bae-438c-a46f-9d1d5e1c2c3f</guid><dc:creator>Juniorprogrammer</dc:creator><description>&lt;p&gt;Hi I did fixed this problem. But for now I have another problem for the engineer.&amp;nbsp;&lt;br /&gt;I want to use the usbd_ble_uart example. I get an error in the ble_nus.c.&lt;/p&gt;
&lt;p&gt;blcm_link_ctx_get(&amp;hellip;. p_link_ctx_storage,&amp;hellip;.)&lt;/p&gt;
&lt;p&gt;No member named p_link_ctx_storage.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>