<?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>How to use JFlash to flash an nRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115797/how-to-use-jflash-to-flash-an-nrf52840</link><description>Hello, 
 I am developing a solution based on nrf52-DK, using nRF52840. I have a .hex file produced by the R&amp;amp;D team So far I can flash successfully the board with : 
 
 drag-and-drop the .hex file to the virtual disk presented by the board on USB 
 JLink</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Oct 2024 10:14:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115797/how-to-use-jflash-to-flash-an-nrf52840" /><item><title>RE: How to use JFlash to flash an nRF52840</title><link>https://devzone.nordicsemi.com/thread/507890?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2024 10:14:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bb56840-4510-4794-9f7c-0ba15e910408</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Glad to help &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use JFlash to flash an nRF52840</title><link>https://devzone.nordicsemi.com/thread/507779?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2024 13:59:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2827247-d4de-40df-a419-5f07cb755b47</guid><dc:creator>mike1369</dc:creator><description>&lt;p&gt;That&amp;#39;s really helpful !&amp;nbsp;&lt;br /&gt;This is what I get:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; nrfjprog --deviceversion&lt;br /&gt;&amp;nbsp; &amp;nbsp; 682851091 - NRF52832_xxAA_REV3&lt;/p&gt;
&lt;p&gt;so, definitely an nRF52832&lt;br /&gt;&lt;br /&gt;I really appreciate your help.&lt;br /&gt;You can consider my demand as completed and close it&lt;br /&gt;Many thanks Priyanka !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use JFlash to flash an nRF52840</title><link>https://devzone.nordicsemi.com/thread/507775?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2024 13:49:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d81b61d-b12e-4ad8-8685-2e00bbc49fc5</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can try the &amp;quot;nrfjprog --deviceversion&amp;quot;. This should print out the details.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use JFlash to flash an nRF52840</title><link>https://devzone.nordicsemi.com/thread/507768?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2024 13:27:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b692fd9-3468-41f7-990a-2e5d9ae7f664</guid><dc:creator>mike1369</dc:creator><description>&lt;p&gt;OK, finally got it.&lt;br /&gt;If I change&amp;nbsp;nRF52840_xxAA&amp;nbsp;to nRF52832_xxAA the flashing works&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I was told that the board contained a&amp;nbsp;&lt;span&gt;nRF52840&amp;nbsp;&lt;br /&gt;Do you know an easy way to confirm (ideally by a command in a terminal) the device embedded on the board ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use JFlash to flash an nRF52840</title><link>https://devzone.nordicsemi.com/thread/507752?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2024 12:54:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34c8dd79-0fbc-4721-ab92-c2a8b665aded</guid><dc:creator>mike1369</dc:creator><description>&lt;p&gt;could you provide me a nrf52840.jflash that allows to flash a nRF52840 ?&lt;br /&gt;&lt;br /&gt;I made one with JFlash / New project, and selecting type nRF52840_xxAA&lt;br /&gt;&lt;br /&gt;Here is the file I got :&amp;nbsp;&lt;br /&gt;-----------------------------------------------------------------&lt;br /&gt; &amp;nbsp;&amp;nbsp;AppVersion = 81001&lt;br /&gt; &amp;nbsp;&amp;nbsp;FileVersion = 2&lt;br /&gt; [GENERAL]&lt;br /&gt; &amp;nbsp;&amp;nbsp;aATEModuleSel[24] = 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0&lt;br /&gt; &amp;nbsp;&amp;nbsp;ConnectMode = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;CurrentFile = &amp;quot;&amp;quot;&lt;br /&gt; &amp;nbsp;&amp;nbsp;DataFileSAddr = 0x00000000&lt;br /&gt; &amp;nbsp;&amp;nbsp;GUIMode = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;HostName = &amp;quot;&amp;quot;&lt;br /&gt; &amp;nbsp;&amp;nbsp;TargetIF = 1&lt;br /&gt; &amp;nbsp;&amp;nbsp;USBPort = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;USBSerialNo = 0x00000000&lt;br /&gt; &amp;nbsp;&amp;nbsp;UseATEModuleSelection = 0&lt;br /&gt; [JTAG]&lt;br /&gt; &amp;nbsp;&amp;nbsp;IRLen = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;MultipleTargets = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;NumDevices = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;Speed0 = 1000&lt;br /&gt; &amp;nbsp;&amp;nbsp;Speed1 = 1000&lt;br /&gt; &amp;nbsp;&amp;nbsp;TAP_Number = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;UseAdaptive0 = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;UseAdaptive1 = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;UseMaxSpeed0 = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;UseMaxSpeed1 = 0&lt;br /&gt; [CPU]&lt;br /&gt; &amp;nbsp;&amp;nbsp;NumInitSteps = 1&lt;br /&gt; &amp;nbsp;&amp;nbsp;InitStep0_Action = &amp;quot;Reset&amp;quot;&lt;br /&gt; &amp;nbsp;&amp;nbsp;InitStep0_Value0 = 0x00000000&lt;br /&gt; &amp;nbsp;&amp;nbsp;InitStep0_Value1 = 0x00000000&lt;br /&gt; &amp;nbsp;&amp;nbsp;InitStep0_Comment = &amp;quot;Reset and halt target&amp;quot;&lt;br /&gt; &amp;nbsp;&amp;nbsp;NumExitSteps = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;UseScriptFile = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;ScriptFile = &amp;quot;&amp;quot;&lt;br /&gt; &amp;nbsp;&amp;nbsp;RAMAddr = 0x20000000&lt;br /&gt; &amp;nbsp;&amp;nbsp;RAMSize = 0x00040000&lt;br /&gt; &amp;nbsp;&amp;nbsp;CheckCoreID = 1&lt;br /&gt; &amp;nbsp;&amp;nbsp;CoreID = 0x4BA00477&lt;br /&gt; &amp;nbsp;&amp;nbsp;CoreIDMask = 0x0F000FFF&lt;br /&gt; &amp;nbsp;&amp;nbsp;UseAutoSpeed = 0x00000001&lt;br /&gt; &amp;nbsp;&amp;nbsp;ClockSpeed = 0x00000000&lt;br /&gt; &amp;nbsp;&amp;nbsp;EndianMode = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;ChipName = &amp;quot;Nordic Semi nRF52840_xxAA&amp;quot;&lt;br /&gt; [FLASH]&lt;br /&gt; &amp;nbsp;&amp;nbsp;aRangeSel[1] = 0-256&lt;br /&gt; &amp;nbsp;&amp;nbsp;BankName = &amp;quot;Internal flash&amp;quot;&lt;br /&gt; &amp;nbsp;&amp;nbsp;BankSelMode = 1&lt;br /&gt; &amp;nbsp;&amp;nbsp;BaseAddr = 0x00000000&lt;br /&gt; &amp;nbsp;&amp;nbsp;NumBanks = 1&lt;br /&gt; [PRODUCTION]&lt;br /&gt; &amp;nbsp;&amp;nbsp;AutoPerformsDisconnect = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;AutoPerformsErase = 1&lt;br /&gt; &amp;nbsp;&amp;nbsp;AutoPerformsProgram = 1&lt;br /&gt; &amp;nbsp;&amp;nbsp;AutoPerformsSecure = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;AutoPerformsStartApp = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;AutoPerformsVerify = 1&lt;br /&gt; &amp;nbsp;&amp;nbsp;EnableFixedVTref = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;EnableTargetPower = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;EraseType = 1&lt;br /&gt; &amp;nbsp;&amp;nbsp;FixedVTref = 0x00000CE4&lt;br /&gt; &amp;nbsp;&amp;nbsp;MonitorVTref = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;MonitorVTrefMax = 0x0000157C&lt;br /&gt; &amp;nbsp;&amp;nbsp;MonitorVTrefMin = 0x000003E8&lt;br /&gt; &amp;nbsp;&amp;nbsp;OverrideTimeouts = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;ProgramSN = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;SerialFile = &amp;quot;&amp;quot;&lt;br /&gt; &amp;nbsp;&amp;nbsp;SNAddr = 0x00000000&lt;br /&gt; &amp;nbsp;&amp;nbsp;SNInc = 0x00000001&lt;br /&gt; &amp;nbsp;&amp;nbsp;SNLen = 0x00000004&lt;br /&gt; &amp;nbsp;&amp;nbsp;SNListFile = &amp;quot;&amp;quot;&lt;br /&gt; &amp;nbsp;&amp;nbsp;SNValue = 0x00000001&lt;br /&gt; &amp;nbsp;&amp;nbsp;StartAppType = 0&lt;br /&gt; &amp;nbsp;&amp;nbsp;TargetPowerDelay = 0x00000014&lt;br /&gt; &amp;nbsp;&amp;nbsp;TimeoutErase = 0x00003A98&lt;br /&gt; &amp;nbsp;&amp;nbsp;TimeoutProgram = 0x00002710&lt;br /&gt; &amp;nbsp;&amp;nbsp;TimeoutVerify = 0x00002710&lt;br /&gt; &amp;nbsp;&amp;nbsp;VerifyType = 1&lt;br /&gt; [PERFORMANCE]&lt;br /&gt; &amp;nbsp;&amp;nbsp;DisableSkipBlankDataOnProgram = 0x00000000&lt;br /&gt; &amp;nbsp;&amp;nbsp;PerfromBlankCheckPriorEraseChip = 0x00000001&lt;br /&gt; &amp;nbsp;&amp;nbsp;PerfromBlankCheckPriorEraseSelectedSectors = 0x00000001&lt;br /&gt;-----------------------------------------------------------------&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use JFlash to flash an nRF52840</title><link>https://devzone.nordicsemi.com/thread/507741?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2024 12:17:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a1490bb-0dfd-4207-964e-93d54bba0eec</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you verify in J-Flash that you &amp;quot;Program the entire chip&amp;quot; ?&lt;/p&gt;
&lt;p&gt;Also, please try lowering the SWD speed. I see that you are using around 4000 for J-link, but maybe try using around 1000-2000 and check.&lt;/p&gt;
&lt;p&gt;You can also first try flashing a smaller hex file and verify if it works.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>