support TARGET_OTA_ASSERT_DEVICE