资源简介
通过SCI引导模式将程序加载到设备的RAM中。 This application is intended to be loaded into the device's RAM via the SCI boot mode. After successfully loaded this program implements a modified version of the SCI boot protocol that allows a user application to be programmed into flash

代码片段和文件信息
//###########################################################################
//
// FILE: DSP2833x_SysCtrl.c
//
// title: DSP2833x Device System Control Initialization & Support Functions.
//
// DEscriptION:
//
// Example initialization of system resources.
//
//###########################################################################
// $TI Release: F2833x/F2823x Header Files and Peripheral Examples V142 $
// $Release Date: November 1 2016 $
// $Copyright: Copyright (C) 2007-2016 Texas Instruments Incorporated -
// http://www.ti.com/ ALL RIGHTS RESERVED $
//###########################################################################
#include “DSP2833x_Device.h“ // Headerfile Include File
#include “DSP2833x_Examples.h“ // Examples Include File
// Functions that will be run from RAM need to be assigned to
// a different section. This section will then be mapped to a load and
// run address using the linker cmd file.
#pragma CODE_SECTION(InitFlash “ramfuncs“);
//---------------------------------------------------------------------------
// InitSysCtrl:
//---------------------------------------------------------------------------
// This function initializes the System Control registers to a known state.
// - Disables the watchdog
// - Set the PLLCR for proper SYSCLKOUT frequency
// - Set the pre-scaler for the high and low frequency peripheral clocks
// - Enable the clocks to the peripherals
void InitSysCtrl(void)
{
// Disable the watchdog
DisableDog();
// Initialize the PLL control: PLLCR and DIVSEL
// DSP28_PLLCR and DSP28_DIVSEL are defined in DSP2833x_Examples.h
InitPll(DSP28_PLLCRDSP28_DIVSEL);
// Initialize the peripheral clocks
InitPeripheralClocks();
}
//---------------------------------------------------------------------------
// Example: InitFlash:
//---------------------------------------------------------------------------
// This function initializes the Flash Control registers
// CAUTION
// This function MUST be executed out of RAM. Executing it
// out of OTP/Flash will yield unpredictable results
void InitFlash(void)
{
EALLOW;
//Enable Flash Pipeline mode to improve performance
//of code executed from Flash.
FlashRegs.FOPT.bit.ENPIPE = 1;
// CAUTION
//Minimum waitstates required for the flash operating
//at a given CPU rate must be characterized by TI.
//Refer to the datasheet for the latest information.
#if CPU_FRQ_150MHZ
//Set the Paged Waitstate for the Flash
FlashRegs.FBANKWAIT.bit.PAGEWAIT = 5;
//Set the Random Waitstate for the Flash
FlashRegs.FBANKWAIT.bit.RANDWAIT = 5;
//Set the Waitstate for the OTP
FlashRegs.FOTPWAIT.bit.OTPWAIT = 8;
#endif
#if CPU_FRQ_100MHZ
//Set the Paged Waitstate for the Flash
FlashRegs.FBANKWAIT.bit.PAGEWAIT = 3;
//Set the Random Waitstate for the Flash
Flash
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-08-15 10:24 f28335_flash_kernel\
文件 168 2016-11-01 16:13 f28335_flash_kernel\.ccsproject
文件 16797 2016-11-01 16:13 f28335_flash_kernel\.cproject
文件 2596 2016-11-01 16:13 f28335_flash_kernel\.project
文件 2768 2016-11-01 16:13 f28335_flash_kernel\Boot.h
文件 12203 2016-11-01 16:13 f28335_flash_kernel\DSP2833x_SysCtrl.c
目录 0 2018-08-15 10:24 f28335_flash_kernel\Debug\
文件 18478 2016-11-01 16:13 f28335_flash_kernel\Debug\f28335_flash_kernel.txt
文件 4926 2016-11-01 16:13 f28335_flash_kernel\Exit_Boot.asm
文件 76026 2016-11-01 16:13 f28335_flash_kernel\Flash28335_API_V210.lib
文件 3239 2016-11-01 16:13 f28335_flash_kernel\Flash2833x_API_Config.h
文件 10026 2016-11-01 16:13 f28335_flash_kernel\Flash2833x_API_Library.h
文件 6076 2018-09-03 16:08 f28335_flash_kernel\SCI_Boot.c
文件 7096 2016-11-01 16:13 f28335_flash_kernel\Shared_Boot.c
文件 1249 2018-09-03 15:37 f28335_flash_kernel\main.c
- 上一篇:Flash28335_API_V210
- 下一篇:全桥移相电路PWM驱动程序
相关资源
- CCS5.05.1可使用的license
- dsp2812上128点FFTc程序以及其CMD文件
- DSP28335程序片内FLASH搬运至RAM运行的
- 基于DSP2812的以太网调试程序
- DSP与PC通讯的几种方法
- DSP 语音识别程序 DTW MFCC
- 创龙C66x平台GigE工业相机图像采集案例
- VC工程转Qt工程文件的工具
- 基于DSP的大功率开关电源的设计方案
- 基于DSP 56F801的正弦波输出DC/AC电源
- 基于DSP的大功率开关电源设计
- 基于ARM7和DSP的逆变电源设计电路
- 基于运动控制器MCK2407的无刷直流电机
- es(elasticsearch)整合SpringCloudSpringBo
- tms320c6748 DSP原理图 SCH PCB
- TMS320F280049最小系统原理图
- F280049C_CMPSS_01.zip
- 基于DSP的矿用静止无功发生器的研制
- 基于DSP的矿井提升机永磁同步电机D
- 基于DSP的SVPWM变频调速系统
- 基于DSP的下一代车载娱乐系统
- DSP控制器原理及其在运动控制系统中
- 北京交通大学-数字图像处理试卷+ 答
- 十字路口交通灯.pdsprj
- 用DSP Builder实现FIR滤波器
- TMS320C54X DSP结构、原理及应用(第二版
- DSP 28035 源码
- PCI总线接口与DSP的HPI接口
- 基于DSP交流伺服系统与CAN总线的通信
- 单片机与DSP中的基于DSP的FFT算法在无
评论
共有 条评论