Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
Hi,
I read the data from the flash. But the data isn't correct. The following is the function that read data from Section Z.
#pragma CODE_SECTION(Flash_Read, "ramfuncs");
void Flash_Read(uint16 *Reci_Buffer)
{
uint8 i;
uint16 *Reci_Buffer32=(uint16 *)Bzero_SectorZ_start;
uint16 Reci_Data;
for(i=0;i<=WORDS_IN_FLASH_BUFFER;i++){
Reci_Data=*(Reci_Buffer32+i);
*(Reci_Buffer+i)=Reci_Data;
}
}
The value of *(Reci_Buffer32+i) is 0xffff that can display in watch windows. But the Reci_Data is change to 0x7fff. I don't know the reason why cause this issue. I appreciate if you can give me some suggestion. Thanks.
