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

📄 2407_pm.cmd

📁 ti的dsp芯片2407的无刷直流电机控制程序
💻 CMD
字号:
/******************************************************************************/
/* File Name: 2407_PM.cmd */
/* Description: Linker command file to place user code (vectors & .text) */
/* sections beginning at 0000h of external program memory (in MP mode). */
/* This file should be modified if it is desired to load code in B0 memory or */
/* if on-chip SARAM is to be used. This example file is applicable for 2407A. */
/* It needs to be modified to make it suitable for other devices. */
/******************************************************************************/
MEMORY
{
     PAGE 0:  /* PROGRAM MEMORY */
        VECS: origin=0h, length=0040h  /* PROGRAM */  
        PASWD: origin=0040h, length=4h
        PM: origin=0044h, length=07FBCh /* 32K On-chip flash memory */
        SARAM_P: origin=08000h, length=0800h /* 2K SARAM in program space */
        EX1_PM: origin=8800h, length=7700h /* External RAM */
        B0_PM: origin=0FF00h, length=0100h /* On-chip DARAM if CNF=1, else */
               /* external */
               /* B0 = FF00 to FFFF */
     PAGE 1: /* DATA MEMORY */
        REGS: origin=0h, length=60h /* Memory mapped regs & reservd address */
        BLK_B2: origin=60h, length=20h /* Block B2 */
        BLK_B0: origin=200h, length=100h /* Block B0, On-chip DARAM if CNF=0 */
        BLK_B1: origin=300h , length=100h /* Block B1 */
        SARAM_D: origin=0800H , length=0800H /* 2K SARAM in data space */
        PERIPH: origin=7000h , length=1000h /* Peripheral register space */
        EX2_DM: origin=8000h , length=8000h /* External data RAM */
     PAGE 2: /* I/O MEMORY */
        IO_EX: origin=0000h , length=0FFF0h /* External I/O mapped peripherals */
        IO_IN: origin=0FFF0h, length=0Fh /* On-chip I/O mapped peripherals */
}
SECTIONS
{
     .vectors: {} > VECS PAGE 0          /* INTERRUPT VECTOR TABLE */
     .text: {} > PM PAGE 0               /* CODE */
     .bss: {} > BLK_B1 PAGE 1            
     .data: {} > PM PAGE 0            /* INITIALIZATION DATA TABLES */
     .stack: {} > BLK_B0 PAGE 1  
     .context: {} > BLK_B2 PAGE 1 
}

⌨️ 快捷键说明

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