<?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>How to control led using pwm during dfu mode (when dfu programming is on going)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41991/how-to-control-led-using-pwm-during-dfu-mode-when-dfu-programming-is-on-going</link><description>Hi There, 
 How to control led using pwm during dfu mode (when dfu programming is on going). 
 HW:PCA10056 
 SW: nRF5_SDK_15.2.0_9412b96 
 Example: ble_app_buttonless_dfu</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Dec 2020 15:51:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41991/how-to-control-led-using-pwm-during-dfu-mode-when-dfu-programming-is-on-going" /><item><title>RE: How to control led using pwm during dfu mode (when dfu programming is on going)</title><link>https://devzone.nordicsemi.com/thread/282926?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2020 15:51:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcc21dfc-da36-424f-b1a6-52dd23175210</guid><dc:creator>Antonio</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/simon"&gt;Simon Ferres&lt;/a&gt; I did exactly what you said, integrate the led_softblink to my secure_bootloader_ble. So the pwm is working ok, the leds behave as in the open_bootloader example but, once i connect with the nrf tool and try to do a DFU, the chip resets.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using SDK 15.2, SD: 132 and the nrf52832&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to control led using pwm during dfu mode (when dfu programming is on going)</title><link>https://devzone.nordicsemi.com/thread/164471?ContentTypeID=1</link><pubDate>Tue, 08 Jan 2019 09:43:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f38688cf-096a-4b09-9d76-56c230da4271</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I think it is just to add it to the main function of your program, look at an example with LED&amp;#39;s controlled by PWM and add it to your project. The dfu activity is dependent on BLE events passed to &lt;em&gt;ble_event_handler()&amp;nbsp;&lt;/em&gt;in &lt;em&gt;nrf_dfu_ble.c, &lt;/em&gt;and will execute in the background.&lt;/p&gt;
&lt;p&gt;The &lt;em&gt;open_bootloader_usb_mbr&amp;nbsp;&lt;/em&gt;example implement LED&amp;#39;s controlled by PWM (look at &lt;em&gt;led_softblink.c&lt;/em&gt;) if that is of interests.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>