⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 build-test.tcf

📁 dsp 5509a MMC 卡 ID号读取 12Mhzx16=192M
💻 TCF
字号:
/*
 *  ======== build-post.tcf ========
 *
 * To create post.cdb:
 *
 * 1)  Open a Windows command prompt window and cd to the root of your Code
 *     Composer installation directory (normally c:\ti).  Type dosrun in the
 *     command prompt window to execute dosrun.bat which adds the Code
 *     Composer command line utilities to your automatic search path.
 *
 * 2)  Modify the prog.load statement below to reflect the location of your
 *     Code Composer installation directory if it is not in c:\ti.
 *
 * 3)  Execute the following command in your command prompt window:
 *
 *     tconf build-post.tcf
 */

/* Load 5509 seed file */
prog.load("c:/ti/c5500/bios/include/c5509.cdb");

/* Get program objects */
utils.getProgObjs(prog);

/* Set memory model to large mode */
GBL.MEMORYMODEL = "LARGE";

/* Create SDRAM memory section */
SDRAM = MEM.create("SDRAM");
SDRAM.base = 0x020000;
SDRAM.len = 0x1e0000;
SDRAM.createHeap = 0;

/* Create Flash memory section */
FLASH = MEM.create("Flash");
FLASH.base = 0x200000;
FLASH.len = 0x1f0000;
FLASH.createHeap = 0;

/* Create CPLD memory section */
CPLD = MEM.create("CPLD");
CPLD.base = 0x3f0000;
CPLD.len = 0x10000;
CPLD.createHeap = 0;

/* Change DSP parameters for 5509A at 192 MHz */
GBL.CLKOUT = 192.0;
GBL.CHIPTYPE = "5509a";
GBL.CLKMD = 0x2812

/* Insert timer ISR */
HWI_INT22.fxn = prog.extern("sleepIsr");
HWI_INT22.useDispatcher = 1;

/* Generate .cdb file */
prog.gen("test");

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -