DOWNLOAD_PENDING
APB_WRITE(DOWNLOAD_STATUS_REG, DOWNLOAD_PENDING);
if (val32 != DOWNLOAD_PENDING) {
if (val32 != DOWNLOAD_PENDING)