<?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>nrf52840 dk to upload code to nrf52811</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116088/nrf52840-dk-to-upload-code-to-nrf52811</link><description>Hi 
 This is my first project to make my custom PCB. 
 
 
 I have a question about how can I uploaded my code with segger embedded studio by using nrf52840 dk? 
 For the hardware configuration I follow the below. ( https://docs.nordicsemi.com/bundle/ug_nrf5340_dk</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Nov 2024 09:27:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116088/nrf52840-dk-to-upload-code-to-nrf52811" /><item><title>RE: nrf52840 dk to upload code to nrf52811</title><link>https://devzone.nordicsemi.com/thread/509393?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 09:27:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1af9631-6247-4036-b0ff-02a2afbd4b5d</guid><dc:creator>nordicDK</dc:creator><description>&lt;p&gt;Thanks for reply!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also I found an more specific way to do it from below link&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/75481/porting-an-example-from-pca10056-to-pca10056e-segger-embedded-studio"&gt;Porting an example from pca10056 to pca10056e (Segger embedded studio)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I downloaded the pca10056e.zip from vidar answer and it works!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 dk to upload code to nrf52811</title><link>https://devzone.nordicsemi.com/thread/509359?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 07:11:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc62fc4b-f1f4-434b-8d42-016c06153a38</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&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/pastedimage1730962911064v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Most of these are located in the preprocessor and Linker sections of the SEGGER project settings. The board you set in the preprocessor definitions for example.However, I see you&amp;#39;ve opened the settings of your main.c file. You should right click the project within SEGGER and open the project options from there, not the File &amp;#39;main.c&amp;#39; Options.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 dk to upload code to nrf52811</title><link>https://devzone.nordicsemi.com/thread/509190?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2024 06:46:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab491ac2-9d7c-44e5-b999-cfec1901fb28</guid><dc:creator>nordicDK</dc:creator><description>&lt;p&gt;Thanks for your reply!&lt;br /&gt;But I checked the document but I need more detail to follow that steps.&lt;br /&gt;&lt;br /&gt;Where is project setting changing device section?&lt;br /&gt;And where is c/c+preprocessor setting, preprocessor define&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t find where it is in my project options section.&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/pastedimage1730875537594v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Sorry for the basic question and Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 dk to upload code to nrf52811</title><link>https://devzone.nordicsemi.com/thread/509103?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2024 12:19:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:233b0e69-9d90-4d1b-b92c-0b035ac191c0</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;1. Emulation is for testing a project built for an nRf52811 on the nRF52840 DK and using the nRF52840 &amp;quot;as an nRF52811&amp;quot; to test the project in something close to an nRF52811 environment. Emulated projects will also be able to access the DKs LEDs and buttons.&lt;/p&gt;
&lt;p&gt;2. For your nRF52840 project you should follow the steps in &amp;quot;Transferring the project to nRF52811 hardware&amp;quot; for your project and it should build for an nRF52811 target afterwards.&amp;nbsp;&lt;br /&gt;For reference, these are the steps in question&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open the example project&lt;/li&gt;
&lt;li&gt;In the project settings,&amp;nbsp;&lt;span&gt;change to device &amp;quot;NordicSemiconductor-&amp;gt;nRF52811_xxaa&amp;quot;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;In the C/C++ preprocessor settings, remove the defines &amp;quot;NRF52&amp;quot; and &amp;quot;NRF52840_XXAA&amp;quot;.&lt;/li&gt;
&lt;li&gt;Add the preprocessor define &amp;quot;NRF52811_XXAA&amp;quot;.&lt;/li&gt;
&lt;li&gt;In the linker script settings, adjust the linker script to match the maximum RAM and flash size of nRF52811.
&lt;ul&gt;
&lt;li&gt;ROM END: 0x2FFFF&lt;/li&gt;
&lt;li&gt;RAM END: 0x20005FFF&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Remove the following files from the project:&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&amp;lt;compiler&amp;gt;_startup_nrf52.s&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;system_nrf52.c&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Add the following files to the project:&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&amp;lt;compiler&amp;gt;_startup_nrf52811.s&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;system_nrf52811.c&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;After that, if you have connected the nRF52811 custom board as described in the link above, the DK should automatically detect the nR52811 and flash the board with the correct firmware (as long as the nRF52811 is also running on 3V, which is the voltage supported by the debugger onboard the DK.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>