Note1: [d714de] is just reference as HEAD, at 2021-04-30. Note2: Current (buggy) implementation reading from/writing to $ffff on the wrong slot. the slot number is (current | target), instead of the target.
ENASLT fails when try to switch page 2 from slot 2 to 1-1.
[fixed] I posted "...Sorry, the patch seems somethnig wrong" 10 minutes ago here,...
...Sorry, the patch seems somethnig wrong.
This patch may help you.
I agree with xwize. And the solution is very simple, just remove 'program.check_validate()'...