I am using DFU source code for nucleo board available in STM32F2Cube.I have generated .dfu file from existing GPIO code. but when i am upgrading the dfu file into nucleo board it is showing as upgrade successful and after clicking on leave DFU mode it is indicating successfully left DFU mode but it is again coming back to DFU mode.
I am using
-SW4STM32 for generating binary/hex
-while converting from bin to dfu i am giving address as 0x08008000