<?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>mynewt OS app running on nRF51822 (without JLink/OpenOCD)?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19166/mynewt-os-app-running-on-nrf51822-without-jlink-openocd</link><description>A little background and what works: 
 
 I&amp;#39;m already familiar with using SD110 and SD130 APIs on the nRF51 series, so thats not an issue, also it confirms that my boards are working (so no hardware problems); 
 I&amp;#39;m using only GDB to upload my hex files</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Apr 2017 20:33:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19166/mynewt-os-app-running-on-nrf51822-without-jlink-openocd" /><item><title>RE: mynewt OS app running on nRF51822 (without JLink/OpenOCD)?</title><link>https://devzone.nordicsemi.com/thread/74187?ContentTypeID=1</link><pubDate>Mon, 10 Apr 2017 20:33:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9d2c655-deb4-49e0-80bc-083f4755e3b0</guid><dc:creator>sidekick</dc:creator><description>&lt;p&gt;&amp;quot;&lt;em&gt;I speculate that it could be something about the mynewt bootloader not beeing able to find the app flash address... or the mynewt bootloader trying to verify some app header signature/hash that does not exist and then exiting&amp;quot;&lt;/em&gt; - Yes indeed. The &lt;code&gt;newt create-image&lt;/code&gt; command (which you are skipping), adds a magic number (&lt;strong&gt;0x96f3b83c&lt;/strong&gt;) to the image and is checked by the mynewt bootloader. More information &lt;a href="https://mynewt.apache.org/latest/os/modules/bootloader/bootloader/"&gt;here.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mynewt OS app running on nRF51822 (without JLink/OpenOCD)?</title><link>https://devzone.nordicsemi.com/thread/74186?ContentTypeID=1</link><pubDate>Wed, 25 Jan 2017 06:46:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f35f8712-ff00-41ce-b672-0c7fab094103</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;I think you need to give more information on your build process.&lt;/p&gt;
&lt;p&gt;Surely the build for mynewt ends up with a binary file, which JLink then uploads&lt;/p&gt;
&lt;p&gt;The upload address for all applications is the same (for the same SD)&lt;/p&gt;
&lt;p&gt;GDB prefers an elf file, but I think you can use the Restore command to load a raw binary into flash as long as you specify the start address&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>