<?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>Programming nRF51822 bootloader ends with &amp;quot;Invalid parameter error&amp;quot;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3292/programming-nrf51822-bootloader-ends-with-invalid-parameter-error</link><description>Hi! 
 I was trying to program bootloader provided with nRF51822-DK using nRFgo studio but I receive error like attached: 
 
 I was also trying to follow this guide: 
 devzone.nordicsemi.com/.../group__ble__sdk__app__bootloader.html 
 but command</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Jul 2014 20:46:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3292/programming-nrf51822-bootloader-ends-with-invalid-parameter-error" /><item><title>RE: Programming nRF51822 bootloader ends with "Invalid parameter error"</title><link>https://devzone.nordicsemi.com/thread/12008?ContentTypeID=1</link><pubDate>Wed, 30 Jul 2014 20:46:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a23504d7-84b0-41ba-bd7f-146268107eb1</guid><dc:creator>EL45</dc:creator><description>&lt;p&gt;Checkout the latest documentation for the bootloader example:
&lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/6.0.0/s110/html/a00055.html#dfu_bootloader_front_page"&gt;devzone.nordicsemi.com/.../a00055.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;These steps are no longer mentioned, and I don&amp;#39;t think they are necessary if using SoftDevice 7.0 and SDK 6.0&lt;/p&gt;
&lt;p&gt;Are you using Keil to compile?&lt;/p&gt;
&lt;p&gt;If so, try putting the softdevice on using nrfGo then flash the bootloader from within Keil OR&lt;/p&gt;
&lt;p&gt;nrfjprog.exe --reset --program _build/bootloader.hex&lt;/p&gt;
&lt;p&gt;After compiling with Keil, you should be able to open the hex file, look at the end of it and see that it&amp;#39;s writing address 0x1000101 for you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF51822 bootloader ends with "Invalid parameter error"</title><link>https://devzone.nordicsemi.com/thread/12007?ContentTypeID=1</link><pubDate>Wed, 30 Jul 2014 17:19:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:237adc28-05d5-43e3-b197-ce8075c77c44</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;No, SDK 6.0.0 and SoftDevice (S110) 7.0.0 are the latest releases&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF51822 bootloader ends with "Invalid parameter error"</title><link>https://devzone.nordicsemi.com/thread/12006?ContentTypeID=1</link><pubDate>Wed, 30 Jul 2014 07:23:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f557c982-493c-4210-9f53-37ce3c9eee76</guid><dc:creator>Patriko</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve N51822 QFAG0 1341AG version, purchased few days ago. And SDK should be v7.0, isn&amp;#39;t it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF51822 bootloader ends with "Invalid parameter error"</title><link>https://devzone.nordicsemi.com/thread/12005?ContentTypeID=1</link><pubDate>Wed, 30 Jul 2014 07:04:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca515e2a-115a-45aa-8044-b4dfe3b931e8</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;Also, what chip revision do you have, i.e what name is printed on your chip? I guess maybe SDK 4.2 wont be valid for your chip version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF51822 bootloader ends with "Invalid parameter error"</title><link>https://devzone.nordicsemi.com/thread/12004?ContentTypeID=1</link><pubDate>Wed, 30 Jul 2014 07:02:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2e0a0ef-8e9e-4bd9-8b4b-1eb311972c78</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;that argument is not provided with my nrfjprog either (very old documentation, maybe the nrfjprog util has changed since then), but since you are just writing to a memory space you could try nrfjprog --memwr  0x10001014 --val 0x00038000&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>