<?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>Bootloader Question</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111642/bootloader-question</link><description>Hello, 
 We have just developed a custom PCB with the nRF52840 as the main microcontroller. 
 It is my understanding that these chips when populated from our distributor (Digikey), they do not come with a bootloader on them. 
 This is probably a stupid</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 May 2024 19:35:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111642/bootloader-question" /><item><title>RE: Bootloader Question</title><link>https://devzone.nordicsemi.com/thread/486517?ContentTypeID=1</link><pubDate>Wed, 29 May 2024 19:35:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8411b5c9-62f9-4ac7-84ea-3b79e9680bb8</guid><dc:creator>khelmutlord</dc:creator><description>&lt;p&gt;The nRF52840 does not have any USB bootloader by default. A nice!nano for instance uses the Adafruit bootloader above. It should be flashed through SWD.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you have the SWDIO and SWCLK pins connected?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Question</title><link>https://devzone.nordicsemi.com/thread/486511?ContentTypeID=1</link><pubDate>Wed, 29 May 2024 18:48:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a495966-3530-4977-a1f0-78fb8d87b5db</guid><dc:creator>Mounty1095</dc:creator><description>&lt;p&gt;Hi Helmut,&lt;/p&gt;
&lt;p&gt;What needs to be done to cause the chip to enter &amp;quot;bootloader&amp;quot; mode and have it appear as a USB drive on Windows PC since it is a bare chip? Pressing reset twice as per instructions from nrf52840-DK does not cause the device to appear as a USB drive.&lt;/p&gt;
&lt;p&gt;Is it because the reset pin (P0.18) is not configured as reset pin by default on a bare chip?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Question</title><link>https://devzone.nordicsemi.com/thread/486498?ContentTypeID=1</link><pubDate>Wed, 29 May 2024 14:57:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e189d55c-0b8c-4431-acd9-d67660721dba</guid><dc:creator>khelmutlord</dc:creator><description>&lt;p&gt;Hello Mike,&lt;/p&gt;
&lt;p&gt;You are correct--since they are bare, unprogrammed chips they will not have a bootloader (MCUboot or the Adafruit .uf2 bootloader, for instance).&lt;/p&gt;
&lt;p&gt;You could create your own build of the Adafruit .uf2 bootloader for your specific board or enable MCUboot in your project.&lt;/p&gt;
&lt;p&gt;For Adafruit:&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://github.com/adafruit/Adafruit_nRF52_Bootloader"&gt;https://github.com/adafruit/Adafruit_nRF52_Bootloader&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you intend to update via UART, USB (using SMP), or BLE please check out lesson 8 of the intermediate course on DevAcademy.&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/topic/bootloader-basics/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/topic/bootloader-basics/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To actually program your boards, you can use the onboard debugger on any Nordic devkit. For info on programming with a 52840-DK, for instance, check here:&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ug_nrf52840_dk/page/UG/dk/hw_debug_out.html"&gt;https://docs.nordicsemi.com/bundle/ug_nrf52840_dk/page/UG/dk/hw_debug_out.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note: for security, I would steer you in the direction of MCUboot since you are able to cryptographically sign the images that are downloaded to your device.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;/p&gt;
&lt;p&gt;Helmut Lord&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>