stmflash correctly resets