<?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>jlink firmware reset vs. nrfgo</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8533/jlink-firmware-reset-vs-nrfgo</link><description>Hi, 
 When I reset my nrf51822 beacon firmware using nrfgo, it works just fine. When I try to reset the firmware using jlink, I end up having problems. There are no errors, but the board is not in the correct state (blue blinking light). It does not</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Aug 2015 07:17:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8533/jlink-firmware-reset-vs-nrfgo" /><item><title>RE: jlink firmware reset vs. nrfgo</title><link>https://devzone.nordicsemi.com/thread/31195?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2015 07:17:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a046589-20bc-462f-97f2-f5bdb37c2037</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hex2bin converter will do the trick. &lt;a href="http://hex2bin.sourceforge.net/"&gt;hex2bin.sourceforge.net/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: jlink firmware reset vs. nrfgo</title><link>https://devzone.nordicsemi.com/thread/31194?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2015 06:50:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7dc5b4f-9c9a-482f-84a3-1237f3ededf6</guid><dc:creator>Tim Kadom</dc:creator><description>&lt;p&gt;I get the same results using loadfile.  Strangely enough loadbin works with my application hex file on OSX.  Thought I had read somewhere that a few versions back loadbin started working with hex files but then again, that would certainly explain this.&lt;/p&gt;
&lt;p&gt;The hex files I am loading are the factory built hex files from the smart beacon firmware provided by Nordic.  Outside of nrfgo, is there a way for j-link to load the hex files?&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SEGGER J-Link Commander V4.98c (&amp;#39;?&amp;#39; for help)
Compiled Apr 23 2015 20:22:10
DLL version V4.98c, compiled Apr 23 2015 20:21:50
Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jun 16 2015 17:08:23
Hardware: V1.00
S/N: 681784956
VTarget = 3.300V
Info: Found SWD-DP with ID 0x0BB11477
Info: Found Cortex-M0 r0p0, Little endian.
Info: FPUnit: 4 code (BP) slots and 0 literal slots
Info: CoreSight components:
Info: ROMTbl 0 @ F0000000
Info: ROMTbl 0 [0]: F00FF000, CID: B105100D, PID: 000BB471 ROM Table
Info: ROMTbl 1 @ E00FF000
Info: ROMTbl 1 [0]: FFF0F000, CID: B105E00D, PID: 000BB008 SCS
Info: ROMTbl 1 [1]: FFF02000, CID: B105E00D, PID: 000BB00A DWT
Info: ROMTbl 1 [2]: FFF03000, CID: B105E00D, PID: 000BB00B FPB
Info: ROMTbl 0 [1]: 00002000, CID: B105900D, PID: 000BB9A3 ???
Found 1 JTAG device, Total IRLen = 4:
Cortex-M0 identified.
Target interface speed: 100 kHz
J-Link&amp;gt;device nrf51822
Info: Device &amp;quot;NRF51822_XXAA&amp;quot; selected.
Reconnecting to target...
Info: Found SWD-DP with ID 0x0BB11477
Info: Found Cortex-M0 r0p0, Little endian.
Info: FPUnit: 4 code (BP) slots and 0 literal slots
Info: CoreSight components:
Info: ROMTbl 0 @ F0000000
Info: ROMTbl 0 [0]: F00FF000, CID: B105100D, PID: 000BB471 ROM Table
Info: ROMTbl 1 @ E00FF000
Info: ROMTbl 1 [0]: FFF0F000, CID: B105E00D, PID: 000BB008 SCS
Info: ROMTbl 1 [1]: FFF02000, CID: B105E00D, PID: 000BB00A DWT
Info: ROMTbl 1 [2]: FFF03000, CID: B105E00D, PID: 000BB00B FPB
Info: ROMTbl 0 [1]: 00002000, CID: B105900D, PID: 000BB9A3 ???
J-Link&amp;gt;speed 4000
Target interface speed: 1000 kHz
J-Link&amp;gt;loadfile firm\softdevice.hex
Downloading file [firm\softdevice.hex]...Info: J-Link: Flash download: Flash programming performed for 2 ranges (84992 bytes)
Info: J-Link: Flash download: Total time needed: 1.459s (Prepare: 0.091s, Compare: 0.031s, Erase: 0.000s, Program: 1.319s, Verify: 0.009s, Restore: 0.007s)
O.K.
J-Link&amp;gt;loadfile firm\app.hex
Downloading file [firm\app.hex]...Info: J-Link: Flash download: Flash programming performed for 1 range (13312 bytes)
Info: J-Link: Flash download: Total time needed: 0.437s (Prepare: 0.124s, Compare: 0.003s, Erase: 0.000s, Program: 0.264s, Verify: 0.000s, Restore: 0.043s)
O.K.
J-Link&amp;gt;loadfile firm\bootloader.hex
Downloading file [firm\bootloader.hex]...Info: J-Link: Flash download: Flash programming performed for 2 ranges (16384 bytes)
Info: J-Link: Flash download: Total time needed: 0.495s (Prepare: 0.126s, Compare: 0.006s, Erase: 0.000s, Program: 0.315s, Verify: 0.003s, Restore: 0.043s)
O.K.
J-Link&amp;gt;r
Reset delay: 0 ms
Reset type NORMAL: Resets core &amp;amp; peripherals via SYSRESETREQ &amp;amp; VECTRESET bit.
J-Link&amp;gt;g
J-Link&amp;gt;erase
Erasing device (nRF51822_xxAA)...
Info: J-Link: Flash download: Total time needed: 5.670s (Prepare: 0.163s, Compare: 0.000s, Erase: 5.423s, Program: 0.000s, Verify: 0.000s, Restore: 0.083s)
Erasing done.
J-Link&amp;gt;loadfile firm\softdevice.hex
Downloading file [firm\softdevice.hex]...Info: J-Link: Flash download: Flash programming performed for 4 ranges (113664 bytes)
Info: J-Link: Flash download: Total time needed: 2.194s (Prepare: 0.177s, Compare: 0.146s, Erase: 0.031s, Program: 1.739s, Verify: 0.014s, Restore: 0.084s)
O.K.
J-Link&amp;gt;loadfile firm\bootloader.hex
Downloading file [firm\bootloader.hex]...Info: J-Link: Flash download: Flash download into internal flash skipped. Flash contents already match
Info: J-Link: Flash download: Total time needed: 0.222s (Prepare: 0.125s, Compare: 0.052s, Erase: 0.000s, Program: 0.000s, Verify: 0.000s, Restore: 0.044s)
O.K.
J-Link&amp;gt;loadfile firm\app.hex
Downloading file [firm\app.hex]...Info: J-Link: Flash download: Flash download into internal flash skipped. Flash contents already match
Info: J-Link: Flash download: Total time needed: 0.288s (Prepare: 0.137s, Compare: 0.094s, Erase: 0.000s, Program: 0.000s, Verify: 0.000s, Restore: 0.057s)
O.K.
J-Link&amp;gt;r
Reset delay: 0 ms
Reset type NORMAL: Resets core &amp;amp; peripherals via SYSRESETREQ &amp;amp; VECTRESET bit.
J-Link&amp;gt;g
J-Link&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: jlink firmware reset vs. nrfgo</title><link>https://devzone.nordicsemi.com/thread/31193?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2015 06:40:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fae70bfd-c752-40c7-a5e9-6816c4ba5514</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;loadbin only works for .bin file and not for .hex file.
nRFGo uses nrfjprog under the shell and nrfjprog works on hex files.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>