Part Number: TMS320F280025C
Other Parts Discussed in Thread: C2000WARE
Hi Team,
There's an issue from the customer need your help:
//cmd declaration :
FLASH_BANK0_SEC8 : origin = 0x088000, length = 0x001000 /* on-chip Flash */
FlashScopeRegsFile : > FLASH_BANK0_SEC8, type=NOINIT
//Data section and structure declarations
#pragma DATA_SECTION(scopeRegs,"FlashScopeRegsFile");
volatile FlashScopeRegs_S scopeRegs;
typedef struct FlashScopeRegs_S
{
CalibDataXYZW_S calib;
CHAR brightness;
LONG_INT temperature;
}FlashScopeRegs_S;
FlashScopeRegs_S a;
a.temperature = 37;
The value after writing is -1 and flash is not successful.
Could you help check this case? Thanks.
Best Regards,
Ben