Beacon code and reboot trigger to support USB reflashing