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.

关于320F2812的flash读写的疑问咨询

Other Parts Discussed in Thread: SPRC125

您好!关于2812的在线读写flash有几个问题咨询:

1、使用TI官方的API函数,在调用如下三个函数的过程中。是否系统自动关闭了所有的中断?还是需要调用函数前,首先做关闭中断操作?

extern Uint16 Flash_Erase(Uint16 SectorMask, FLASH_ST *FEraseStat);
extern Uint16 Flash_Program(volatile Uint16 *FlashAddr, volatile Uint16 *BufAddr, Uint32 Length, FLASH_ST *FProgStatus);
extern Uint16 Flash_Verify(volatile Uint16 *StartAddr, volatile Uint16 *BufAddr, Uint32 Length, FLASH_ST *FVerifyStat);

2、官方的“回调函数,EALLOW;Flash_CallbackPtr”,是如何使用的?回调函数的调用频率是多少?应该如何看待回调函数与中断相应?

3、官方提供的extern Uint16 Flash_Verify(volatile Uint16 *StartAddr, volatile Uint16 *BufAddr, Uint32 Length, FLASH_ST *FVerifyStat);是否已经完成了对于写入flash内容的自动校验过程?而不需要用户再自定义校验?