2007-04-25 09:08 PM
How to be shure that the flash bank erase unprotected ?
2011-05-17 12:42 AM
2011-05-17 12:42 AM
sorry
// Check if all sectors are unprotected *(vuint16*)(0) = 0x90; // RSIG comand i = *(vuint16*)(0 + 0x10) & 0x00ff; *(vuint16*)(0) = 0xFF; // Leave RSIG mode if (i) return (1); // Not unprotected return(0); I want to check if the bank0(after remaping)(0x80000) is unprotected. What is wrong with this code. Or how to check if the bank0 unprotected?