Make sure you upgrade the different parts in the correct order (DWC should be the last one to do)
So main Firmware then the WiFi server (If applicable) then the DWC if you upgrade the DWC to a version that is not compatible with the FW then you will have to revert to doing it with Bossac or Sam-ba depending on the board
HTH
Doug