<?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>nRF Programmer - Unsupported device - custom nRF9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72712/nrf-programmer---unsupported-device---custom-nrf9160</link><description>My custom nRF9160 board does not communicate with nRF Connect Programmer. 
 &amp;quot;Unsupported device. The detected device could not be recognized as neither JLink device nor Nordic USB device.&amp;quot; 
 I also tried the modem firmware python script from Nordic, and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Mar 2021 15:58:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72712/nrf-programmer---unsupported-device---custom-nrf9160" /><item><title>RE: nRF Programmer - Unsupported device - custom nRF9160</title><link>https://devzone.nordicsemi.com/thread/300756?ContentTypeID=1</link><pubDate>Thu, 18 Mar 2021 15:58:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64ba8876-9315-43b9-be35-916081dfca0e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;We are not entirely sure at this point, but it could be something in that general area, or a issue wrt. the recognition in the usb descriptor strings that we filter on.&lt;/p&gt;
&lt;p&gt;You should be able to use the jlink edu mini for normal debugging use cases, like in Segger embedded studio (Nordic edition), as this uses seggers own dll/programs directly.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Programmer - Unsupported device - custom nRF9160</title><link>https://devzone.nordicsemi.com/thread/300753?ContentTypeID=1</link><pubDate>Thu, 18 Mar 2021 15:52:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9becde38-13b3-4dd8-9c91-a84516689453</guid><dc:creator>okwestern</dc:creator><description>&lt;p&gt;&lt;span&gt;Maybe you have some J-Link S/N filter&amp;nbsp;which does not cover the EDU Mini range?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Programmer - Unsupported device - custom nRF9160</title><link>https://devzone.nordicsemi.com/thread/300750?ContentTypeID=1</link><pubDate>Thu, 18 Mar 2021 15:40:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d57ca0c-dedf-4f96-955e-5ae1f9c0da0d</guid><dc:creator>okwestern</dc:creator><description>&lt;p&gt;&lt;span&gt;I updated the modem FW using the&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.0/nrf/samples/nrf9160/fmfu_smp_svr/README.html"&gt;fmfu_smp_svr&lt;/a&gt;&lt;span&gt;&amp;nbsp;sample, and pushed the&amp;nbsp;FW over uart. But using the nRF LTE Link Monitor etc. would be beneficial in debugging, so I hope you&amp;#39;ll get the EDU Mini discoverable soon.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Programmer - Unsupported device - custom nRF9160</title><link>https://devzone.nordicsemi.com/thread/300748?ContentTypeID=1</link><pubDate>Thu, 18 Mar 2021 15:34:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab7ae172-75f8-49f8-9b46-d027587ba8d5</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My apologies, but it seems that we need to add this device on our end. Everything you post looks in order, so we&amp;#39;ll have to dig a bit deeper here to see where the jlink edu mini fails to be detected in our libraries. I have reported this internally, but unfortunately do not have a workaround for you at this time.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you have other debuggers available to use with updating the modem?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Programmer - Unsupported device - custom nRF9160</title><link>https://devzone.nordicsemi.com/thread/300251?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 23:03:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5dd898a3-e980-4cd4-aa19-c5a2c25ab4ae</guid><dc:creator>okwestern</dc:creator><description>&lt;p&gt;I tried two different EDU Minis. One with latest firmware (18 feb 2021) and one unused fresh from Farnell (firmware 17 July 2020). Neither is detected in nRF Connect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Programmer - Unsupported device - custom nRF9160</title><link>https://devzone.nordicsemi.com/thread/300228?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 19:20:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c3a7b78-6481-48c5-b5fc-f24ae333b9a4</guid><dc:creator>okwestern</dc:creator><description>&lt;p&gt;JLinkARM.dll was 6.98b, not 6.96.&lt;/p&gt;
&lt;p&gt;Manufacturer of J-Link EDU Mini device is Segger (bought at Farnell).&lt;/p&gt;
&lt;p&gt;&lt;img style="height:auto;" alt=" " src="https://devzone.nordicsemi.com/Users/macbook/Documents/image.jpg" width="1040" /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/6116.image.jpg" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Programmer - Unsupported device - custom nRF9160</title><link>https://devzone.nordicsemi.com/thread/300170?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 14:03:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70f243a4-575e-4ecd-a96b-d3aadbb4de67</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Thank you, I&amp;#39;ve been discussing your issue internally, and it seems that we have the same deps in nrf connect for desktop as in pynrfjprog wrt. using the highlevel api.&lt;/p&gt;
&lt;p&gt;Could you check the manufacturer name of the jlink device?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1615903387329v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Programmer - Unsupported device - custom nRF9160</title><link>https://devzone.nordicsemi.com/thread/300054?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 10:10:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af3372e9-c6f3-4df3-98db-d597d4767830</guid><dc:creator>okwestern</dc:creator><description>&lt;p&gt;nrfjprog -v&lt;/p&gt;
&lt;p&gt;nrfjprog version 10:12.1&lt;/p&gt;
&lt;p&gt;JLinkARM.dll version 6.98b&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;pip list&lt;/p&gt;
&lt;p&gt;pynrfjprog 10.12.1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Programmer - Unsupported device - custom nRF9160</title><link>https://devzone.nordicsemi.com/thread/300005?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 07:37:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1cd13f9-e9aa-4ea0-ad70-7286649895f6</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you post your output of &amp;quot;nrfjprog --version&amp;quot;?&lt;/p&gt;
&lt;p&gt;Which version of pynrfjprog do you currently have installed?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Programmer - Unsupported device - custom nRF9160</title><link>https://devzone.nordicsemi.com/thread/299674?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2021 08:30:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2d5b8c7-9a5c-4bb8-9f3d-e1059479cc2e</guid><dc:creator>okwestern</dc:creator><description>&lt;p&gt;There are no errors. api.get_connected_probes() just does not find any debuggers, therefore never enters the flashing.&lt;/p&gt;
&lt;p&gt;But &amp;quot;nrfjprog -i&amp;quot; reports the serial number of my debugger.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;import os
import time
import argparse
import subprocess
import logging
from tempfile import TemporaryDirectory, mkstemp
from pynrfjprog import HighLevel

