<?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>External nRF52840 board appears to flash but won&amp;#39;t do anything</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97341/external-nrf52840-board-appears-to-flash-but-won-t-do-anything</link><description>I&amp;#39;m attempting to develop for the xiao_ble board in nRF Connect, programming it as an external board using the nRF52840 development kit and the Seeed XIAO expansion board to access the relevant pins. I have the wiring set up like so: 
 
 And it appears</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Aug 2023 11:54:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97341/external-nrf52840-board-appears-to-flash-but-won-t-do-anything" /><item><title>RE: External nRF52840 board appears to flash but won't do anything</title><link>https://devzone.nordicsemi.com/thread/440485?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2023 11:54:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:337877e7-9ca5-47df-b854-a61fc582aba7</guid><dc:creator>Droidik</dc:creator><description>&lt;p&gt;Thank everyone for&amp;nbsp;solving it. This bugged me for a whole day and the only change I did was&amp;nbsp;update the Zephyr version. This should be mentioned in the docs, because the default behavior has changed between Zephyr versions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External nRF52840 board appears to flash but won't do anything</title><link>https://devzone.nordicsemi.com/thread/417028?ContentTypeID=1</link><pubDate>Thu, 23 Mar 2023 11:41:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2900066a-c453-4ccc-b9f5-a74c86803a3d</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Nice,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m happy that it worked for you!&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External nRF52840 board appears to flash but won't do anything</title><link>https://devzone.nordicsemi.com/thread/416938?ContentTypeID=1</link><pubDate>Wed, 22 Mar 2023 23:27:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f36db5b-d0db-4542-a7c6-ffbf7b98202f</guid><dc:creator>ZacMid007</dc:creator><description>&lt;p&gt;Changing those 2 parameters worked! Thanks for your help :)&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1679527893528v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External nRF52840 board appears to flash but won't do anything</title><link>https://devzone.nordicsemi.com/thread/414947?ContentTypeID=1</link><pubDate>Mon, 13 Mar 2023 14:21:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e198db41-017f-4450-bfe8-257f596fdeb1</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is the memory layout from building blinky for my nRF52840 devkit:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1678714362669v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Which is similar to the last one you&amp;#39;ve shared.&lt;/p&gt;
