<?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>Can&amp;#39;t upload the program to an NRF52805 from SEGGER studio using NCS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78698/can-t-upload-the-program-to-an-nrf52805-from-segger-studio-using-ncs</link><description>Hello, when trying to program a custom board with an NRF52805 with a J-Link from SEGGER Studio using one of the examples for the board &amp;quot;nrf52dk_nrf52805&amp;quot;, I get an error saying &amp;quot;Failed to write memory&amp;quot; when it uploads. 
 If I try to upload the hex file</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Aug 2021 09:11:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78698/can-t-upload-the-program-to-an-nrf52805-from-segger-studio-using-ncs" /><item><title>RE: Can't upload the program to an NRF52805 from SEGGER studio using NCS</title><link>https://devzone.nordicsemi.com/thread/325669?ContentTypeID=1</link><pubDate>Thu, 19 Aug 2021 09:11:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45b367de-d449-4ec3-8848-9fd10172c210</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Thanks for the clarification.&lt;/p&gt;
&lt;p&gt;I can see the same problem here, I have reported it internally. For now you need to use nRF Connect Programmer and/or build and flash using &amp;quot;west&amp;quot; in command line.&lt;/p&gt;
&lt;p&gt;Hope that helps,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't upload the program to an NRF52805 from SEGGER studio using NCS</title><link>https://devzone.nordicsemi.com/thread/325573?ContentTypeID=1</link><pubDate>Wed, 18 Aug 2021 16:28:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b99fe43b-0458-43d1-beec-d5824db4c656</guid><dc:creator>alecamar</dc:creator><description>&lt;p&gt;Hello, maybe I didn&amp;acute;t explain myself correctly, but I am trying to flash a custom board with the NRF52805 IC on it.&lt;/p&gt;
&lt;p&gt;I am having problems running the &amp;quot;hello world&amp;quot; example on it because of that &amp;quot;Failed to write memory&amp;quot; error.&lt;/p&gt;
&lt;p&gt;I think that happens because the nRF52-DK board is selected in the SEGGER project and therefore it is trying to flash it as if the MCU was the nRF2832 of a DK.&lt;/p&gt;
&lt;p&gt;My best guess is that I probably need a new board definition for working with the NON-emulated IC, but I have been looking around and I don&amp;acute;t see any guide on how to do it with the new NCS.&lt;/p&gt;
&lt;p&gt;Hope my problem is clearer now.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't upload the program to an NRF52805 from SEGGER studio using NCS</title><link>https://devzone.nordicsemi.com/thread/325570?ContentTypeID=1</link><pubDate>Wed, 18 Aug 2021 16:14:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d47294c4-e3e6-4d2b-bd4d-3cf005b877a9</guid><dc:creator>Kenneth</dc:creator><description>[quote user=""]Therefore, I think that SEGGER studio is trying to upload the code to an NRF52840 (which emulates the NRF52805 in the DK).[/quote]
&lt;p&gt;It&amp;#39;s not possible to emulate the nRF52805 with the nRF52840 (nRF52840-DK), you need to use an nRF52832 (nRF52-DK) for that. This could potentially be the reason for your problems.&lt;/p&gt;
&lt;p&gt;If that does not explain your problems, then I think I need a description or picture of your hardware setup and wiring between boards.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>