On my board, the current is about 40ua if I burn the hex file directly, but after I use the hex file to make a dual image bin file and burn it into my board, the current will be about 500ua.
I can't find the problem, could you please give me some suggestions or solutions?
Thank you very much!
Device:
Hi suwenping,
I suppose that you are burning the flash with the dual image and the secondary bootloader and you are booting from Flash. Have you checked if the Flash is turned on and keeps your power supply high ? Try to boot from your flash and then issue a power down command.
Thanks MT_dialog
Yes, I burn the flash with the dual image and the secondary bootloader and I am booting form flash.
And I checked the status, I found it did not go into sleep. But if I burn the hex file directly, it can go into sleep.
And I also tried to change some code, then burned the dual image and the secondary bootloader, the current can be low, then I tried to ota, the data can be transmitted successfully, but can not be burn into flash.
Hi suwenping,
The most probable reason is that the timing of the flash. The extra current you see should be the flash. If you are using SUOTA and the operation starts but it fails right after it tries to access the memory (meaning that you see the first data to be transmitted but when its time to write them to the flash the operation fails) then your flash is powered down.
Thanks MT_dialog