<?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>BLYST Nano Installation and example file</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55372/blyst-nano-installation-and-example-file</link><description>Hello, I am completely new to embedded software development (so far I have been using development boards such as Teensy, Feather and Arduino) and I recently acquired the BLYST Nano Exploration kit that comes with a IDAP-Link CMSIS-DAP Debug JTAG as well</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Dec 2019 16:42:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55372/blyst-nano-installation-and-example-file" /><item><title>RE: BLYST Nano Installation and example file</title><link>https://devzone.nordicsemi.com/thread/224995?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2019 16:42:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c8183fd-2a03-431f-b891-530f961f092e</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;1) Yes, there is only one Reset pin that is shared with P0.21&lt;/p&gt;
&lt;p&gt;All the IO pin on the nRF52832 can use map to any periph with few exceptions such as reset, analog in and NCF are fixed.&amp;nbsp; All others SPI, I2C,... can be mapped to any pins.&lt;/p&gt;
&lt;p&gt;Pin map number usually refer 27 as P0.27.&amp;nbsp; Direct mapping to nRF naming.&lt;/p&gt;
&lt;p&gt;The BLYST Nano breakout board assign the UART RX to P0.08 and TX to P0.07.&amp;nbsp; Which directly connected to the IDAP-Link USB-UART bridge.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) Arduino is not at all recommended for BLE firmware. &lt;a href="https://github.com/I-SYST/EHAL"&gt;EHAL&lt;/a&gt; or the new &lt;a href="https://github.com/IOsonata/IOsonata"&gt;IOsonata&lt;/a&gt; has BLE wrapper functions over the SDK to make it easy for you to write BLE firmware without the headache.&amp;nbsp; Eclipse is open and free, that allows you to use any JTag you like.&amp;nbsp; You can also use the Nordic way but you will be locked in with Segger only, no freedom of choices.&amp;nbsp; SES has a extremely limited functionality, almost no support for C++.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLYST Nano Installation and example file</title><link>https://devzone.nordicsemi.com/thread/224982?ContentTypeID=1</link><pubDate>Wed, 11 Dec 2019 16:10:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32e6005c-de72-483a-a42e-c54231805a75</guid><dc:creator>Matt74</dc:creator><description>&lt;p&gt;Thank you very much for your answers.&lt;/p&gt;
&lt;p&gt;1) I did notice the warning &amp;quot;//custom boards may override default pin definitions with BLESerial(PIN_REQ, PIN_RDY, PIN_RST)&amp;quot; But I didn&amp;#39;t see any actual hard-coded pin values, only a reference to &amp;quot;&lt;span&gt;BLE_DEFAULT&amp;quot; in BLESerial.h :&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;BLESerial(unsigned char req = BLE_DEFAULT_REQ, unsigned char rdy = BLE_DEFAULT_RDY, unsigned char rst = BLE_DEFAULT_RST);&lt;/p&gt;
&lt;p&gt;What would be the correct pin assignment ?&amp;nbsp;RST seems to be pin 2 i.e. P0.21 but I am not sure about the other two.&lt;/p&gt;
&lt;p&gt;(By the way what would be the proper way to refer to a pin for instance to set its&amp;nbsp;behaviour:&amp;nbsp;&amp;nbsp;pinMode(P0.27, INPUT) ?)&lt;/p&gt;
&lt;p&gt;2) In a nutshell you do not recommend using Arduino IDE but rather Eclipse (or other) + EHAL, am I right ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Many thanks !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLYST Nano Installation and example file</title><link>https://devzone.nordicsemi.com/thread/224565?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2019 23:28:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:395b5a38-d63c-4664-b22d-b86df8edc08e</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;1) The generic drive should be OK. &amp;nbsp;You might want to change the pin assignment&amp;nbsp;for the UART to match the BLYST Nano breakout board.&lt;/p&gt;
&lt;p&gt;2) Your log showed that it is downloaded ok. &amp;nbsp;But since it was downloaded in two phase. &amp;nbsp;The second download might have erased the first one. &amp;nbsp;If you are using the IDAP-Link for flashing, you can use the IDAPnRFProg as Mojo mentioned. &amp;nbsp;Also the target config nrf52.cfg from OpenOCD is buggy, might not properly flashed. &amp;nbsp;Use this one instead &lt;a href="https://github.com/IOsonata/IOsonata/blob/master/ARM/DbgConfig/OpenOCD_nRF52.cfg"&gt;https://github.com/IOsonata/IOsonata/blob/master/ARM/DbgConfig/OpenOCD_nRF52.cfg&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Arduino was based on a very old SDK, I think it was 6 or something like that and does not supports Bluetooth 5. &amp;nbsp;The latest SDK 16. &amp;nbsp;Follow the blogs link Mojo provided to work with SDK16 in a much simpler ways than directly using the SDK.&lt;/p&gt;
&lt;p&gt;You can find in the SDK precompile hex of many examples. &amp;nbsp;Try the HRS example for instance.&lt;/p&gt;
&lt;p&gt;The precompiled hex of BleAdvertiser example from the Blog Post is available here &lt;a href="https://sourceforge.net/projects/blyst-nano/files/fimrware/DemoFirmware/"&gt;https://sourceforge.net/projects/blyst-nano/files/fimrware/DemoFirmware/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It works with softdevice 7 from the SDK. &amp;nbsp;To flash it, execute this command from the comandline shell &amp;nbsp;&lt;/p&gt;
&lt;p&gt;IDAPnRFProg&amp;nbsp;&lt;a title="Click to download s132_nrf52_7.0.1_softdevice.hex" href="https://sourceforge.net/projects/blyst-nano/files/fimrware/DemoFirmware/s132_nrf52_7.0.1_softdevice.hex/download"&gt;s132_nrf52_7.0.1_softdevice.hex&lt;/a&gt;&amp;nbsp;&lt;a title="Click to download BleAdvertiser.hex" href="https://sourceforge.net/projects/blyst-nano/files/fimrware/DemoFirmware/BleAdvertiser.hex/download"&gt;BleAdvertiser.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;IDAPnRFPorg can be downloaded here&amp;nbsp;&lt;a href="https://sourceforge.net/projects/idaplinkfirmware/files/"&gt;sourceforge.net/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLYST Nano Installation and example file</title><link>https://devzone.nordicsemi.com/thread/224549?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2019 19:36:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c43b2e7-ba18-4d5a-829c-f66dd52ebec2</guid><dc:creator>Mojo</dc:creator><description>&lt;p&gt;Are you downloading it from outside of Arduino IDE or by the Arduino IDE ? &amp;nbsp;By doing a 2 phase flashing, the second write may have erase the first. &amp;nbsp;Are you using the IDAP-Link with it ? if so, use the provided software IDAPnRFProg to flash both softdevice &amp;amp; firmware at once via command line :&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;IDAPnRFProg /Users/uoc/Library/Arduino15/packages/sandeepmistry/hardware/nRF5/0.6.0/cores/nRF5/SDK/components/softdevice/s132/hex/s132_nrf52_2.0.1_softdevice.hex /var/folders/_p/__54lf114_9cpwbvbrvm_q3m0000gr/T/arduino_build_754463/serial.ino.hex
&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Arduino is uses a very old SDK. &amp;nbsp;I&amp;nbsp;recommend follow this blog to work with it. &amp;nbsp;It currently works with SDK16.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://embeddedsoftdev.blogspot.com/2017/"&gt;https://embeddedsoftdev.blogspot.com/2017/&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://embeddedsoftdev.blogspot.com/p/ehal-nrf51.html"&gt;https://embeddedsoftdev.blogspot.com/p/ehal-nrf51.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLYST Nano Installation and example file</title><link>https://devzone.nordicsemi.com/thread/224541?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2019 17:15:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dc3edc9-3f7c-46d7-a2d0-c671ae7209e9</guid><dc:creator>Matt74</dc:creator><description>&lt;p&gt;Thanks for your answer. I did also buy the nRF52 DK but it hasn&amp;rsquo;t arrived yet. In the meantime I thought I could give the BYST a go. I&amp;rsquo;ll check your list of softdevices. Cheers !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLYST Nano Installation and example file</title><link>https://devzone.nordicsemi.com/thread/224415?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2019 12:28:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7a38dab-843c-4820-841c-9572f135ada1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Matt,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are getting started with Nordic IC, I would suggest to get hold of one of our &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52-DK"&gt;nRF52 Development Kit. &lt;/a&gt;With that you can use our nRF5 SDK and follow &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/nrf51_getting_started.html?cp=6_1_1"&gt;our getting started guide.&amp;nbsp;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not familiar with the&amp;nbsp;&lt;span&gt;BLYST Nano Exploration kit and can&amp;#39;t help you on that. Hope someone else here can help.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;To download our softdevices, you can&amp;nbsp;find the list for S132 here:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Software/S132/Download#infotabs"&gt;https://www.nordicsemi.com/Software-and-tools/Software/S132/Download#infotabs&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLYST Nano Installation and example file</title><link>https://devzone.nordicsemi.com/thread/224285?ContentTypeID=1</link><pubDate>Sun, 08 Dec 2019 14:45:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fd8ec71-ba5c-41b8-bc64-2dc7d98b2bdc</guid><dc:creator>Matt74</dc:creator><description>&lt;p&gt;Note: There is&amp;nbsp;a newer version of the SoftDevice (s132_nrf52_6.1.1_softdevice.hex) available on SourceForge from yokotsuno but this one cannot be flashed. I get an error because Arduino IDE is looking specifically for the&amp;nbsp;2.0.1 version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>