DFU Trigger Library (USB) is indicated that only for nRF52840 SoC. For other SoCs, can I use it after some modification of the library easily? What's the limits?
DFU Trigger Library (USB) is indicated that only for nRF52840 SoC. For other SoCs, can I use it after some modification of the library easily? What's the limits?
What other SoCs do you have in mind? The nRF52840 comes with a hardware USB 2.0 port which the USB DFU Trigger relies on. I don't believe any of the other nRF52 modules comes with a hardware USB port, and thus, you cannot emulate the DFU Trigger Interface on these SoCs.
So are you saying this is just a board limitation? Assuming I want to design a dongle version for nRF52833. How much effort to make the DFU trigger library work for nRF52833. I assume it should trivial but want to confirm.
I can see that the nRF52833 does indeed have USB, so I guess it should be possible to make the DFU Trigger library work on this SoC. Maybe take a look at https://devzone.nordicsemi.com/f/nordic-q-a/59638/no-matching-pca-to-use-with-my-nrf52833-dk-which-has-a-pca10100 to see how you should modify examples to fix the nRF52833.
The DFU trigger library was designed for the PCA10059 where the application code can trigger a pin reset using a normal GPIO pin. It's the only thing special about it. You can easily use this library for the nrf52833 board that has the same kind connection from a GPIO pin to the reset pin on the PCB.