1. A method for data processing in an integrated circuit having cells, the cells adapted for executing programs, comprising: running a first program; in response to a waiting condition during which no program execution is able to take place, saving data from the cells to a memory; running a second program after the data is saved; and reloading the saved data into the cells after running the second program; wherein the second program tests the cells to detect a defective cell.