This somewhat restores usability by handling sp/ping_flash2 requests, but the program is currently fragile.