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
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
I think it is just to add it to the main function of your program, look at an example with LED's controlled by PWM and add it to your project. The dfu activity is dependent on BLE events passed to ble_event_handler() in nrf_dfu_ble.c, and will execute in the background.
The open_bootloader_usb_mbr example implement LED's controlled by PWM (look at led_softblink.c) if that is of interests.
Best regards,
Simon
Hi Simon Ferres 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.
I'm using SDK 15.2, SD: 132 and the nrf52832