Tool/software: Code Composer Studio
Hello
when i run my program on debug ,it's do as what i want to do.
After OTP,the program seem dies in the following code:
EEPROM_CRC = EEPROM_CALCULATE_CRC;
while(EEPROM_CRC_STATUS & EEPROM_CRC_CHECK_IN_PROGRESS)
{
; /* Wait till EEPROM CRC check in progress */
}
EEPROM_Read(128, 0, &EEPROM_Buf[0]);
When i delete these code ,ignore the register of EEPROM_CRC_STATUS anywhere.
I read correct on the latter bytes of eeprom array,error on the former bytes of eeprom array;
what different between debug mode and otp mode is running the code immediately after power on;
what should I do with the register of EEPROM_CRC_VALUE, after write 8 bytes data to eeprom .
write a new crc to EEPROM_CRC_VALUE or ignore it (the chip write to it by itself)?