I use nRF52810 + 15.3.0 s112 to develop. After the equipment upgrade is successful, I power up the equipment again, and the equipment is always in DFU mode.
I use nRF52810 + 15.3.0 s112 to develop. After the equipment upgrade is successful, I power up the equipment again, and the equipment is always in DFU mode.
Hi,
The bootloader will enter DFU mode if there is no valid application, or if DFU mode is indicated by one of the supported methods.
If I understand correctly, a DFU update has just completed successfully. Therefore, I suspect either that the application modifies the flash within the region that is used to calculate the CRC of the application, making the bootloader think it is corrupt, or that the bootloader is told to enter DFU mode, for instance by a (floating?) GPIO pin configured to indicate DFU mode.
The most efficient way to start debugging such issues is usually to flash the debug version of the bootloader, which includes RTT logging. Depending on the size of your application that may or may not be possible, but I suggest you try that first to narrow down the issue.
Thank you, I'll try your method.
After reducing the size of the application,I burned the debug version of the bootloader.Then the problem disappeared.
Aha, I see.