<?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>Faster Modem Programming with J-Link and pynrfjprog</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84935/faster-modem-programming-with-j-link-and-pynrfjprog</link><description>Hey All, 
 
 I am working on optimizing a manufacturing script for a product that uses the nRF9160, this script is written in python and uses the pynrfjprog library to interface with a jlink connected to the 9160 over SWD. The production station that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Feb 2022 07:29:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84935/faster-modem-programming-with-j-link-and-pynrfjprog" /><item><title>RE: Faster Modem Programming with J-Link and pynrfjprog</title><link>https://devzone.nordicsemi.com/thread/354470?ContentTypeID=1</link><pubDate>Wed, 23 Feb 2022 07:29:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c607367-0472-43d5-9009-5655aa71ee7c</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p&gt;&lt;span lang="en-GB"&gt;Hello &lt;/span&gt;&lt;span lang="en-GB"&gt;Jordan,&lt;/span&gt;&lt;/p&gt;
[quote user="jbax92"]Sounds, good. Thought I would ask just in case.[/quote]
&lt;p&gt;&lt;span lang="en-GB"&gt;Of course :-)&lt;/span&gt;&lt;/p&gt;
[quote user="jbax92"]I know the 9160 ships with modem firmware. Which modem firmware version does it ship with? Is it possible to place an order with a different modem firmware version on it?[/quote]
&lt;p&gt;&lt;span lang="en-GB"&gt;The &lt;a href="https://infocenter.nordicsemi.com/topic/comp_matrix_nrf9160/COMP/nrf9160/nrf9160_ic_revision_overview.html"&gt;B1A hardware&lt;/a&gt; comes with a preprogrammed &lt;a href="https://infocenter.nordicsemi.com/topic/nwp_034/WP/nwp_034/nwp_034_hw_b1a.html"&gt;Production Test Image&lt;/a&gt;, while previous revisions are flashed with the modem firmware image they have been tested with.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en-GB"&gt;Since you need to update the modem firmware to the version you would like to certi&lt;/span&gt;&lt;span lang="en-GB"&gt;fy your devices&lt;/span&gt;&lt;span lang="en-GB"&gt; with anyway, we do not offer delivery with a specific modem firmware version. But third parties might, upon request.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en-GB"&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang="en-GB"&gt;Markus&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Faster Modem Programming with J-Link and pynrfjprog</title><link>https://devzone.nordicsemi.com/thread/354444?ContentTypeID=1</link><pubDate>Tue, 22 Feb 2022 21:45:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7ab2c3e-22e5-4e9e-8ab7-bce1b87a3bbb</guid><dc:creator>jbax92</dc:creator><description>&lt;p&gt;Hey Markus,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Sounds, good. Thought I would ask just in case.&lt;/p&gt;
&lt;p&gt;I had an alternate thought:&lt;/p&gt;
&lt;p&gt;I know the 9160 ships with modem firmware. Which modem firmware version does it ship with? Is it possible to place an order with a different modem firmware version on it?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jordan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Faster Modem Programming with J-Link and pynrfjprog</title><link>https://devzone.nordicsemi.com/thread/354333?ContentTypeID=1</link><pubDate>Tue, 22 Feb 2022 12:24:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4623bfe-5ddd-46df-9574-f6025a501553</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Thanks for your feedback, Jordan!&lt;/p&gt;
&lt;p lang="en-GB"&gt;I’m not sure if there is much more to do, because in the end programming is limited by the write &amp;amp; erase time of the flash memory itself. Considering the ratio in size of both firmware images, the programming time sounds about reasonable.&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Faster Modem Programming with J-Link and pynrfjprog</title><link>https://devzone.nordicsemi.com/thread/354213?ContentTypeID=1</link><pubDate>Mon, 21 Feb 2022 17:41:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ec241ae-266d-44b0-b166-9479885952fd</guid><dc:creator>jbax92</dc:creator><description>&lt;p&gt;Hey Marcus,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It looks like I was reading the wrong function brief when I saw the maximum&amp;nbsp;speed quote, the brief is for the following function.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;nrfjprogdll_err_t&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;NRFJPROG_connect_to_emu_with_snr_inst&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;nrfjprog_inst_t&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;instance&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;uint32_t&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;serial_number&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;uint32_t&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;clock_speed_in_khz&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;so I think that one is not needed.&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;The application firmware image is 742KB. We are using modem firmware version 1.2.3&amp;nbsp; which is 3 MB.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Faster Modem Programming with J-Link and pynrfjprog</title><link>https://devzone.nordicsemi.com/thread/354050?ContentTypeID=1</link><pubDate>Mon, 21 Feb 2022 08:40:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7da0c4d0-069f-4e64-86db-640ef9e98737</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p lang="en-GB"&gt;Hello Jordan,&lt;/p&gt;
[quote user=""]&lt;div&gt;&lt;span style="font-family:inherit;"&gt;The documentation for the DLLs claims that if the given clock speed is above the maximum allowable for the device, then it will default to the maximum. This has proven untrue, and instead spits out a DLL error (RC = -102) it seems that 14000 is the highest multiple of 1000 allowable.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:inherit;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family:inherit;"&gt;A request I would have is to update the documentation to match behavior or visa versa.&lt;/span&gt;&lt;/div&gt;[/quote]
&lt;p lang="en-GB"&gt;Where in the documentation is that mentioned? Can you point me to it?&lt;/p&gt;
[quote user=""]But a question would be to ask if anyone has found a faster way to program the modems. Be it calling the DLL&amp;#39;s directly, or some other method I haven&amp;#39;t thought of.[/quote]
&lt;p lang="en-GB"&gt;What is the size of the application images you are flashing? Please note that the modem firmware image size is &amp;gt;2 MB for mfw 1.3.x.&lt;/p&gt;
&lt;p lang="en-GB"&gt;&lt;/p&gt;
&lt;p lang="en-GB"&gt;Regards,&lt;/p&gt;
&lt;p lang="en-GB"&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>