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

📄 evmdm6437.tcf

📁 详细说明:在evmdm6437上实现dsp与主机之间的通信实例
💻 TCF
字号:
/*
 *  ============================================================
 *  Copyright 2007 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *  ============================================================
 *  Automated Revision Information
 *  Changed: $Date: 2007-10-08 15:15:57 -0700 (Mon, 08 Oct 2007) $
 *  Revision: $Revision: 4192 $ 
 */
/* 
 *  ======== evmdm6437.tcf ========
 *
 *  Configuration Script for NDK benchmark application
 */

// Start with the generic evmDM6437
utils.loadPlatform("ti.platforms.evmDM6437");

// Load application specific configuration file
utils.importFile('../common/nonCopyTCPTestee.tci');

// Configure Board
bios.GBL.CALLUSERINITFXN    = 1;
bios.GBL.USERINITFXN        = prog.extern("dm6437_init");

// Check that stack size is big enough for the application
if (bios.MEM.STACKSIZE < 0x1000) {
    bios.MEM.STACKSIZE += 0x1000;
}

// Setup the L2 Cache and MAR bits
bios.GBL.C64PLUSL2CFG = "128k";
bios.GBL.C64PLUSMAR128to159 = 0x00000001;

// Create memory segment to contain external DDR HEAP only
bios.MEM.create("DDR_HEAP");
bios.MEM.instance("DDR_HEAP").base = 0x80000000;
bios.MEM.instance("DDR_HEAP").len = 0x00020000;
bios.MEM.instance("DDR_HEAP").createHeap = 1;
bios.MEM.instance("DDR_HEAP").heapSize = 0x00020000;

// Adjust DDR length and base to fit DDR_HEAP segment
bios.DDR2.base = 0x80020000;
bios.DDR2.len = 0x07FE0000;


// - Move all sections to DDR2 (external memory) 
bios.setMemCodeSections(prog, prog.get("DDR2"));
bios.setMemDataNoHeapSections(prog, prog.get("DDR2"));	    			

// - Move all heap sections to DDR_HEAP (external memory)
bios.setMemDataHeapSections(prog, prog.get("DDR_HEAP"));			

// Remove IRAM since we've set L2 to be cache
bios.IRAM.destroy();

// !GRAPHICAL_CONFIG_TOOL_SCRIPT_INSERT_POINT!

if (config.hasReportedError == false) {
    prog.gen();
}


⌨️ 快捷键说明

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