91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

基于DSP的IAP在線軟件燒寫升級,通過串口SCI來燒寫升級程序,程序仍然是從flash啟動不需要跳線,內含例程代碼,可以參考。

資源截圖

代碼片段和文件信息

//###########################################################################
//?FILE:???blinky_c28.c
//?title:??blinky?Example?for?F28M35x.
//
//?Dual?Core?blinky?Example.??This?example?demonstrates?how?to?run?a?
//?implement?a?standalone?application?on?both?cores.??Due?to?an?errate?in?
//?the?bootROM?this?example?may?not?run?correctly?with?the?debugger?connected.
//?To?run?the?example?program?both?cores?with?their?respective?project?and?
//?then?disconnect?the?debugger.??Set?SW3?switch?1?to?the?down?position
//?(disconnect?TRSTn)?as?well?as?setting?all?4?switches?on?SW1?to?the?down?
//?position.??Cycle?power?and?both?LEDs?should?begin?to?blink.
//
//###########################################################################
//?$TI?Release:?F28M35x?Support?Library?v150?$
//?$Release?Date:?Mon?Sep?17?09:14:32?CDT?2012?$
//###########################################################################

#include?“DSP28x_Project.h“?????//?Device?Headerfile?and?Examples?Include?File
#include?
#include?“F28M35x_Ipc_drivers.h“
//?add?by?me
#define?C28Update?(void???(*)(void))0x0013e000??//0013a000
#define?IPC_Update_COM???0x00003238

#define?C28_FREQ????150?????????//CPU?frequency?in?MHz

#ifdef?_FLASH
//?These?are?defined?by?the?linker?(see?device?linker?command?file)
extern?Uint16?RamfuncsLoadStart;
extern?Uint16?RamfuncsLoadSize;
extern?Uint16?RamfuncsRunStart;
#endif

