<?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>nRFConnect direct through serial</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25453/nrfconnect-direct-through-serial</link><description>I&amp;#39;d like to use nRFConnect with a direct USB/Serial connection to my nRF52832-based device. I&amp;#39;ve read that it currently checks the jLink chip. 
 Is there any way to configure it so that it will operate simply with a pass-through? Seems it should just</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Sep 2017 23:41:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25453/nrfconnect-direct-through-serial" /><item><title>RE: nRFConnect direct through serial</title><link>https://devzone.nordicsemi.com/thread/100328?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2017 23:41:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35d329d8-b341-4d91-9077-2550a577c515</guid><dc:creator>Bill Saltzstein</dc:creator><description>&lt;p&gt;Thanks Jorgen!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRFConnect direct through serial</title><link>https://devzone.nordicsemi.com/thread/100327?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2017 13:30:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c42070be-e833-42fb-ab54-8258960d9679</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi Bill,&lt;/p&gt;
&lt;p&gt;It would need some modifications to both &lt;em&gt;nRF Connect&lt;/em&gt; and &lt;em&gt;pc-ble-driver-js&lt;/em&gt;, which nRF Connect is built upon, to support direct serial connection to the device.&lt;/p&gt;
&lt;p&gt;nRF Connect is intended as a development tool, to be used together with our Development Kits. All our development kits have a Segger J-Link OB chip, and this is why the tool integrates the use of its features. Both &lt;a href="https://github.com/NordicSemiconductor/pc-nrfconnect-ble"&gt;nRF Connect&lt;/a&gt; and &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-js/"&gt;pc-ble-driver-js&lt;/a&gt; is available in source code on our GitHub, and you are welcome to make the changes needed for it to suit your application (please refer conditions given in &lt;a href="https://github.com/NordicSemiconductor/pc-nrfconnect-ble/blob/master/LICENSE"&gt;license file&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;nrfconnect/pc-ble-driver-js use &lt;a href="https://github.com/NordicSemiconductor/pc-nrfjprog-js/"&gt;nrfjprog&lt;/a&gt; and the J-Link driver to verify the firmware on the chip, and flash the correct one if wrong/no firmware is detected. The check could be done over UART, but there is no command in the connectivity firmware to check this. You could add a custom command to the firmware yourself if you want to test this. The connectivity firmware is a &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/blob/master/Installation.md#compiling-the-connectivity-hex-files"&gt;modified version&lt;/a&gt; of the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/lib_serialization.html"&gt;serialization firmware&lt;/a&gt; found in the SDK.&lt;/p&gt;
&lt;p&gt;The files &lt;a href="https://github.com/NordicSemiconductor/pc-nrfconnect-ble/blob/master/lib/actions/firmwareActions.js"&gt;firmwareActions.js&lt;/a&gt; in nrfconnect and &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-js/blob/master/api/firmwareUpdater.js"&gt;firmwareUpdater.js&lt;/a&gt; in pc-ble-driver-js should be a great starting point if you want to remove the dependency on nrfjprog/the Segger chip. Note that the UART communication in nRF Connect assumes the UART communication works as J-Link CDC, and you might encounter unanticipated issues if using it with other UART implementations.&lt;/p&gt;
&lt;p&gt;I would recommend that you start with getting pc-nrfjprog-js to run without nrfjprog, before integrating this with nrfconnect. Note that these changes will remove the possibility to flash the connectivity firmware to the chip, and this will have to be done manually using external programmer.&lt;/p&gt;
&lt;p&gt;Hope this information is usefull!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>