This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Flash memory is getting erased randomly

Other Parts Discussed in Thread: UNIFLASH, TM4C129DNCPDT

Hi,

I am using TM4C129DNCPDT with XDS200 USB emulator. When i try to erase the flash memory on the board it gets erased randomlyi.e Even if i use the option "Erase entire flash" on UNIFLASH GUI, and i try to write my new binary in to the flash memory, it gives me data verification failed error.

For Example : I am trying to write my applications binary to address 0x6000 but it gives me error "Data verfification failed at address 0x8000.." something like this. I thought that there may be some data at location 0x8000 present, so i erased the complete sector by specifying the particular address range of the sector i.e from 0x4000(start address of the sector) to 0x7fffc(end address of the sector). After that i tried to write my application's binary again from address 0x4004, but i again got same error.

I was getting the error while writing to any of the locations greater than 0x4000.

I am not getting why the entire flash doesn't get erased? I am also not getting why "data verification failed.."  error appears if i am trying to write the data after erasing entire flash.

Also I would like to know about address locatios which i can erase in one go and can write my binary any time i want.

Thanks in advance.