推荐星级:
  • 1
  • 2
  • 3
  • 4
  • 5

TMS32F2812的串口升级程序bootloader

更新时间:2019-02-21 21:50:12 大小:5M 上传用户:liuzhemin22查看TA发布的资源 标签:tms32f2812串口升级程序bootloader 下载积分:9分 评价赚积分 (如何评价?) 打赏 收藏 评论(1) 举报

资料介绍

//#pragma CODE_SECTION (main, ".basic_rom")

int main()

{

InitSysCtrl();

DINT;

IER = 0x0000;

IFR = 0x0000;

InitPieCtrl();

InitPieVectTable();

        InitSci();    

EALLOW;// This is needed to write to EALLOW protected registers

PieVectTable.RXAINT = &UaraARev_ISR;//接收中断程序地址

PieVectTable.USER12 = &OSCtxSw;//用户中断地址

EDIS;   // This is needed to disable write to EALLOW protected registers


/*开中断*/

IER |= M_INT9;

EINT;   // Enable Global interrupt INTM

ERTM;// Enable Global realtime interrupt DBGM

#if 1

//判断是否有上位机在查询握手

//while(1);

if(PCCom()==0)

{

asm("     TRAP #31");

}

#endif


DINT;


for(idex=0;idex<3000;idex++)

{

mainDelays(100);

}



//mainDelays(0xefff);

//mainDelays(0xefff);

initLCM();

InitMainBoardLed();//初始化主控板的LED


WriteTextTEST("Sys Updataing    %",1);

EINT;



idex=0;

//checkSDRAM();

FlickerCount=0;

idex=0;

RateData=0;


CmdStatus=0;


#ifndef DEBUG

Flash_MemCopy(&Flash28_API_LoadStart,&Flash28_API_LoadEnd,&Flash28_API_RunStart);

#endif

Flash_CPUScaleFactor=SCALE_FACTOR;

        ...

}

部分文件列表

文件名文件大小修改时间
Bios/BIOS_WRITE/DPS2812M_common/cmd/F2810.cmd7KB2003-09-11 10:35:00
Bios/BIOS_WRITE/DPS2812M_common/cmd/F2812.cmd8KB2003-09-11 10:34:50
Bios/BIOS_WRITE/DPS2812M_common/cmd/F2812EzDSP_IQmath.cmd2KB2002-06-21 11:10:56
Bios/BIOS_WRITE/DPS2812M_common/cmd/F2812LASER_DEBUG.cmd4KB2014-01-06 09:58:40
Bios/BIOS_WRITE/DPS2812M_common/cmd/F2812LASER_FLASH.cmd5KB2014-01-03 17:46:36
Bios/BIOS_WRITE/DPS2812M_common/cmd/F2812LASER_FLASH.cmd.bak7KB2008-07-31 16:41:40
Bios/BIOS_WRITE/DPS2812M_common/cmd/F2812_EzDSP_RAM_lnk.cmd4KB2009-07-23 16:35:36
Bios/BIOS_WRITE/DPS2812M_common/cmd/F2812_XintfBoot.cmd7KB2003-09-11 10:34:00
Bios/BIOS_WRITE/DPS2812M_common/include/DSP281x_DefaultIsr.h5KB2003-09-11 10:35:56
Bios/BIOS_WRITE/DPS2812M_common/include/DSP281x_Examples.h3KB2003-09-11 10:35:48
Bios/BIOS_WRITE/DPS2812M_common/include/DSP281x_GlobalPrototypes.h2KB2003-09-11 10:35:40
...

全部评论(1)

上传资源 上传优质资源有赏金

  • 打赏
  • 30日榜单

推荐下载