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.

TMS320F280025C: 我自定义的数据,写不进FLASH,求问一下前辈和TI技术专家。

Part Number: TMS320F280025C
Other Parts Discussed in Thread: C2000WARE

//cmd文件声明 :

FLASH_BANK0_SEC8  : origin = 0x088000, length = 0x001000 /* on-chip Flash */

FlashScopeRegsFile               : > FLASH_BANK0_SEC8, type=NOINIT

//数据段与结构体声明

#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; 写完后值还是-1,FLASH没有成功