德州儀器DSP開發(fā)常見問題寶典
iFlashAddr++;
WriteFlash(iFlashAddr,0x7f00);
iFlashAddr++;
WriteFlash(iFlashAddr,0x0002);
iFlashAddr++;
WriteFlash(iFlashAddr,0x8000);
iFlashAddr++;
for (iLoop=0;iLoop《0x7f00;iLoop++)
{
asm(“ pshm al”);
asm(“ pshm ah”);
asm(“ rsbx cpl”);
asm(“ ld #00fch,dp”);
asm(“ stm #0000h, ah”);
asm(“ MVDM _iLoop, al”);
asm(“ add #2800h,4,a”);
asm(“ reada 0h”);
asm(“ popm ah”);
asm(“ popm al”);
asm(“ ssbx cpl”);
WriteFlash(iFlashAddr,*pTemp);
iFlashAddr++; }
WriteFlash(iFlashAddr,0x0080);
iFlashAddr++;
WriteFlash(iFlashAddr,0x0000);
iFlashAddr++;
WriteFlash(iFlashAddr,0x0080);
iFlashAddr++;
for (iLoop=0;iLoop《0x0080;iLoop++) {
評論