logging.basicConfig(level=logging.INFO)
log = logging.getLogger(&amp;#39;modem_update&amp;#39;)


def flash_modem_pkg(modem_zip, verify):
    start = time.time()
    with HighLevel.API(True) as api:
        snr = api.get_connected_probes()
        for s in snr:
            log.info(&amp;quot;Establish board connection&amp;quot;)
            log.info(f&amp;quot;Flashing &amp;#39;{modem_zip}&amp;#39; to board {s}&amp;quot;)
            with HighLevel.IPCDFUProbe(api, s, HighLevel.CoProcessor.CP_MODEM) as probe:
                log.info(f&amp;quot;Programming &amp;#39;{modem_zip}&amp;#39;&amp;quot;)
                probe.program(modem_zip)
                log.info(&amp;quot;Programming complete&amp;quot;)
                if verify:
                    log.info(&amp;quot;Verifying&amp;quot;)
                    probe.verify(modem_zip)
                    log.info(&amp;quot;Verifying complete&amp;quot;)
        api.close()
        log.info(f&amp;quot;Completed in {time.time() - start} seconds&amp;quot;)

def main():
    parser = argparse.ArgumentParser()
    parser.add_argument(&amp;quot;modem_pkg&amp;quot;)
    args = parser.parse_args()
    log.info(&amp;quot;Modem firmware upgrade&amp;quot;)
    flash_modem_pkg(args.modem_pkg,True)

if __name__ == &amp;#39;__main__&amp;#39;:
    main()
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Programmer - Unsupported device - custom nRF9160</title><link>https://devzone.nordicsemi.com/thread/299666?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2021 08:19:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ab97f32-f057-45b4-a685-2532f881c96d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="okwestern"]If there is a bug, it also goes for the python package pynrfjprog, since the python script doesn&amp;#39;t work either. Do they share the buggy code?&amp;nbsp;&lt;br /&gt;Are there previous versions available that work with EDU Mini I can use?[/quote]
&lt;p&gt;nrfjprog works, but pynrfjprog does not?&lt;/p&gt;
&lt;p&gt;Could you post the error messages?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Programmer - Unsupported device - custom nRF9160</title><link>https://devzone.nordicsemi.com/thread/299660?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2021 08:07:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b62d440e-9ff0-4345-b351-03e68e12addc</guid><dc:creator>okwestern</dc:creator><description>&lt;p&gt;If there is a bug, it also goes for the python package pynrfjprog, since the python script doesn&amp;#39;t work either. Do they share the buggy code?&amp;nbsp;&lt;br /&gt;Are there previous versions available that work with EDU Mini I can use?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Programmer - Unsupported device - custom nRF9160</title><link>https://devzone.nordicsemi.com/thread/299657?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2021 08:02:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dbb8453-792a-4541-b813-d43fc7502bd0</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]I use a J-Link EDU Mini over&amp;nbsp;SWD, latest firmware. When I use nrfjprog or J-Flash Lite, it erases, programs and verifies without problems - so I would assume connections, levels, etc. are correct.[/quote]
&lt;p&gt;My apologies. Since all other tools are able to detect the debugger successfully, it all points to the &amp;quot;programmer&amp;quot; app having a bug.&lt;/p&gt;
&lt;p&gt;I have reported this back to the developers, to that they are aware of this restriction/bug.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>