资源简介
第11届恩智浦智能小车摄像头组国赛程序源码.

代码片段和文件信息
//-------------------------------------------------------------------------*
// 文件名:start.c *
// 说 明: CPU启动后进行系统配置 *
//-------------------------------------------------------------------------*
//头文件
#include “common.h“
#include “wdog.h“
#include “sysinit.h“
#pragma section = “.data“
#pragma section = “.data_init“
#pragma section = “.bss“
#pragma section = “CodeRelocate“
#pragma section = “CodeRelocateRam“
//内部函数声明
//-------------------------------------------------------------------------*
//函数名: common_startup *
//功 能: 复制中断向量表到RAM中 *
//参 数: 无 *
//说 明: 将ROM中的初始化数据拷贝到RAM中 *
//-------------------------------------------------------------------------*
void common_startup(void);
//-------------------------------------------------------------------------*
//函数名: start *
//功 能: 系统启动 *
//参 数: 无 *
//说 明: 无 *
//-------------------------------------------------------------------------*
void start(void)
{
//关闭看门狗
wdog_disable();
//复制中断向量表到RAM中
common_startup();
//系统设置
sysinit();
//进入主函数
main();
}
//-------------------------------------------------------------------------*
//函数名: common_startup *
//功 能: 复制中断向量表到RAM中 *
//参 数: 无 *
//说 明: 将ROM中的初始化数据拷贝到RAM中 *
//-------------------------------------------------------------------------*
void common_startup(void)
{
/* Declare a counter we‘ll use in all of the copy loops */
uint32 n;
/* Addresses for VECTOR_TABLE and VECTOR_RAM come from the linker file */
extern uint32 __VECTOR_TABLE[];
extern uint32 __VECTOR_RAM[];
/* Copy the vector table to RAM */
if (__VECTOR_RAM != __VECTOR_TABLE)
{
for (n = 0; n < 0x410; n++)
__VECTOR_RAM[n] = __VECTOR_TABLE[n];
}
/* Point the VTOR to the new copy of the vector table */
write_vtor((uint32)__VECTOR_RAM);
/* Get the addresses for the .data section (initialized data section) */
uint8* data_ram = __section_begin(“.data“);
uint8* data_rom = __section_begin(“.data_init“);
uint8* data_rom_end = __section_end(“.data_init“);
/* Copy initialized data from ROM to RAM */
n = data_rom_end - data_rom;
while (n--)
*data_ram++ = *data_rom++;
/* Get the addresses for the .bss section (zero-initialized data) */
uint8* bss_start = __section_begin(“.bss“);
uint8* bss_
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-07-11 16:03 西部赛\
目录 0 2016-07-12 12:06 西部赛\十一届摄像头\
文件 167 2015-12-26 14:56 西部赛\十一届摄像头\11届摄像头.eww
文件 72385 2015-12-26 14:56 西部赛\十一届摄像头\Backup of freescale ten.ewd
文件 60842 2015-12-26 14:56 西部赛\十一届摄像头\Backup of freescale ten.ewp
目录 0 2016-07-11 16:03 西部赛\十一届摄像头\Debug\
目录 0 2016-07-12 12:06 西部赛\十一届摄像头\Debug\Exe\
文件 390304 2016-07-12 12:06 西部赛\十一届摄像头\Debug\Exe\freescale ten.out
文件 57215 2016-07-12 12:06 西部赛\十一届摄像头\Debug\Exe\freescale ten.sim
文件 157292 2016-07-12 12:06 西部赛\十一届摄像头\Debug\Exe\freescale ten.srec
目录 0 2016-07-12 12:06 西部赛\十一届摄像头\Debug\List\
文件 117706 2016-07-12 12:06 西部赛\十一届摄像头\Debug\List\Control.lst
文件 71230 2016-07-12 12:06 西部赛\十一届摄像头\Debug\List\Control.s
文件 24019 2016-07-12 01:41 西部赛\十一届摄像头\Debug\List\DriveInit.lst
文件 15768 2016-07-12 01:41 西部赛\十一届摄像头\Debug\List\DriveInit.s
文件 74729 2016-07-12 01:41 西部赛\十一届摄像头\Debug\List\FireSCCB.lst
文件 44143 2016-07-12 01:41 西部赛\十一届摄像头\Debug\List\FireSCCB.s
文件 47600 2016-07-12 01:41 西部赛\十一届摄像头\Debug\List\FreeCars.lst
文件 30751 2016-07-12 01:41 西部赛\十一届摄像头\Debug\List\FreeCars.s
文件 50782 2015-12-26 14:56 西部赛\十一届摄像头\Debug\List\HAL_ADC.lst
文件 34049 2015-12-26 14:56 西部赛\十一届摄像头\Debug\List\HAL_ADC.s
文件 51245 2016-05-02 13:03 西部赛\十一届摄像头\Debug\List\HAL_SPI.lst
文件 35935 2016-05-02 13:03 西部赛\十一届摄像头\Debug\List\HAL_SPI.s
文件 407458 2015-12-26 14:56 西部赛\十一届摄像头\Debug\List\LCD.lst
文件 230882 2015-12-26 14:56 西部赛\十一届摄像头\Debug\List\LCD.s
文件 74068 2015-12-26 14:56 西部赛\十一届摄像头\Debug\List\LQ12864.lst
文件 21696 2016-07-12 01:41 西部赛\十一届摄像头\Debug\List\MK60_FTM.lst
文件 15927 2016-07-12 01:41 西部赛\十一届摄像头\Debug\List\MK60_FTM.s
文件 2478 2015-12-30 14:12 西部赛\十一届摄像头\Debug\List\MK60_port.lst
文件 2541 2015-12-30 14:12 西部赛\十一届摄像头\Debug\List\MK60_port.s
文件 30432 2016-05-02 13:03 西部赛\十一届摄像头\Debug\List\MK60_spi.lst
............此处省略437个文件信息
相关资源
- 飞思卡尔单片机MC9S12XS12G128驱动(硬件
- 飞思卡尔68HC08Metrowerks_CodeWarrior开发软
- 飞思卡尔单片机.s19文件方法详解
- 滤波-卡尔曼滤波-互补滤波
- 实现飞思卡尔两轮智能车的直立芯片
- 飞思卡尔智能车摄像头组
- 飞思卡尔编程入门菜鸟教程
- 飞思卡尔所有的算法
- 飞思卡尔电磁程序
- 飞思卡尔kl25参考程序
- 飞思卡尔小车仿真软件
- CCP源码、驱动和协议详解 包含了飞思
- 飞思卡尔 摄像头 可跑程序 完整的国
- 第十三届电磁组程序 -.rar
- 飞思卡尔软件教程资料
- 飞思卡尔智能车入门资料大全.7z
- 飞思卡尔HCS08中文手册
- 飞思卡尔KEA128核心系统原理图和封装
- 飞思卡尔MC9S08DZ60单片机学习板说明书
- 飞思卡尔P2020平台介绍
- 飞思卡尔各种芯片功详解
- 飞思卡尔BTN7971双电机驱动模块
- 飞思卡尔MPC5125参考手册
- 飞思卡尔S12系列单片机系统硬件设计
- 飞思卡尔MC9S12单片机完整版说明书(
- 破解版Visualscope及其使用方法,直立车
- MC9S12DG128各模块例程飞思卡尔
- 飞思卡尔MC9S12XS128---编程指导---自己积
- 飞思卡尔智能车技术报告
- 飞思卡尔智能车电磁采样装置PCB图
评论
共有 条评论