<?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>Help getting the PCA20041 Gaming Mouse demo programmed and working</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75029/help-getting-the-pca20041-gaming-mouse-demo-programmed-and-working</link><description>Hi, 
 I&amp;#39;ve got the gaming mouse dev kit and I&amp;#39;m stuck trying to get it programmed using my nRF52840-DK. See my hardware connection image below. 
 If I leave the mouse power switch off, then it seems to just program the dev kit&amp;#39;s onboard processor and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 May 2021 19:35:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75029/help-getting-the-pca20041-gaming-mouse-demo-programmed-and-working" /><item><title>RE: Help getting the PCA20041 Gaming Mouse demo programmed and working</title><link>https://devzone.nordicsemi.com/thread/310859?ContentTypeID=1</link><pubDate>Thu, 20 May 2021 19:35:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d47976e-9337-451e-83cd-d0cc53655de7</guid><dc:creator>Glen M</dc:creator><description>&lt;p&gt;Plugging in the second cable to the devkit and selecting USB power solved the problem - thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help getting the PCA20041 Gaming Mouse demo programmed and working</title><link>https://devzone.nordicsemi.com/thread/310831?ContentTypeID=1</link><pubDate>Thu, 20 May 2021 15:43:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21ed07fa-6a07-4103-86cf-630a758a4b6c</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I think this might be caused by a mismatch between the VDD level the DK uses vs the VDD level the gaming mouse uses.&lt;/p&gt;
