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.
在dsp烧录过程中:Flash_Program(Uint16 *FlashAddr, Uint16 *BufAddr, Uint32 Length, FLASH_ST *FProgStatus);
Length是什么意思?是一次烧录的数据长度,Length越大烧录的时间越短?Length大到有没有上限?最小值是1,比如下面的列子:
1、 Flash_ptr = Sector[2].StartAddr;
for(j=0;j<1024;j++)
{
Status = Flash_Program(Flash_ptr,&j,1,&FlashStatus);
}
2、
for(i=0;i<0x100;i++)
{
Buffer[i] = 0x100+i;
}
Flash_ptr = Sector[1].StartAddr;
Length = 0x400;
Status = Flash_Program(Flash_ptr,Buffer,Length,&FlashStatus);