wolfBoot icon indicating copy to clipboard operation
wolfBoot copied to clipboard

wolfBoot_update_trigger: Fix double-write-after-erase in NVM...WRITEONCE

Open danielinux opened this issue 9 months ago • 0 comments

when wolfBoot_update_trigger is called on a device with NVM_ write-once workaround, it will cause an illegal second write to flash to set the UPDATING flag.

Instead, write the flag and the trailer in NVM_CACHE before committing to the flash.

Reported in zd19815

danielinux avatar May 20 '25 14:05 danielinux