<?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>Can I directly start programming a nrf51822 breakout board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/596/can-i-directly-start-programming-a-nrf51822-breakout-board</link><description>Hi guys,
I want to know if it is possible to get started on developing applications for nRF51822 without using the evaluation kit. I want ot have a couple of breakout boards made and buy a debugger to flash the code on the board. Is this even possible</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Jun 2016 07:29:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/596/can-i-directly-start-programming-a-nrf51822-breakout-board" /><item><title>RE: Can I directly start programming a nrf51822 breakout board</title><link>https://devzone.nordicsemi.com/thread/3116?ContentTypeID=1</link><pubDate>Thu, 23 Jun 2016 07:29:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4422915a-1c06-4333-8e53-75cafd91263d</guid><dc:creator>arsalanjun</dc:creator><description>&lt;p&gt;What did you find out? Do you have to pay extra $100 in order to program it. I am a beginner and i will be working on a project soon. Please suggest what devices I need to buy in order to start the project? I am so confused.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I directly start programming a nrf51822 breakout board</title><link>https://devzone.nordicsemi.com/thread/3106?ContentTypeID=1</link><pubDate>Sat, 28 Nov 2015 19:27:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b0c910e-b791-4404-a478-b1e8f9f7434d</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Updated information: since the softdevices and the SDK are freely available from developer.nordicsemi.com, the above recommendation should be modified.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I directly start programming a nrf51822 breakout board</title><link>https://devzone.nordicsemi.com/thread/3114?ContentTypeID=1</link><pubDate>Wed, 16 Jul 2014 23:23:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e963401b-80a8-4c1c-8fa3-1c2c008e460a</guid><dc:creator>EUA</dc:creator><description>&lt;p&gt;Thank you. Now it&amp;#39;s possible to use JLink (and clones) SWD with openOCD using this patch&lt;/p&gt;
&lt;p&gt;&lt;a href="http://openocd.zylin.com/#/c/2141/"&gt;openocd.zylin.com/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I directly start programming a nrf51822 breakout board</title><link>https://devzone.nordicsemi.com/thread/3115?ContentTypeID=1</link><pubDate>Sat, 31 May 2014 04:02:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d564f4a-8fea-4b70-aff0-c7e776e00f1a</guid><dc:creator>efiLabs</dc:creator><description>&lt;p&gt;i&amp;#39;m totally new to this ble ... bacon lettuce and eggs :)&lt;/p&gt;
&lt;p&gt;and ordered an mbed eval board, hopefully arriving tomorrow ... so sorry if i&amp;#39;m not totally up on it.&lt;/p&gt;
&lt;p&gt;i work now for more than a year on lpc1347 and lpc1549 parts in c++ with lpcxpresso ... FREE&lt;/p&gt;
&lt;p&gt;lpcxpresso supports as a debug interface a CMSIS-DAP device and the mbed board supposedly also supports CMSIS-DAP&lt;/p&gt;
&lt;p&gt;now the thought was, this could be a way to write code for the nrf51xxx in lpcxpresso (eclipse based ... runs on windows and even faster under linux).&lt;/p&gt;
&lt;p&gt;this nrf51xxx eval board costs about $ 60 and lpcxpresso is free ... up to 256 k of code size or so and the code gcc produces is at least as good as the one from keil.&lt;/p&gt;
&lt;p&gt;if you don&amp;#39;t want to use this nrf51xxx mbde board and are just looking for a SWD debug jig, then the lpc-link2 cost about $25 and supports natively the lpc-link2 usb interface to lpcxpresso and if you want to use CMSIS-DAP you can download the free lpc-tool and load a CMSIS-DAP image as an alterantive solution into the lpc-link2 SWD debug jig ... this way you can run the keil compiler with it&lt;/p&gt;
&lt;p&gt;as i said previously, i do not have the nrf51xxx mbde board yet and can&amp;#39;t verify this claim&lt;/p&gt;
&lt;p&gt;anyone already working with it could add a few comments to this post ... i will continue, once i have figured out more&lt;/p&gt;
&lt;p&gt;one more thought without offending anyone i hope ... free ... what is it ... if you spend 2 days  plus on getting some free debug stuff to work versus spending $ 25 or $ 60 (which you need to get the bt stack image) and compare this to going out a couple times for dinner :)&lt;/p&gt;
&lt;p&gt;cheers, efiLabs&lt;/p&gt;
&lt;p&gt;guess what, i got the board and here is the 1st part of the story ... not too glorious&lt;/p&gt;
&lt;p&gt;i assumed that i would get a product key to be able to download header files and the sdk or whatever to be able to write code ... nada&lt;/p&gt;
&lt;p&gt;yes you can make an led blink with using mbed to compile and receive a hex file to go-no-go test download like 30 years ago.&lt;/p&gt;
&lt;p&gt;i&amp;#39;ll see if nordic provides any usable customer support since i purchased a nordic semi product already.&lt;/p&gt;
&lt;p&gt;is there a $ 100 price limit which you have to exceed to be allowed to download the necessary files to be able to write code and if you purchase a $ 60 nrf51822-mkit you do not qualify ...&lt;/p&gt;
&lt;p&gt;i don&amp;#39;t get it. i&amp;#39;m waiting and will see if it&amp;#39;s worth to consider nordic as a vendor for ble enabled embedded products&lt;/p&gt;
&lt;p&gt;cheers, efiLabs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I directly start programming a nrf51822 breakout board</title><link>https://devzone.nordicsemi.com/thread/3113?ContentTypeID=1</link><pubDate>Tue, 06 May 2014 20:33:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b30dae18-882f-477d-88cb-49f2d24a7574</guid><dc:creator>Chris Hodapp</dc:creator><description>&lt;p&gt;A J-Link is not required. OpenOCD can speak SWD, given an appropriate adapter. I&amp;#39;m told that it can work with ST-Link, certain FTDI-based adapters, or a Linux system with accessible GPIO (say, a Raspberry Pi).&lt;/p&gt;
&lt;p&gt;I have only used it with an ST-Link myself (in this case, the ST-Link on an &lt;a href="http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF259090"&gt;STM32F429 Discovery&lt;/a&gt;). I disconnected the ST-Link half of the board from the STM32 half of the board by removing the jumpers at CN4, and I connected the pins from the SWD header at CN2 to the nRF51822. Specifically, CN2 pin 1 (VDD_TARGET) was connected to my power source, pin 2 (SWCLK) to SWCLK on the nRF, pin 3 (GND) to ground, and pin 4 (SWDIO) to SWDIO on the nRF.&lt;/p&gt;
&lt;p&gt;Then invoke OpenOCD with:&lt;code&gt;openocd -f interface/stlink-v2.cfg -f target/nrf51_stlink.tcl&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Then tools like GDB may interface with OpenOCD. &lt;em&gt;target remote localhost:3333&lt;/em&gt; to point GDB to it, and &lt;em&gt;load whatever.elf&lt;/em&gt; to flash it. (Not sure yet how to flash a softdevice from GDB, but I will look into it.)&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Later update:&lt;/em&gt; For newer versions of OpenOCD (e.g. the git version as of right now) you need a line more like:
&lt;code&gt;openocd -f interface/stlink-v2.cfg -c&amp;quot;transport select hla_swd&amp;quot; -f target/nrf51.cfg&lt;/code&gt;. The section &lt;em&gt;Flashing SoftDevice with OpenOCD&lt;/em&gt; at &lt;a href="http://embeddedsoftdev.blogspot.com/p/ehal-nrf51.html"&gt;Hoan Hoang&amp;#39;s page&lt;/a&gt; also gives the method he used to flash the SoftDevice using OpenOCD.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I directly start programming a nrf51822 breakout board</title><link>https://devzone.nordicsemi.com/thread/3112?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2013 02:23:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8942dcc1-e67a-4f91-bb1c-e868818f7036</guid><dc:creator>Christopher Mason</dc:creator><description>&lt;p&gt;I believe the McHck folks are working on an [url=&lt;a target="_blank" href="https://mchck.org/blog/2013-08-13-self_hosted_toolchain_the_mc_hck_as_swd_adapter/" rel="nofollow"&gt;https://mchck.org/blog/2013-08-13-self_hosted_toolchain_the_mc_hck_as_swd_adapter/&lt;/a&gt;]Arduino sketch bitbang implementation[/url].  Personally, I&amp;#39;m adding the MKL2/MK20 chip to my existing design.  The key in my mind is their SWD implementation is simple and readable, as compared with something like OpenOCD which has layers and layers of support for stuff like JTAG that I don&amp;#39;t need.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I directly start programming a nrf51822 breakout board</title><link>https://devzone.nordicsemi.com/thread/3111?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2013 00:29:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:818ec863-3c32-4625-956e-e102ebebf4a3</guid><dc:creator>Mad</dc:creator><description>&lt;p&gt;Thats some commendable work you have done. Its awesome. The only problem with using mc hck is that you cant buy it off the shelf. You need to make the boards and then you have the chicken and egg problem and without having a bus pirate or bus blaster or Jlink lite there is no other way to program the Mc hck.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I directly start programming a nrf51822 breakout board</title><link>https://devzone.nordicsemi.com/thread/3110?ContentTypeID=1</link><pubDate>Sun, 13 Oct 2013 19:52:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49f1909f-5592-43ee-8c4f-c525ec30a769</guid><dc:creator>Christopher Mason</dc:creator><description>&lt;p&gt;I&amp;#39;ve made some limited progress towards using the &lt;a href="http://goo.gl/5aj8IR"&gt;McHck to program and debug an nRF51822&lt;/a&gt; dev board.  I don&amp;#39;t have breakpoints working yet, but I&amp;#39;m hopeful that with some help from the McHck folks, we&amp;#39;ll get that working.&lt;/p&gt;
&lt;p&gt;For those of you following along at home, however, &lt;strong&gt;I still recommend the Dev Kit&lt;/strong&gt; as the best way to get started, and the only way to get legal access to the soft device BLE stack.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m hoping that Nordic will take notice of the fact that a fully-open-source toolchain exists for their great chip, and allow access to the soft device binary without a Dev Kit license.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll keep this updated as we progress.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;-c&lt;/p&gt;
&lt;p&gt;PS– @marc, you don&amp;#39;t need special PHY, etc to write an open source BLE stack for the nRF51822.  The existing, closed source stack uses the well documented radio, address resolver, etc features of the nRF51822 chip.  It would be a &lt;strong&gt;lot&lt;/strong&gt; of work though to reimplement this well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I directly start programming a nrf51822 breakout board</title><link>https://devzone.nordicsemi.com/thread/3109?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2013 12:29:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:295d5e18-e351-4a1f-b9d0-7073e881abb8</guid><dc:creator>Marc Nicholas</dc:creator><description>&lt;p&gt;Because that&amp;#39;s an API not a &amp;quot;stack&amp;quot;. It relies on third party PHY and radio layers.&lt;/p&gt;
&lt;p&gt;Of course, you&amp;#39;re welcome to implement your own silicon, PHY and other radio components :)&lt;/p&gt;
&lt;p&gt;-m&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I directly start programming a nrf51822 breakout board</title><link>https://devzone.nordicsemi.com/thread/3108?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2013 01:03:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5c0f585-42b2-495f-8cc8-a249159aa27c</guid><dc:creator>Christopher Mason</dc:creator><description>&lt;p&gt;In theory, I suppose you could write your own (or adapt an existing) stack for this chip.  I&amp;#39;d guess it would a &lt;em&gt;whole&lt;/em&gt; lot of work.  The peripherals and setup of this chip are like nothing else I&amp;#39;ve ever seen.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I directly start programming a nrf51822 breakout board</title><link>https://devzone.nordicsemi.com/thread/3107?ContentTypeID=1</link><pubDate>Sun, 06 Oct 2013 23:59:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27416631-7c06-4754-b6c2-69f0905e8e9d</guid><dc:creator>Mad</dc:creator><description>&lt;p&gt;Thanks a lot for the reply. Also I was just curoius, cant we use some other open source Bluetooth stack instead of SoftDevice like &lt;a href="https://code.google.com/p/btstack/wiki/BLE"&gt;https://code.google.com/p/btstack/wiki/BLE&lt;/a&gt; as long as we have access to the packet frame ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I directly start programming a nrf51822 breakout board</title><link>https://devzone.nordicsemi.com/thread/3105?ContentTypeID=1</link><pubDate>Sun, 06 Oct 2013 15:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0059d638-0d7c-4a1b-a159-9326f676912f</guid><dc:creator>Christopher Mason</dc:creator><description>&lt;p&gt;Yes and no.&lt;/p&gt;
&lt;p&gt;You could buy a Segger programmer and flash the chip with it.  I don&amp;#39;t know of any open source debugger (like OpenOCD) that can yet flash/debug the nrf51822 part (it has some special characteristics like combining RESET and SWDIO).  It would be awesome to make this happen though (I have high hopes for the &lt;a href="https://mchck.org/blog/2013-08-13-self_hosted_toolchain_the_mc_hck_as_swd_adapter/"&gt;mchck&lt;/a&gt; in this regard).&lt;/p&gt;
&lt;p&gt;I have an example project &lt;a href="http://hg.cmason.com/nrf"&gt;here&lt;/a&gt; that demonstrates using the Segger programmer and GCC.  You&amp;#39;ll need to edit the Makefile to set NRF51_USE_SOFTDEVICE=0.&lt;/p&gt;
&lt;p&gt;However, the soft device binary that includes the bluetooth stack is only available with the eval kit or dev kit.  You need an alphanumeric product key from the kit to access the download links on Nordic&amp;#39;s site (and the license prohibits redistribution)  I&amp;#39;ve asked Nordic a couple of times to release the soft device freely on their web site and they&amp;#39;ve said they&amp;#39;d consider it but haven&amp;#39;t done so yet.  So as of &lt;strong&gt;right now, if you want bluetooth, you&amp;#39;ll need a Nordic Dev or Eval kit&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Honestly, the &lt;a href="http://www.mouser.com/ProductDetail/Nordic-Semiconductor/nRF51822-DK/?qs=sGAEpiMZZMvQuebtxbmqHZoJdvgx4vK9"&gt;Dev Kit&lt;/a&gt; is a pretty great deal: 5 chips, a Segger debugger (alone worth &amp;gt;$70) and a very convenient USB dongle, for $99.  Until the open source community catches up with this chip (which I&amp;#39;m hoping will happen very soon), I&amp;#39;d recommend spending the $99.&lt;/p&gt;
&lt;p&gt;Hope this helps.  I&amp;#39;d really love to see a strong open source community around this awesome chip.&lt;/p&gt;
&lt;p&gt;-c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>