Skip to content

simulator: also test doing the revert jump after having done the erase/write #2169

@nordicjm

Description

@nordicjm

At present, the jump out of the revert tests happens when an erase or write is about to happen, however when developing the swap using offset algorithm, it was noticed (on a real board) that if the device was reset after the final sector erase but before the function returned to the loader.c file, upon reboot MCUboot failed to read the image headers and boot failed. Therefore, it would also be good to have a mirrored fail with revert setup whereby the requested write/erase is allowed then the simulated reboot occurs, which would allow for tested these sorts of edge cases

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions