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

📄 blinkdsk5402.cmd

📁 基于ti 5402dsk的flashburn程序。
💻 CMD
字号:
/*******************************************************************************
 * Copyright 2004-2005 - Software Design Solutions, Inc.  All rights reserved.
 *
 * Portions of this work have been provided under license with Texas 
 * Instruments Inc.
 * 
 * $RCSfile: BlinkDSK5402.cmd,v $
 * $Revision: 1.3 $
 * 
 * Restrictions :    The memory definitions MUST be preserved:
 *                   VECTORS, XFER, SCRATCH, XFERHDR and FIFO.
 *                   FIFO is important for proper function of
 *                   the HPI implemented fifo.
 ******************************************************************************/

-stack 0x0400           /* do not change */
-heap  0x0400

-o BlinkDSK5402.out 
-m BlinkDSK5402.map

MEMORY
{
    /* scratch memory */     
    PAGE 0 : SCRATCH ( RW )   :  o = 0x0060,  l = 0x0020

    /* stack space */
    STACK   ( RW )   :  o = 0x0080,  l = 0x0080
  
    /* reserve 0x300 words for comm kernel */      
    XFER    ( RWXI ) :  o = 0x0100,  l = 0x0300

    /* reserve 0x3a words for kernel header */      
    XFERHDR ( RWI )  :  o = 0x0400,  l = 0x003a

    /* reserve 0x46 words for fifo */      
    FIFO    ( RWI )  :  o = 0x043a,  l = 0x0046

    /* interrupt vectors */
    VECTORS ( RWXI ) :  o = 0x0480,  l = 0x0080

    /* on-chip ram 5402 & 5410 */
    DATA1   ( RWI )  :  o = 0x0500,  l = 0x3b00  

    /* 5410 only */
    DATA2   ( RWI )  :  o = 0x4000,  l = 0x4000

    /* external SRAM */  
    EXTRAM  ( RWI )  :  o = 0x8000,  l = 0x8000
}

SECTIONS
{
   .trap        : load = 0x0078 PAGE 0
   .vectors     : > VECTORS align 0x80 PAGE 0
   .fifo        : > FIFO        PAGE 0
   .text        : > DATA1       PAGE 0
   .cinit       : > DATA1       PAGE 0
   .cio         : > DATA1       PAGE 0
   .switch      : > DATA1       PAGE 0
   .bss         : > DATA1       PAGE 0
   .const       : > DATA1       PAGE 0
   .sysmem      : > DATA1       PAGE 0
   .stack       : > DATA1       PAGE 0
}

⌨️ 快捷键说明

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