/** ============================================================================ * @file dsplink-dm6467-base.tci * * @path $(DSPLINK)/dsp/inc/DspBios/Davinci/DM6467/ * * @desc This file defines base configuration for DSP/BIOS LINK. * * @ver 1.50 * ============================================================================ * Copyright (c) Texas Instruments Incorporated 2002-2007 * * Use of this software is controlled by the terms and conditions found in the * license agreement under which this software has been supplied or provided. * ============================================================================ */ /* ============================================================================ * Load assert support * ============================================================================ */ utils.importFile("assert.tci"); params = { clockRate: 594, catalogName: "ti.catalog.c6000", deviceName: "DM6467", }; /* ============================================================================ * Load base TCI file. * ============================================================================ */ utils.loadPlatform("ti.platforms.generic", params); /* ============================================================================ * Enable common BIOS features used by all examples * ============================================================================ */ bios.disableRealTimeAnalysis(prog); bios.enableMemoryHeaps(prog); bios.disableRtdx(prog); bios.enableTskManager(prog); /* ============================================================================ * GBL * ============================================================================ */ prog.module("GBL").ENABLEALLTRC = false ; prog.module("GBL").PROCID = 0 ; prog.module("GBL").C64PLUSCONFIGURE = true ; prog.module("GBL").C64PLUSL1DCFG = "32k" ; prog.module("GBL").C64PLUSMAR128to159 = 0x00008000 ; /* ============================================================================ * MEM * ============================================================================ */ prog.module("MEM").STACKSIZE = 0x8000 ; /* ============================================================================ * MEM : DSPLINKMEM * ============================================================================ */ var DSPLINKMEM = prog.module("MEM").create("DSPLINKMEM"); DSPLINKMEM.base = 0x8FE00000; DSPLINKMEM.len = 0x100000; DSPLINKMEM.createHeap = false; DSPLINKMEM.comment = "DSPLINKMEM"; /* ============================================================================ * MEM : RESET_VECTOR * ============================================================================ */ var RESET_VECTOR = prog.module("MEM").create("RESET_VECTOR"); RESET_VECTOR.base = 0x8FF00000; RESET_VECTOR.len = 0x00000080; RESET_VECTOR.space = "code/data"; RESET_VECTOR.createHeap = false; RESET_VECTOR.comment = "RESET_VECTOR"; /* ============================================================================ * MEM : DDR * ============================================================================ */ var DDR = prog.module("MEM").create("DDR"); DDR.base = 0x8FF00080; DDR.len = 0x10000000; DDR.space = "code/data"; DDR.createHeap = true; DDR.heapSize = 0x80000; DDR.comment = "DDR"; /* ============================================================================ * Workaround for SDSCM00018346 - Timer frequency on DM6467 should be set * to ARM CPU/2 * ============================================================================ */ prog.module("CLK").SPECIFYRATE = true; prog.module("CLK").INPUTCLK = 148.5;