diff --git a/CanUds.c b/CanUds.c index 8943344..85689eb 100644 --- a/CanUds.c +++ b/CanUds.c @@ -998,9 +998,9 @@ static uint16_t vUDS_routine_Erase_Memory(tCanUds *env, eUdsRoutineControlType u setResponseErrorPending(env, UDS_RoutineControl, UDS_error_requestCorrectlyReceived_ResponsePending); - bool result = env->clear_flash_func(0x01100000, 512 * 1024); +// bool result = env->clear_flash_func(0x01100000, 768 * 1024); -// bool result = FLASHDRIVER_FlashEraseBlock(FLASH_BLOCK_SELECT1); + bool result = FLASHDRIVER_FlashEraseBlock(FLASH_BLOCK_SELECT1); if (result) { env->dataResponse[4] = UDS_routine_RoutineStartStopSuccess;