<?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>[bug] usb dfu transport does not work if nrf_drv_power_init() was already called</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70991/bug-usb-dfu-transport-does-not-work-if-nrf_drv_power_init-was-already-called</link><description>nRF5 SDK version 17.0.2 
 
 In usb_dfu_transport_init we have this: 
 
 If the nrf_drv_power driver was already initialized, this will return NRF_ERROR_MODULE_ALREADY_INITIALIZED and the transport initialization will fail. 
 
 app_usbd_init already calls</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Jan 2021 14:34:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70991/bug-usb-dfu-transport-does-not-work-if-nrf_drv_power_init-was-already-called" /><item><title>RE: [bug] usb dfu transport does not work if nrf_drv_power_init() was already called</title><link>https://devzone.nordicsemi.com/thread/291824?ContentTypeID=1</link><pubDate>Thu, 28 Jan 2021 14:34:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d2c8222-8e23-494f-a41c-1bf8120f0c22</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you refer to the&amp;nbsp;&lt;span&gt;&amp;lt;InstallFolder&amp;gt;\examples\dfu\secure_bootloader\pca10056_usb, you would see it use&amp;nbsp;usb_dfu_transport_init&amp;nbsp;to initial the nrf_drv_power and related drivers. It doesn&amp;#39;t expect that the user initializes the nrf_drv_power driver before it. Or maybe it should check whether the driver is initialized in the&amp;nbsp;usb_dfu_transport_init. Thanks for pointing out that.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>