Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
I am using the sample bootloader code provided by TI.
To test the functionality I am trying to validate that the EEPROM functions are correctly programming the EEPROM
I have a 32 byte test pattern I am trying to program into address 0x8000.
I am using the following utility:
oReturnCheck = Fapi_BlockProgram( 0, 0x8000, (unsigned long)&g_pulUpdateSuccess, g_ulUpdateBufferSize);
and have tested the following (seem to work correctly)
size = BLInternalFlashFirstSectorSizeGet(); returns 0x4000
size = BLInternalFlashSizeGet(); returns 0x400000
check = BLInternalFlashStartAddrCheck(0x8000, 32); returns 0 - (its in Bank 0 which holds the bootloader and app)
I also tried the Fapi_doVerify() test which correctly identifies the failed programing and correctly provided the correct bad bytes.
The utility identifies that it is correctly processing the request without error, however the Code Composer memory view is showing that the EEPROM has not been modified.
Are there any other steps or utilities that have to be done to enable writing to the EEPROM (sorry, FLASH program memory)?