<?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>Program blank NRF52480 without Segger /nrfutil vs nrfjprog</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90621/program-blank-nrf52480-without-segger-nrfutil-vs-nrfjprog</link><description>I am working on adapting a project that compiles/flashes the code with a makefile that uses nrfjprog in a cmd line to program a blank nrf52480 with the softdevice and application (no mentioned bootloader). 
 It doesnt appear that the code utilizes anything</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Aug 2022 09:10:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90621/program-blank-nrf52480-without-segger-nrfutil-vs-nrfjprog" /><item><title>RE: Program blank NRF52480 without Segger /nrfutil vs nrfjprog</title><link>https://devzone.nordicsemi.com/thread/380774?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2022 09:10:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3b61273-cb80-4c7e-a23b-3ea9c3115cb3</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the delay. I am not familiar with&amp;nbsp;&lt;span&gt;ESP-Prog and not sure whether it can support nRF52840 or not.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Since most of our tools like&amp;nbsp;&lt;a title="nRF Tools" href="https://infocenter.nordicsemi.com/topic/ug_nrf_cltools/UG/cltools/nrf_command_line_tools_lpage.html?resultof=%22%4a%2d%4c%69%6e%6b%22%20"&gt;nRF Command Line Tools&lt;/a&gt;, &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nc_programmer/UG/nrf_connect_programmer/ncp_introduction.html"&gt;nRF Connect Programmer&lt;/a&gt;,&amp;nbsp;and &lt;a href="https://infocenter.nordicsemi.com/topic/ug_ppk/UG/ppk/PPK_user_guide_Intro.html"&gt;Power Profiler Kit&lt;/a&gt;&amp;nbsp;relay on J-link firmware, my&amp;nbsp;recommendation is to use our DK (including on-board debugger) or the SEGGER&amp;nbsp;J-Link&amp;nbsp;debugger to connect the device. &lt;/span&gt;&lt;/p&gt;
[quote user="chucknorris10101"]im curious what specifically nrfjprog does vs nrfutil[/quote]
&lt;p&gt;&lt;span&gt;The &lt;a title="nRF Tools" href="https://infocenter.nordicsemi.com/topic/ug_nrf_cltools/UG/cltools/nrf_command_line_tools_lpage.html?resultof=%22%4a%2d%4c%69%6e%6b%22%20"&gt;nRF Command Line Tools&lt;/a&gt; are used for developing, programming, and debugging of Nordic Semiconductor&amp;#39;s SoCs (System on Chip).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The &lt;a title="nRF Util" href="https://infocenter.nordicsemi.com/topic/ug_nrfutil/UG/nrfutil/nrfutil_intro.html?cp=10_7"&gt;nRF Util&lt;/a&gt; application is a Python package and command-line utility that supports&amp;nbsp;&lt;a title="A mechanism for upgrading the firmware of a device." href="https://infocenter.nordicsemi.com/topic/ug_nrfutil/dita_common/glossary/glossary.html#dfu"&gt;&lt;dfn&gt;Device Firmware Update (DFU)&lt;/dfn&gt;&lt;/a&gt;&amp;nbsp;and cryptographic functionality.&lt;/span&gt;&lt;/p&gt;
[quote user="chucknorris10101"]what would i merge with the hex editor? the s140 softdevice hex and the nrf52840_xxaa.hex? and flash to 0x0?[/quote]
&lt;p&gt;It depends on your application. If your application requires SD, you should program them together.&amp;nbsp;When you use a SoftDevice which includes the MBR. From flash, you then have the MBR from address 0x0, and the SoftDevice from address 0x1000 and upwards. The application starts on the first available flash page after the SoftDevice. See the&amp;nbsp;&lt;a title="Memory resource map and usage" href="https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/mem_usage/mem_resource_map_usage.html?cp=4_7_4_0_13_0"&gt;Memory resource map and usage&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program blank NRF52480 without Segger /nrfutil vs nrfjprog</title><link>https://devzone.nordicsemi.com/thread/379942?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 13:45:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f8b7fa2-c5ec-4def-9d36-427b31f0c976</guid><dc:creator>chucknorris10101</dc:creator><description>&lt;p&gt;Thanks! I have a j-link edu mini on backorder for worst-case, but the issue log in the repo we are trying to find alternatives as they are scarce now. the flashing part i think is straightforward, to some extent, im curious what specifically nrfjprog does vs nrfutil, if anything. we&amp;#39;re just looking to find another probe that will work.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The probe im using now to play with it is an ESP-32 flasher off youtube that i have been able to write/erase/ etc from, but the interface with that probe is either over or under complicated - i can rxw to specific flash addresses, but not to RAM, im not sure if thats important? the main issue i think here is that this probe is wireless/its own unit/not interfaced with the pc with all the goodies, so no specific command line to run the nrfutil/etc through. my impression is if i can just get the pc to recognize the nrf as existing through the cmd line it will run fine. to that end, i&amp;nbsp;also have a ESP-Prog on the way shortly that seems to have the same jtag type interface or at least will give me SWD capability that should be directly interfacable with the pc&lt;/p&gt;
&lt;p&gt;what would i merge with the hex editor? the s140 softdevice hex and the nrf52840_xxaa.hex? and flash to 0x0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program blank NRF52480 without Segger /nrfutil vs nrfjprog</title><link>https://devzone.nordicsemi.com/thread/379779?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 22:01:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01a5639f-c223-49c4-888e-a67bb4d5a9e8</guid><dc:creator>mytzyiay</dc:creator><description>&lt;p&gt;This may or may not help, but the two things that worked for me were:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Flashing the merged.hex file using pyocd or nrfjprog, through a J-Link Mini EDU and through one of the V9 J-Link AliExpress clones.&amp;nbsp; pyocd is open source so that would help if you&amp;#39;re interested in the protocol.&lt;/li&gt;
&lt;li&gt;Flashing a .zip&amp;nbsp;bundle to an nRF52840 Dongle using nrfutil and the default Open Bootloader.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Which other probes, besides J-Link, were you interested in using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>