[quote user="ZacMid007"]&lt;p&gt;his is the blinky build file (zephyr.hex) for the xiao_ble&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;cursor:zoom-in;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/6330.pastedimage1678396213876v1.png" /&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Looks like the application expects something else to be flashed at the beginning of flash. Looking at the dts file of the board, it looks like the board expects the softdevice from nRF5SDK to be flashed:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1678717163532v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;It seems to me that this board was originally made for the nRF5SDK. Can you clarify whether this is correct with the creators of the board?&lt;/p&gt;
&lt;p&gt;Also, you can try to build and flash the application to the board without&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BUILD_OUTPUT_UF2&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_USE_DT_CODE_PARTITION&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Which are defined in the board config.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;regards&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Jared&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External nRF52840 board appears to flash but won't do anything</title><link>https://devzone.nordicsemi.com/thread/414498?ContentTypeID=1</link><pubDate>Thu, 09 Mar 2023 21:03:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:653b0c8e-164b-47d2-9e62-592b8d604049</guid><dc:creator>ZacMid007</dc:creator><description>&lt;p&gt;I had a look using the nRF Programmer, and the two build files for the boards appear very different; this is the blinky build file (zephyr.hex) for the xiao_ble&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1678396213876v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Whereas this is the blinky zephyr.hex file for the dev kit, which runs successfully on said dev kit:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1678396276073v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have also made &lt;a href="https://forum.seeedstudio.com/t/programming-xiao-nrf52840-using-nrf-connect-and-devkit-j-link/269035"&gt;a post&lt;/a&gt;&amp;nbsp;on the Seeed forum about this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External nRF52840 board appears to flash but won't do anything</title><link>https://devzone.nordicsemi.com/thread/414282?ContentTypeID=1</link><pubDate>Thu, 09 Mar 2023 07:33:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c14a36a-e812-40d7-9914-2c2144cc9a71</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I think it would better if you contacted the creators behind this board as it&amp;#39;s a third-party board. From the Nordic side, I can&amp;#39;t say that I see any signs of error since the programming verifies that it was successfully flashed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External nRF52840 board appears to flash but won't do anything</title><link>https://devzone.nordicsemi.com/thread/414245?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2023 20:37:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70ddaab8-0a87-460a-adfd-846f3485c0f5</guid><dc:creator>ZacMid007</dc:creator><description>&lt;p&gt;No, the initial blinking was only from the Arduino sketch/flash before attempting to use nRF Connect. After flashing from nRFC, I am unable to further program using Arduino and the previously working program appears to be erased.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External nRF52840 board appears to flash but won't do anything</title><link>https://devzone.nordicsemi.com/thread/414092?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2023 11:17:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8d0a30e-cf76-4582-bd90-4abbebb26fb9</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The log from the programming doesn&amp;#39;t really output any errors so it seems like everything is fine from the programming perspective. What is actually happening on the custom board is difficult to say as I don&amp;#39;t have any experience with it.&amp;nbsp;&lt;/p&gt;
[quote user="ZacMid007"]and when I first checked the device using Arduino in the initial test, it blinked fine when powered from the expansion board/connected as shown.[/quote]
&lt;p&gt;Can you elaborate on this? Have you been able to flash the board with the blinky example before and see that the LEDs on the board starts blinking? Are you still able to repeat this result?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External nRF52840 board appears to flash but won't do anything</title><link>https://devzone.nordicsemi.com/thread/413974?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 23:53:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8f5206f-5b2f-4b07-8e9e-11d11c4a02a6</guid><dc:creator>ZacMid007</dc:creator><description>&lt;p&gt;Yes, I can confirm that I am not flashing the development kit IC; disconnecting VDD/VTG and GND Detect, and flashing the blink example (after building for the correct board), I saw the dev kit start blinking; I recovered the device (it stopped blinking), reconnected VDD/VTG and GND Detect, flashed again and this time it did not blink. When attempting to program the XIAO board I ensure that the correct build for the board is selected.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;None of the LED pins on the XIAO board are accessible to probe, unfortunately, but I am confident that the correct GPIO port/pin is being referenced in the code after cross-checking all respective documents, and when I first checked the device using Arduino in the initial test, it blinked fine when powered from the expansion board/connected as shown.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External nRF52840 board appears to flash but won't do anything</title><link>https://devzone.nordicsemi.com/thread/413732?ContentTypeID=1</link><pubDate>Tue, 07 Mar 2023 08:55:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7231f0b-1a07-44c5-97b1-174288137d8b</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you double check that you aren&amp;#39;t flashing the nRF52840 on the development kit instead, is the LED on the development kit blinking after you&amp;#39;ve flashed the application? The easiest way to check this is to erase the nRF52840 on the development kit before trying to flash the external board. If the nRF52840 on the DK starts blinking, then you know that you&amp;#39;re in fact flashing the onboard IC instead of the external board.&lt;/p&gt;
&lt;p&gt;Can you measure directly on the pad of the custom board that is assigned to the blinky pin and see if you can measure the blinking signal?&lt;/p&gt;
&lt;p&gt;regards&lt;br /&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External nRF52840 board appears to flash but won't do anything</title><link>https://devzone.nordicsemi.com/thread/413639?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2023 20:14:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f83fb53-f6b5-4510-a4c8-c19aec28456e</guid><dc:creator>ZacMid007</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;1. Yes, when attempting to discover the board as a COM port I connect it via its USB-C connector; out of the packet, the board registers as a COM port when connected this way,&amp;nbsp;I guess because of the Arduino bootloader it ships with.&lt;/p&gt;
&lt;p&gt;2:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1678133506446v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;3: Yes, that is what I am using to develop and flash the board; I only used the Arduino IDE to initially verify the board was working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: External nRF52840 board appears to flash but won't do anything</title><link>https://devzone.nordicsemi.com/thread/413484?ContentTypeID=1</link><pubDate>Mon, 06 Mar 2023 11:18:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:546fb4dc-2ec5-4b1b-a193-08138dc1cf13</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Have you connected the serial interface of the custom board to your computer? Since you expect it to show up as a COM port?&lt;/li&gt;
&lt;li&gt;Can you share the log output when you flash the board?&lt;/li&gt;
&lt;li&gt;Have you tried using the NCS VS Code extension instead of Arduino IDE?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>