Yes, the bootloader always verifies the flash.
It's PSoC 63 device mounted inside CYBLE-416045-02 module. The bootloading architecture of PSoC 6 device is different from the one of PSoC 4. DFU middleware is adopted for PSoC 6 device, instead of bootloader/bootloadable component.
To get start with P6 DFU function flow, you may refer to the following AN doc - https://www.cypress.com/file/385706/download, in which how to cerate a bootloader/bootloable project with a target device is introduced.
Hello, I just want to confirm this:
The DFU verifies the flash on startup.
However, does this mean I have to enable the DFU under build settings, or will it do the verification automatically even if I don't?
If I have to include it, do I need to call functions to check it?
Sorry for the delay.
Genarelly, the flash would be verified during the firmware programming. Can you let me know the reason you need the verify process?
It looks not worthy to eable DFU functionality just merely for this purpose.