void?main(void)
{
???unsigned?long?delay;
//?Step?1.?Initialize?System?Control:
//?PLL?WatchDog?enable?Peripheral?Clocks
//?This?example?function?is?found?in?the?F28M35x_SysCtrl.c?file.
????InitSysCtrl();

//?Step?2.?Initialize?GPIO:
//?This?example?function?is?found?in?the?F28M35x_Gpio.c?file?and
//?illustrates?how?to?set?the?GPIO?to?it‘s?default?state.
????InitGpio();?//?Skipped?for?this?example
????EALLOW;
????GpioG1CtrlRegs.GPCDIR.bit.GPIO70?=?1;?
????EDIS;
????GpioG1DataRegs.GPCDAT.bit.GPIO70?=?1;//?turn?off?LED
//?Step?3.?Clear?all?interrupts?and?initialize?PIE?vector?table:
//?Disable?CPU?interrupts
????DINT;

#ifdef?_FLASH????
//?Copy?time?critical?code?and?Flash?setup?code?to?RAM
//?This?includes?the?following?functions:?InitFlash();
//?The??RamfuncsLoadStart?RamfuncsLoadEnd?and?RamfuncsRunStart
//?symbols?are?created?by?the?linker.?Refer?to?the?device?.cmd?file.
???memcpy(&RamfuncsRunStart?&RamfuncsLoadStart?(size_t)&RamfuncsLoadSize);?
???
//?Call?Flash?Initialization?to?setup?flash?wait?states
//?This?function?must?reside?in?RAM
????InitFlash();???????
#endif

//?Initialize?the?PIE?control?registers?to?their?default?state.
//?The?default?state?is?all?PIE?interrupts?disabled?and?flags
//?are?cleared.
//?This?function?is?found?in?the?F28M35x_PieCtrl.c?file.
????InitPieCtrl();

//?Disable?CPU?interrupts?and?clear?all?CPU?interrupt?flags:
????IER?=?0x0000;
????IFR?=?0x0000;

//?Initialize?the?PIE?vector?table?with?pointers?to?the?shell?Interrupt
//?Service?Routines?(ISR).
//?This?will?populate?the?entire?table?even?if?the?interrupt
//?is?not?used?in?this?example.

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-01-31?04:31??F28M35?Programming\
?????目錄???????????0??2013-01-31?04:31??F28M35?Programming\28m35?SCI?Programing?GUI\
?????文件??????????42??2012-11-02?14:40??F28M35?Programming\28m35?SCI?Programing?GUI\AFile.aliases
?????文件??????????83??2012-11-01?00:31??F28M35?Programming\28m35?SCI?Programing?GUI\AFile.lvlps
?????文件????????3955??2012-11-01?00:31??F28M35?Programming\28m35?SCI?Programing?GUI\AFile.lvproj
?????文件???????55105??2012-10-21?01:01??F28M35?Programming\28m35?SCI?Programing?GUI\AFile.vi
?????文件????????4218??2012-09-13?16:12??F28M35?Programming\28m35?SCI?Programing?GUI\C28blinkingLED.hex
?????文件???????33919??2012-10-21?00:41??F28M35?Programming\28m35?SCI?Programing?GUI\Hex.vi
?????文件???????14032??2012-09-05?19:30??F28M35?Programming\28m35?SCI?Programing?GUI\Lab3.a00
?????文件???????12836??2012-09-14?16:34??F28M35?Programming\28m35?SCI?Programing?GUI\M3Setup.hex
?????文件???????????0??2013-01-31?04:31??F28M35?Programming\28m35?SCI?Programing?GUI\open?by?LabVIEW?8.6.txt
?????目錄???????????0??2013-01-31?04:30??F28M35?Programming\APP_blinky_c28\
?????文件?????????398??2012-09-27?11:17??F28M35?Programming\APP_blinky_c28\.ccsproject
?????文件???????11858??2012-09-17?09:15??F28M35?Programming\APP_blinky_c28\.cdtbuild
?????文件???????11858??2012-09-27?11:17??F28M35?Programming\APP_blinky_c28\.cdtbuild_initial
?????文件?????????677??2012-09-17?09:15??F28M35?Programming\APP_blinky_c28\.cdtproject
?????文件???????22108??2012-10-20?15:32??F28M35?Programming\APP_blinky_c28\.cproject
?????文件????????4731??2012-09-27?21:18??F28M35?Programming\APP_blinky_c28\.project
?????文件????????2416??2012-09-27?11:17??F28M35?Programming\APP_blinky_c28\.project_initial
?????目錄???????????0??2013-01-31?04:30??F28M35?Programming\APP_blinky_c28\.settings\
?????文件??????????89??2012-09-17?09:15??F28M35?Programming\APP_blinky_c28\.settings\org.eclipse.cdt.codan.core.prefs
?????文件?????????151??2012-09-17?09:15??F28M35?Programming\APP_blinky_c28\.settings\org.eclipse.cdt.debug.core.prefs
?????文件????????1293??2012-09-17?09:15??F28M35?Programming\APP_blinky_c28\.settings\org.eclipse.cdt.managedbuilder.core.prefs
?????文件?????????232??2012-09-17?09:15??F28M35?Programming\APP_blinky_c28\.settings\org.eclipse.core.resources.prefs
?????文件????????4189??2012-10-20?23:50??F28M35?Programming\APP_blinky_c28\blinky_dc_c28.c
?????文件????????8410??2012-10-19?11:24??F28M35?Programming\APP_blinky_c28\F28M35x_generic_C28_FLASH.cmd
?????目錄???????????0??2013-01-31?04:30??F28M35?Programming\APP_blinky_c28\Flash\
?????文件???????12307??2012-10-20?23:50??F28M35?Programming\APP_blinky_c28\Flash\app_blinky_c28.hex
?????文件???????31005??2012-10-20?23:50??F28M35?Programming\APP_blinky_c28\Flash\app_blinky_c28.map
?????文件??????194696??2012-10-20?23:50??F28M35?Programming\APP_blinky_c28\Flash\app_blinky_c28.out
?????文件???????12464??2012-10-20?15:31??F28M35?Programming\APP_blinky_c28\Flash\app_blinky_c28.txt
............此處省略149個文件信息

評論

共有 條評論