Tool/software: TI-RTOS
Hi,
We are getting abort error when programming a part for the TIVA C memory.
TI-RTOS Version:2.16.01.14
Our application has 2 blocks of memory for use data(16KB each),
We are able to program 1st block of the memory(0x000200000) without any problem,
but with the 2nd block(0x00024000),the programming gets aborted.
Just for the testing we implement the FlashErase() into the main program
and tried to step execute inside FlashErase() and the program gets aborted in the below code.
// Erase the block.
//
HWREG(FLASH_FMA) = ui32Address;
HWREG(FLASH_FMC) = FLASH_FMC_WRKEY | FLASH_FMC_ERASE;
//
// Wait until the block has been erased.
//
while(HWREG(FLASH_FMC) & FLASH_FMC_ERASE)
{
}
****gets aborted here*****
//
// Return an error if an access violation or erase error occurred.
//
if(HWREG(FLASH_FCRIS) & (FLASH_FCRIS_ARIS | FLASH_FCRIS_VOLTRIS |
FLASH_FCRIS_ERRIS))
{
return(-1);
}
Please let me know if there is any suggestion to troubleshoot this issue.
Best Regards
Paddu