文件名称:Basic_FW_Setup-500002
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 256kb
- 下载次数:
- 0次
- 提 供 者:
- Shi***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
概要
本文档介绍了如何对FUJITSU F2MC-8FX家族MB95200H/210H系列进行固件设置。
本文档同时介绍了初始化程序,堆栈指针(SP),直接存储区指针(DP),时钟控制以及待机控制。
MCU--/* THIS SAMPLE CODE IS PROVIDED AS IS AND IS SUBJECT TO ALTERATIONS. FUJITSU*/
/* MICROELECTRONICS ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR*/
/* ELIGIBILITY FOR ANY PURPOSES. */
/* (C) Fujitsu Microelectronics (Shanghai) Co., LTD. */
/* Date:20080320 Version:1V0 Author:Lori */
/*---------------------------------------------------------------------------
NAME: MAIN.C
FUNCTION: Change the system clock and lighten three LED
LED flicker frequency different in different clock
******************************************************************************/
#include "mb95200.h"
#define MAIN 0x00
#define SUB 0x01
#define MAIN_CR 0x02
#define SUB_CR 0x03
unsigned char switchclock = MAIN //select the start clock
unsigned char toggle_status //LED change bit
unsigned char i
/******************************************************************************
NAME: MCU initializat
本文档介绍了如何对FUJITSU F2MC-8FX家族MB95200H/210H系列进行固件设置。
本文档同时介绍了初始化程序,堆栈指针(SP),直接存储区指针(DP),时钟控制以及待机控制。
MCU--/* THIS SAMPLE CODE IS PROVIDED AS IS AND IS SUBJECT TO ALTERATIONS. FUJITSU*/
/* MICROELECTRONICS ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR*/
/* ELIGIBILITY FOR ANY PURPOSES. */
/* (C) Fujitsu Microelectronics (Shanghai) Co., LTD. */
/* Date:20080320 Version:1V0 Author:Lori */
/*---------------------------------------------------------------------------
NAME: MAIN.C
FUNCTION: Change the system clock and lighten three LED
LED flicker frequency different in different clock
******************************************************************************/
#include "mb95200.h"
#define MAIN 0x00
#define SUB 0x01
#define MAIN_CR 0x02
#define SUB_CR 0x03
unsigned char switchclock = MAIN //select the start clock
unsigned char toggle_status //LED change bit
unsigned char i
/******************************************************************************
NAME: MCU initializat
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Basic_FW_Setup-500002
.....................\Clock_Change
.....................\............\Clock_Change.dat
.....................\............\Clock_Change.prj
.....................\............\Clock_Change.wsp
.....................\............\Debug
.....................\............\.....\ABS
.....................\............\.....\...\Clock_Change.abs
.....................\............\.....\...\Clock_Change.mhx
.....................\............\.....\Clock_Change.sup
.....................\............\.....\LST
.....................\............\.....\...\Clock_Change.mp1
.....................\............\.....\OBJ
.....................\............\.....\...\Main.obj
.....................\............\.....\...\Main.stk
.....................\............\.....\...\mb95200.obj
.....................\............\.....\...\startup.obj
.....................\............\.....\...\vectors.obj
.....................\............\.....\...\vectors.stk
.....................\............\.....\...\_f2mc8fx.obj
.....................\............\.....\...\_f2mc8fx.stk
.....................\............\.....\OPT
.....................\............\.....\...\Clock_Change.opa
.....................\............\.....\...\Clock_Change.opb
.....................\............\.....\...\Clock_Change.opc
.....................\............\.....\...\Clock_Change.opl
.....................\............\.....\...\Clock_Change.opv
.....................\............\.....\SF_clcok.sup
.....................\............\scr
.....................\............\...\ioreg.txt
.....................\............\...\ioregj.txt
.....................\............\...\ioregj_a.txt
.....................\............\...\ioreg_a.txt
.....................\............\...\Main.c
.....................\............\...\mb95200.h
.....................\............\...\mb95200_a.inc
.....................\............\...\startup.asm
.....................\............\...\vectors.c
.....................\............\...\_f2mc8fx.c
.....................\............\...\_f2mc8fx.h
.....................\............\...\_f2mc8fx_a.asm
.....................\MB95200 head files
.....................\..................\ioreg.txt
.....................\..................\ioregj.txt
.....................\..................\ioregj_a.txt
.....................\..................\ioreg_a.txt
.....................\..................\mb95200.h
.....................\..................\mb95200_a.inc
.....................\..................\_f2mc8fx.c
.....................\..................\_f2mc8fx.h
.....................\..................\_f2mc8fx_a.asm
.....................\Mode_Change
.....................\...........\Debug
.....................\...........\.....\ABS
.....................\...........\.....\...\Mode_Change.abs
.....................\...........\.....\...\Mode_Change.mhx
.....................\...........\.....\LST
.....................\...........\.....\...\Main.lst
.....................\...........\.....\...\Mode_Change.mp1
.....................\...........\.....\...\Mode_Change.mpm
.....................\...........\.....\...\Mode_Change.mps
.....................\...........\.....\...\Mode_Change.mpx
.....................\...........\.....\...\vectors.lst
.....................\...........\.....\Mode_Change.sup
.....................\...........\.....\OBJ
.....................\...........\.....\...\Main.obj
.....................\...........\.....\...\Main.stk
.....................\...........\.....\...\mb95200.obj
.....................\...........\.....\...\startup.obj
.....................\...........\.....\...\vectors.obj
.....................\...........\.....\...\vectors.stk
.....................\...........\.....\...\_f2mc8fx.obj
.....................\...........\.....\...\_f2mc8fx.stk
.....................\...........\.....\OPT
.....................\...........\.....\...\Mode_Change.opa
.....................\...........\.....\...\Mode_Change.opb
.....................\...........\.....\...\Mode_Change.opc
.....................\...........\.....\...
.....................\Clock_Change
.....................\............\Clock_Change.dat
.....................\............\Clock_Change.prj
.....................\............\Clock_Change.wsp
.....................\............\Debug
.....................\............\.....\ABS
.....................\............\.....\...\Clock_Change.abs
.....................\............\.....\...\Clock_Change.mhx
.....................\............\.....\Clock_Change.sup
.....................\............\.....\LST
.....................\............\.....\...\Clock_Change.mp1
.....................\............\.....\OBJ
.....................\............\.....\...\Main.obj
.....................\............\.....\...\Main.stk
.....................\............\.....\...\mb95200.obj
.....................\............\.....\...\startup.obj
.....................\............\.....\...\vectors.obj
.....................\............\.....\...\vectors.stk
.....................\............\.....\...\_f2mc8fx.obj
.....................\............\.....\...\_f2mc8fx.stk
.....................\............\.....\OPT
.....................\............\.....\...\Clock_Change.opa
.....................\............\.....\...\Clock_Change.opb
.....................\............\.....\...\Clock_Change.opc
.....................\............\.....\...\Clock_Change.opl
.....................\............\.....\...\Clock_Change.opv
.....................\............\.....\SF_clcok.sup
.....................\............\scr
.....................\............\...\ioreg.txt
.....................\............\...\ioregj.txt
.....................\............\...\ioregj_a.txt
.....................\............\...\ioreg_a.txt
.....................\............\...\Main.c
.....................\............\...\mb95200.h
.....................\............\...\mb95200_a.inc
.....................\............\...\startup.asm
.....................\............\...\vectors.c
.....................\............\...\_f2mc8fx.c
.....................\............\...\_f2mc8fx.h
.....................\............\...\_f2mc8fx_a.asm
.....................\MB95200 head files
.....................\..................\ioreg.txt
.....................\..................\ioregj.txt
.....................\..................\ioregj_a.txt
.....................\..................\ioreg_a.txt
.....................\..................\mb95200.h
.....................\..................\mb95200_a.inc
.....................\..................\_f2mc8fx.c
.....................\..................\_f2mc8fx.h
.....................\..................\_f2mc8fx_a.asm
.....................\Mode_Change
.....................\...........\Debug
.....................\...........\.....\ABS
.....................\...........\.....\...\Mode_Change.abs
.....................\...........\.....\...\Mode_Change.mhx
.....................\...........\.....\LST
.....................\...........\.....\...\Main.lst
.....................\...........\.....\...\Mode_Change.mp1
.....................\...........\.....\...\Mode_Change.mpm
.....................\...........\.....\...\Mode_Change.mps
.....................\...........\.....\...\Mode_Change.mpx
.....................\...........\.....\...\vectors.lst
.....................\...........\.....\Mode_Change.sup
.....................\...........\.....\OBJ
.....................\...........\.....\...\Main.obj
.....................\...........\.....\...\Main.stk
.....................\...........\.....\...\mb95200.obj
.....................\...........\.....\...\startup.obj
.....................\...........\.....\...\vectors.obj
.....................\...........\.....\...\vectors.stk
.....................\...........\.....\...\_f2mc8fx.obj
.....................\...........\.....\...\_f2mc8fx.stk
.....................\...........\.....\OPT
.....................\...........\.....\...\Mode_Change.opa
.....................\...........\.....\...\Mode_Change.opb
.....................\...........\.....\...\Mode_Change.opc
.....................\...........\.....\...