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

📄 dsk6455.tcf

📁 在dsk6455开发平台上实现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 $ 
 */
/* 
 *  ======== dsk6455.tcf ========
 *
 *  Configuration Script for NDK benchmark application
 */

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

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

// Board Specifics
bios.GBL.CALLUSERINITFXN    = 1;
bios.GBL.USERINITFXN        = prog.extern("c6455_init");

/* Set up L2 Cahce Size and set MAR to make DDR2 cache-able */
bios.GBL.C64PLUSL2CFG = "256k";
bios.GBL.C64PLUSMAR224to255 = 0xffffffff;

// Create memory segment to contain external DDR heap only
bios.MEM.create("DDR_HEAP");
bios.MEM.instance("DDR_HEAP").base = 0xe0000000;
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 = 0xe0020000;
bios.DDR2.len = 0xFFE00000;

/* Reduce IRAM to fit Cache size */
bios.MEM.instance("IRAM").len = 0x001c0000;

// - 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"));


// !GRAPHICAL_CONFIG_TOOL_SCRIPT_INSERT_POINT!

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

⌨️ 快捷键说明

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