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.

EEPROM_TM4c1236h6pge_problem

Other Parts Discussed in Thread: TM4C123GH6PGE

Hi ,

i m using internal eeprom of the tm4c123gh6pge. when running the individually with break point, data is writing to the memory address. but when im integrating to my project code is stops at eepromprogram function. if i debud step by step its coming out from that function. im placing breakpoint also.  

FlashErase(0x10010);

 FlashProgram(pui32Data, 0x10010, sizeof(pui32Data));

GPIOPinWrite(GPIO_PORTF_BASE,GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_3, 0x02);

SysCtlDelay(SysCtlClockGet()/(100*3));

SysCtlPeripheralEnable(SYSCTL_PERIPH_EEPROM0);

EEPROMInit();
EEPROMMassErase();
EEPROMRead(pui32Read, 0x0, sizeof(pui32Read));
EEPROMProgram(pui32Data, 0x0, sizeof(pui32Data));
EEPROMRead(pui32Read, 0x0, sizeof(pui32Read));
GPIOPinWrite(GPIO_PORTF_BASE,GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_3, 0x04);