教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 精品文档 > 资格考试 >

DSP2812 FLASH烧写(2)

来源:网络收集 时间:2026-01-31
导读: /* 2) In your project add the path to \\DSP281x_headers\\cmd to the library search path under project->build options, linker tab, library search path (-i). /*=========================================

/* 2) In your project add the path to \\DSP281x_headers\\cmd to the library search path under project->build options, linker tab, library search path (-i).

/*========================================================= */

MEMORY {

PAGE 0 :

/* For this example, H0 is split between PAGE 0 and PAGE 1 */ /* BEGIN is used for the \ */ /* RESET is loaded with the reset vector only if */ /* the boot is from XINTF Zone 7. Otherwise reset vector */ /* is fetched from boot ROM. See .reset section below */

RAMM0 : origin = 0x000000, length = 0x000400

BEGIN : origin = 0x3F8000, length = 0x000002 PRAMH0 : origin = 0x3F8002, length = 0x001500

/* PRAMH0 : origin = 0x3F8002, length = 0x000FFE */

RESET : origin = 0x3FFFC0, length = 0x000002

PAGE 1 :

/* For this example, H0 is split between PAGE 0 and PAGE 1 */

RAMM1 : origin = 0x000400, length = 0x000400 DRAMH0 : origin = 0x3f9502, length = 0x000AFE

/* DRAMH0 : origin = 0x3f9000, length = 0x001000 */ }

SECTIONS {

/* Setup for \

The codestart section (found in DSP28_CodeStartBranch.asm) re-directs execution to the start of user code. Place this section at the start of H0 */

codestart : > BEGIN, PAGE = 0

secureRamFuncs : > PRAMH0 PAGE = 0 .text : > PRAMH0, PAGE = 0

.cinit : > PRAMH0, PAGE = 0 .pinit : > PRAMH0, PAGE = 0 .switch : > RAMM0, PAGE = 0

.reset : > RESET, PAGE = 0, TYPE = DSECT /* not used, */

.stack : > RAMM1, PAGE = 1 .ebss : > DRAMH0, PAGE = 1

.econst : > DRAMH0, PAGE = 1 .esysmem : > DRAMH0, PAGE = 1

} /*

// TI File $Revision: /main/2 $

// Checkin $Date: April 28, 2005 15:19:56 $

//########################################################################### //

// FILE: F2812.cmd //

// TITLE: Linker Command File For F2812 Device //

//########################################################################### // $TI Release: DSP281x C/C++ Header Files V1.20 $ // $Release Date: July 27, 2009 $

//########################################################################### */

/* ====================================================== // For Code Composer Studio V2.2 and later // ---------------------------------------

// In addition to this memory linker command file,

// add the header linker command file directly to the project. // The header linker command file is required to link the // peripheral structures to the proper locations within // the memory map. //

// The header linker files are found in \\DSP281x_Headers\\cmd //

// For BIOS applications add: DSP281x_Headers_nonBIOS.cmd // For nonBIOS applications add: DSP281x_Headers_nonBIOS.cmd

========================================================= */

/* ====================================================== // For Code Composer Studio prior to V2.2

// --------------------------------------

// 1) Use one of the following -l statements to include the // header linker command file in the project. The header linker // file is required to link the peripheral structures to the proper

// locations within the memory map */

/* Uncomment this line to include file only for non-BIOS applications */ /* -l DSP281x_Headers_nonBIOS.cmd */

/* Uncomment this line to include file only for BIOS applications */ /* -l DSP281x_Headers_BIOS.cmd */

/* 2) In your project add the path to \\DSP281x_headers\\cmd to the library search path under project->build options, linker tab, library search path (-i).

/*========================================================= */

/* Define the memory block start/length for the F2812 PAGE 0 will be used to organize program sections PAGE 1 will be used to organize data sections

Notes:

Memory blocks on F2812 are uniform (ie same physical memory) in both PAGE 0 and PAGE 1. That is the same memory region should not be defined for both PAGE 0 and PAGE 1.

Doing so will result in corruption of program and/or data. */

MEMORY {

PAGE 0: /* Program Memory */

/* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE1 for data allocation */

ZONE0 : origin = 0x002000, length = 0x002000 /* XINTF zone 0 */ ZONE1 : origin = 0x004000, length = 0x002000 /* XINTF zone 1 */

RAML0 : origin = 0x008000, length = 0x001000 /* on-chip RAM block L0 */ ZONE2 : origin = 0x080000, length = 0x080000 /* XINTF zone 2 */ ZONE6 : origin = 0x100000, length = 0x080000 /* XINTF zone 6 */ OTP : origin = 0x3D7800, length = 0x000800 /* on-chip OTP */ FLASHJ : origin = 0x3D8000, length = 0x002000 /* on-chip FLASH */ FLASHI : origin = 0x3DA000, length = 0x002000 /* on-chip FLASH */

FLASHH : origin = 0x3DC000, length = 0x004000 /* on-chip FLASH */ FLASHG : origin = 0x3E0000, length = 0x004000 /* on-chip FLASH */ FLASHF : origin = 0x3E4000, length = 0x004000 /* on-chip FLASH */ FLASHE : origin = 0x3E8000, length = 0x004000 /* on-chip FLASH */ FLASHD : origin = 0x3EC000, length = 0x004000 /* on-chip FLASH */ FLASHC : origin = 0x3F0000, length = 0x004000 /* on-chip FLASH */ FLASHA : origin = …… 此处隐藏:5435字,全部文档内容请下载后查看。喜欢就下载吧 ……

DSP2812 FLASH烧写(2).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wendang/412126.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)