&lt;p&gt;If you have a stand-alone Jlink debugger, you should try to use that.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Alternatively, you could try to insert another USB cable at &amp;quot;nRF USB&amp;quot; on the DK, and set the nRF power source switch(SW9) to USB, it might be possible to program the mouse then.&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/dk/hw_debug_out.html"&gt;https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/dk/hw_debug_out.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help getting the PCA20041 Gaming Mouse demo programmed and working</title><link>https://devzone.nordicsemi.com/thread/310567?ContentTypeID=1</link><pubDate>Wed, 19 May 2021 19:09:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc5db78a-182e-41b4-bb92-257e9e04ff66</guid><dc:creator>Glen M</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Yes I just tried again, making sure to get the debug board fully inserted into the connector - no change.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It seems like it&amp;#39;s connected enough for the dev kit to think something is plugged in downstream that needs programming - because if I just unplug the connection to the mouse from the dev kit then the programmer tries to program the nrf52840 on the devkit - but something just won&amp;#39;t let the software connect. I also tried using&amp;nbsp;J-Flash V6.92 to connect and it popped up some message about the security bit on the target being set and that if I proceeded to disable the security setting it would erase the target, but when I said OK it failed to do anything and the mouse still has its factory programming.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help getting the PCA20041 Gaming Mouse demo programmed and working</title><link>https://devzone.nordicsemi.com/thread/310520?ContentTypeID=1</link><pubDate>Wed, 19 May 2021 14:25:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:516aab0b-5408-4337-b3aa-0b83ee99cdd8</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Looks like the debugger is not able to connect to the nRF52840.&lt;/p&gt;
&lt;p&gt;Are you sure that the&amp;nbsp;debug adapter is properly inserted ? You are not able to push it further in?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help getting the PCA20041 Gaming Mouse demo programmed and working</title><link>https://devzone.nordicsemi.com/thread/309586?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 19:05:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e6e6542-6120-4757-a123-36767a465a22</guid><dc:creator>Glen M</dc:creator><description>&lt;p&gt;Ok here&amp;#39;s what I got from&amp;nbsp;nrfjprog --readregs&lt;/p&gt;
&lt;p&gt;ERROR: JLinkARM DLL reported an error. Try again. If error condition&lt;br /&gt;ERROR: persists, run the same command again with argument --log, contact Nordic&lt;br /&gt;ERROR: Semiconductor and provide the generated log.log file to them.&lt;/p&gt;
&lt;p&gt;I ran it again with --log added on and here&amp;#39;s the content of the log.log file:&lt;/p&gt;
&lt;p&gt;[2021-May-12 14:02:57] [ info] --------------------------------------------------------------------------------&lt;br /&gt;[2021-May-12 14:02:57] [ info] nrfjprog --readregs --log &lt;br /&gt;[2021-May-12 14:02:57] [ info] nrfjprog version 10.12.1 &lt;br /&gt;[2021-May-12 14:02:57] [ info] --------------------------------------------------------------------------------&lt;br /&gt;[2021-May-12 14:02:57] [debug] [ nRF0x0] - open_dll&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ nRF0x0] - Load library at C:\Program Files (x86)\Nordic Semiconductor\nrf-command-line-tools\bin\JLINKARM_UNKNOWN_NRFJPROG.dll.&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ nRF0x0] - Library loaded, loading member functions.&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ nRF0x0] - Member functions succesfully loaded.&lt;br /&gt;[2021-May-12 14:02:57] [ info] [Backend] - Logger callback at 0xd82020 registered in Segger backend logger.&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] Logger callback at 0xd82020 registered in JLink logger.&lt;br /&gt;[2021-May-12 14:02:57] [debug] [nRFUnknown] - Just_open_dll_tagged_callback&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - open_dll&lt;br /&gt;[2021-May-12 14:02:57] [ info] [Backend] - No J-Link DLL path was provided. Attempting to auto detect.&lt;br /&gt;[2021-May-12 14:02:57] [ info] [Backend] - Load library at C:\Program Files (x86)\SEGGER\JLink\JLinkARM.dll.&lt;br /&gt;[2021-May-12 14:02:57] [ info] [Backend] - Library loaded, loading member functions.&lt;br /&gt;[2021-May-12 14:02:57] [ info] [Backend] - Member functions succesfully loaded.&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - dll_version&lt;br /&gt;[2021-May-12 14:02:57] [ info] [Backend] - Segger dll version 6.98.e loaded.&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - set_core_data&lt;br /&gt;[2021-May-12 14:02:57] [debug] [ nRF0x0] - enum_emu_snr&lt;br /&gt;[2021-May-12 14:02:57] [debug] [nRFUnknown] - Just_enum_emu_snr&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - enum_emu_snr&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - ---just_enum_emu_snr&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - ---just_get_num_emus&lt;br /&gt;[2021-May-12 14:02:57] [debug] [ nRF0x0] - connect_to_emu_with_snr&lt;br /&gt;[2021-May-12 14:02:57] [debug] [nRFUnknown] - Just_connect_to_emu_with_snr&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - connect_to_emu_with_snr&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - is_connected_to_emu&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - ---just_enum_emu_snr&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - ---just_get_num_emus&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - ---just_connect_to_emu_with_snr&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - ---just_connect_to_emu_without_snr&lt;br /&gt;[2021-May-12 14:02:57] [ info] [Backend] - Segger logging enabled.&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Feb 2 2021 16:47:20&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Feb 2 2021 16:47:20&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] Hardware: V1.00&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] S/N: 683971486&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] OEM: SEGGER&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] TELNET listener socket opened on port 19021&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] WEBSRV Starting webserver&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] WEBSRV Webserver running on local port 19080&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 6.561ms returns &amp;quot;O.K.&amp;quot; &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_GetHWStatus(...) &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 0.220ms returns 0 &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand(&amp;quot;SetRestartOnClose = 0&amp;quot;, ...). &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 0.006ms returns 0x01 &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand(&amp;quot;DisableFlashDL&amp;quot;, ...). &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 0.004ms returns 0x00 &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand(&amp;quot;ExcludeFlashCacheRange 0x0-0xFFFFFFFF&amp;quot;, ...). &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 0.004ms returns 0x00 &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_SetHookUnsecureDialog &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_SetHookUnsecureDialog(...)&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 0.019ms returns 0 &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_TIF_Select(JLINKARM_TIF_SWD) &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 0.803ms returns 0x00 &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_SetSpeed(2000) &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 0.111ms &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_GetSN() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 0.007ms returns 683971486 &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - ---just_load_core_data&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand(&amp;quot;CORESIGHT_SetIndexAHBAPToUse = 0&amp;quot;, ...). &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 0.003ms returns 0x00 &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_ExecCommand(&amp;quot;device = Cortex-M4&amp;quot;, ...). &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] XML file found at: C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] C:\Program Files (x86)\SEGGER\JLink\JLinkDevices.xml evaluated successfully. &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] Device &amp;quot;CORTEX-M4&amp;quot; selected.&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] Device &amp;quot;CORTEX-M4&amp;quot; selected.&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 34.627ms returns 0x00 &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [debug] [ nRF0x0] - read_connected_emu_snr&lt;br /&gt;[2021-May-12 14:02:57] [debug] [nRFUnknown] - Just_read_connected_emu_snr&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - read_connected_emu_snr&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - is_connected_to_emu&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsOpen() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 0.010ms returns 0x01 &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [debug] [ nRF0x0] - read_device_family&lt;br /&gt;[2021-May-12 14:02:57] [debug] [nRFUnknown] - Just_read_device_family&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - is_connected_to_emu&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsOpen() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 0.007ms returns 0x01 &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_Lock() &lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - read_debug_port_idr&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - read_debug_port_register&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - ---just_read_debug_port_register&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - coresight_configure&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_Configure() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 101.256ms returns 0 &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - ---just_select_debug_port_register&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - Select AP 255, DP Bank 0, AP Bank 255&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 1.462ms returns -1 &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [Backend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, an unknown error.&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - ---just_abort_debug_action&lt;br /&gt;[2021-May-12 14:02:57] [ info] [Backend] - Attempting to clear any configuration errors in debug port before closing connection. &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 1.251ms returns -1 &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [Backend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, an unknown error.&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 0.062ms &lt;br /&gt;[2021-May-12 14:02:57] [debug] [ nRF0x0] - close_dll&lt;br /&gt;[2021-May-12 14:02:57] [debug] [nRFUnknown] - Just_close_dll&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - close&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - disconnect_from_emu&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - is_connected_to_emu&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsOpen() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 0.024ms returns 0x01 &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - ---just_disconnect_from_emu&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - is_connected_to_device&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsConnected() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 0.025ms returns FALSE &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - ---just_is_debug_region_powered&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - ---just_read_debug_port_register&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - is_connected_to_emu&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_IsOpen() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 0.022ms returns 0x01 &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_Lock() &lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - ---just_select_debug_port_register&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - Select AP 255, DP Bank 0, AP Bank 255&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 1.394ms returns -1 &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [Backend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, an unknown error.&lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - ---just_abort_debug_action&lt;br /&gt;[2021-May-12 14:02:57] [ info] [Backend] - Attempting to clear any configuration errors in debug port before closing connection. &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 1.536ms returns -1 &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_HasError() &lt;br /&gt;[2021-May-12 14:02:57] [ info] [Backend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, an unknown error.&lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] - 0.067ms &lt;br /&gt;[2021-May-12 14:02:57] [ info] [ JLink] - [Info ] [JLink ] JLINK_Close() &lt;br /&gt;[2021-May-12 14:02:57] [debug] [Backend] - Segger Backend closed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help getting the PCA20041 Gaming Mouse demo programmed and working</title><link>https://devzone.nordicsemi.com/thread/309581?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 17:21:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f44d1cc-b331-4021-8cb6-aede7ef63145</guid><dc:creator>Sigurd</dc:creator><description>[quote user="Glen M"]I&amp;#39;m not sure how to enter command line switches like readregs - is that something you can do from the GUI? If not, what folder is the executable located in on the computer so I can try it command line?&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;Install&amp;nbsp;nRF Command Line Tools from here:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools/Download"&gt;https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools/Download&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then just use cmd from anywhere on the computer:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1620840086971v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help getting the PCA20041 Gaming Mouse demo programmed and working</title><link>https://devzone.nordicsemi.com/thread/309577?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 16:41:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d747d023-b570-4cd3-9c1d-501576bad274</guid><dc:creator>Glen M</dc:creator><description>&lt;p&gt;Yes I am using the nrf_desktop project and I selected the &lt;span&gt;nrf52840gmouse_nrf52840 board.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am using NCS v1.5.1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I got this error with nrfjprog when I connect if the mouse is powered up:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could not fetch memory size of target devkit: Error: Error occured when get library info. Errorcode: CouldNotOpenDevice (0x4) Lowlevel error: JLINKARM_DLL_ERROR (ffffff9a)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If the mouse is not powered up I get a connection but I&amp;#39;m 99% sure it&amp;#39;s just connecting to the nRF52840 on the devkit since it doesn&amp;#39;t detect anything connected to the P19 connector.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;I&amp;#39;m not sure how to enter command line switches like readregs - is that something you can do from the GUI? If not, what folder is the executable located in on the computer so I can try it command line?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help getting the PCA20041 Gaming Mouse demo programmed and working</title><link>https://devzone.nordicsemi.com/thread/309573?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 16:17:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ccfbb16-403c-486c-8bc1-211209a8e07e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1) In SES, are using the nrf_desktop application project, and have selected the&amp;nbsp;nrf52840gmouse_nrf52840 board ?&lt;/p&gt;
&lt;p&gt;2) What NCS version are you using? v1.5.0 ?&lt;/p&gt;
&lt;p&gt;3) Is nrfjprog able to connect/communicate with&amp;nbsp;the board? Are you able to run the command &amp;quot;nrfjprog --readregs&amp;quot; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help getting the PCA20041 Gaming Mouse demo programmed and working</title><link>https://devzone.nordicsemi.com/thread/309570?ContentTypeID=1</link><pubDate>Wed, 12 May 2021 16:02:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b561e09-a123-49b1-9f5c-71d505d4cfb3</guid><dc:creator>Glen M</dc:creator><description>&lt;p&gt;More info: I also have the PCA20045 nRF52810 based desktop mouse and this morning I was able to program that one successfully using the same nRF52840-DK, cable, and debug adapter board.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So - it looks like my programming hardware and my basic use of the software tools is OK. It seems to be something about this gaming mouse. Are there special instructions to get it into a programmable state, like powering it through USB or not, or having the power switch in a certain position? I feel like I&amp;#39;ve tried all the combinations of that, but maybe not?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Glen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>