<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Akshay Mishra on Medium]]></title>
        <description><![CDATA[Stories by Akshay Mishra on Medium]]></description>
        <link>https://medium.com/@akshay_64059?source=rss-5e10652873da------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*HjflwS7R8t3OZxjH.jpg</url>
            <title>Stories by Akshay Mishra on Medium</title>
            <link>https://medium.com/@akshay_64059?source=rss-5e10652873da------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 14:53:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@akshay_64059/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Efficient, Open Source Embedded Development]]></title>
            <link>https://medium.com/@akshay_64059/efficient-open-source-embedded-development-762e359c9212?source=rss-5e10652873da------2</link>
            <guid isPermaLink="false">https://medium.com/p/762e359c9212</guid>
            <dc:creator><![CDATA[Akshay Mishra]]></dc:creator>
            <pubDate>Sun, 21 Jun 2020 16:59:24 GMT</pubDate>
            <atom:updated>2020-06-21T16:59:24.373Z</atom:updated>
            <content:encoded><![CDATA[<p>If you are developing embedded products the firmware development has to remain consistent with changing hardware. We choose <a href="https://www.riot-os.org/">RIOT-OS</a> for this. I am outlining a brief on how to setup a reliable debug method if you do not have a native Linux PC.</p><p>(i) Pickup a Raspberry Pi 3 or 4 and install Linux. Set it up for WiFi/ Network and enable ssh.</p><p>(ii) Install git, ctags and cscope for code browsing. And also your favourite editor. I use vim.</p><p>(iii) Setup github account, <a href="https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent">reference here</a>. Some options here, if you intend to use multiple accounts: <a href="https://www.attosol.com/manage-multiple-git-accounts/">https://www.attosol.com/manage-multiple-git-accounts/</a></p><p>(iv) If your board uses JLink:</p><p>(a) Download and Install JLink for RPi (<a href="https://www.segger.com/downloads/jlink/JLink_Linux_arm.tgz">https://www.segger.com/downloads/jlink/JLink_Linux_arm.tgz</a>).</p><p>For boards not usign JLink, install openocd (I used openocd for our own boards and JLink for the evaluation boards)</p><p>(b)</p><pre>git clone http://openocd.zylin.com/openocd<br>cd openocd<br>./bootstrap<br>./configure --enable-sysfsgpio --enable-bcm2835gpio<br>make<br>sudo make install</pre><p>There are configuration files /usr/local/share/openocd/scripts. You may need to tweak the files here to suit your board/ interface</p><p>Ensure your JLink PATH is setup suitably (last line in your .bashrc)</p><blockquote>export PATH=$PATH:/path/to/JLink or openocd</blockquote><p>this should be a reasonably good start.</p><p>check with</p><blockquote><em>$ JLinkExe<br>SEGGER J-Link Commander V6.80c (Compiled Jun 19 2020 17:26:13)<br>DLL version V6.80c, compiled Jun 19 2020 17:25:54</em></blockquote><blockquote><em>Connecting to J-Link via USB…O.K.<br>Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 7 2019 14:07:15<br>Hardware version: V1.00<br>S/N: 682236115<br>License(s): RDI, FlashBP, FlashDL, JFlash, GDB<br>VTref=3.300V</em></blockquote><blockquote><em>Type “connect” to establish a target connection, ‘?’ for help</em></blockquote><blockquote>Please specify device / core. &lt;Default&gt;: NRF52<br>Type ‘?’ for selection dialog</blockquote><blockquote>Device&gt;&lt;Press Enter if you want to choose Default&gt;</blockquote><blockquote>Please specify target interface:<br> J) JTAG (Default)<br> S) SWD<br> F) FINE<br> I) ICSP<br> C) C2<br> T) cJTAG<br>TIF&gt;S<br>Specify target interface speed [kHz]. &lt;Default&gt;: 4000 kHz<br>Speed&gt; &lt;Press Enter again to choose the default&gt;</blockquote><p>and you should be connected</p><p>The benefit of using RIOT-OS or any such OS will be that if you need to migrate your application to any different processor, the base OS remains the same which means lesser worry for you on how to scale. There are many other OSes which are good, Nuttx being another, FreeRTOS being yet another. Spend you time and choose wisely. Choices should be based on the users contributing on the devel list, your comfort with the code and the number of platforms this OS supports.</p><p>A comparison of various open-source OS is for another day.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=762e359c9212" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comparing IoT Protocols]]></title>
            <link>https://medium.com/@akshay_64059/comparing-iot-protocols-e73936b2f99a?source=rss-5e10652873da------2</link>
            <guid isPermaLink="false">https://medium.com/p/e73936b2f99a</guid>
            <dc:creator><![CDATA[Akshay Mishra]]></dc:creator>
            <pubDate>Sat, 20 Jun 2020 07:24:51 GMT</pubDate>
            <atom:updated>2020-06-20T08:31:06.597Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*STM2mjN4yE0eu3QbqHN87w.jpeg" /><figcaption>image — inspired from the Internet, sketched by A. Mishra</figcaption></figure><p>There is a common question we are asked — which protocol should I use for my application. Will it be battery friendly? What will I pay for it — initially or in Opex. Is LoRa always free ?</p><p>Which spectrum is apt?</p><p>A common reference table should be useful to anyone who wants to get started.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7429482fc63f8751105e7f019fc85c32/href">https://medium.com/media/7429482fc63f8751105e7f019fc85c32/href</a></iframe><p>The legend is — U is for unlicensed band and L is licensed spectrum.</p><p>NBIoT, I am not very sure about commercials and the network capacity. Please put your feedback in comments, especially about NBIoT where commercial deployments have not yet started in India.</p><p>A very popular method has not been included but I believe it beats those deployed here. Good old <strong>GPRS </strong>has been an unsung IoT protocol before IoT was coined and has been a reliable friend for many.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e73936b2f99a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>