//------------------------------------------------------------------------
// Readme.txt
//------------------------------------------------------------------------
This project stationery is designed to get you up and running
quickly with CodeWarrior for MC9S12DG128B.
It is set up for the selected CPU and target connection,
but can be easily modified.
Sample code for the following language(s) is at your disposal:
- C
The wizard has prepared CodeWarrior target(s) with the connection methods
of your choice:
- Freescale Full Chip Simulation:
Select this connection to use the HCS12\HCS12X Full Chip Simulation.
This connection also allows to use the Freescale Instruction Set Simulator.
In case Full Chip Simulation for the selected derivative is not available,
a basic Full Chip Simulation is available.
- TBDML:
This Connection allows to debug with the TBDML BDM cable.
Additional connections can be chosen in the simulator/debugger,
use the menu Component > Set Target.
//------------------------------------------------------------------------
// Getting Started
//------------------------------------------------------------------------
To build/debug your project, use the menu Project > Debug or press F5.
This will open the simulator/debugger.
Press again F5 in the debugger (or menu Run > Start/Continue) to start
the application. The menu Run > Halt or F6 stops the application.
In the debugger menu Component > Open you can load additional components.
//------------------------------------------------------------------------
// Project structure
//------------------------------------------------------------------------
The project generated contains various files/folders:
- readme.txt: this file
- Sources: folder with the application source code
- Startup Code: C/C++ startup code (initializing stack pointer and doing
global variable initialization). If you want to only do stack pointer
initialization, add -D__ONLY_INIT_SP to the compiler command line.
- Prm:
- burner.bbl file to generate S-Records
- the linker .prm file
- Linker Map: the .map file generated by the linker
- Libraries: needed library files (ANSI, derivative header/implementation
files)
- Debugger Project File: contains a .ini file for the debugger for each
connection
- Debugger Cmd Files: contains sub-folders for each connection with
command files
//------------------------------------------------------------------------
// Adding your own code
//------------------------------------------------------------------------
Once everything is working as expected, you can begin adding your own code
to the project. Keep in mind that we provide this as an example of how to
get up and running quickly with CodeWarrior. There are certainly other
ways to handle interrupts and set up your linker command file. Feel free
to modify any of the source files provided.
// Simulator/Debugger: Additional components
//------------------------------------------------------------------------
In the simulator/debugger, you can load additional components. Try the
menu Component > Open.
//------------------------------------------------------------------------
// Additional documentation
//------------------------------------------------------------------------
Read the online documentation provided. Use in CodeWarrior IDE the menu
Help > CodeWarrior Help.
//------------------------------------------------------------------------
// Contacting Metrowerks
//------------------------------------------------------------------------
For bug reports, technical questions, and suggestions, please use the
forms installed in the Release_Notes folder and send them to:
cw_support@freescale.com
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
采用飞思卡尔的MC9S12DG128开发的,内有数码管与按键采集程序,采用HD7279调试,非常稳定,能显示各种需要的数值,内有程序说明。 DS18B20数字温度传感器,采用多种方法采集其温度。有SKIP ROM方式,直接读取一个芯片的温度数据。也有采用SEACH ROM方式搜索固定编号的温度数据。另外还有用IIC总线调试通的EEPROM芯片存储程序。此都为原创。网上虽有一些简单的例子,我试过很多不能用,连教材上的程序例子都有错误的地方;此为用手册自己写的程序。有问题可以直接找我。QQ:308807389,需要验证。说明原因即可。
资源推荐
资源详情
资源评论
收起资源包目录
DS18B20_4路分别采.rar (55个子文件)
DS18B20_4路分别采
TBDML.ini 2KB
bin
Full_Chip_Simulation.map 105B
TBDML.abs.s19 5KB
TBDML.abs.phy 5KB
TBDML.abs 192KB
TBDML.map 125KB
Sources
main.c 3KB
datapage.c 67KB
DS18B20.h 8KB
LCD3310.c 6KB
CH375.H 23KB
DG128_INIT.h 3KB
Start12.c 22KB
CH375.c 7KB
HD7279.h 6KB
LCD3310.h 3KB
HD7279.c 12KB
LCD3310BMP.h 2KB
CCD.c 5KB
CCD.h 7KB
DG128_INIT.c 12KB
LCDCHINESE.h 10KB
C_Layout.hwl 855B
Default.mem 161B
LCD_CCD_Data
Full_Chip_Simulation
TargetDataWindows.tdt 64KB
TBDML
ObjectCode
HD7279.c.o 28KB
LCD3310.c.o 16KB
DG128_INIT.c.o 37KB
main.c.o 32KB
Start12.c.o 6KB
datapage.c.o 9KB
mc9s12dg128.c.o 151KB
TargetDataWindows.tdt 514KB
CWSettingsWindows.stg 4KB
tips.txt 11KB
LCD_CCD.mcp 108KB
prm
burner.bbl 3KB
TBDML_linker.prm 3KB
Full_Chip_Simulation_linker.prm 3KB
Full_Chip_Simulation.ini 875B
readme.txt 4KB
~$128实验报告.docx 162B
DG128实验报告.docx 15KB
cmd
TBDML_Erase_unsecure_hcs12.cmd 3KB
TBDML_Vppon.cmd 78B
TBDML_Postload.cmd 59B
TBDML_Vppoff.cmd 77B
Full_Chip_Simulation_Startup.cmd 59B
TBDML_Startup.cmd 59B
Full_Chip_Simulation_SetCPU.cmd 59B
TBDML_Reset.cmd 60B
Full_Chip_Simulation_Reset.cmd 60B
TBDML_Preload.cmd 60B
Full_Chip_Simulation_Postload.cmd 59B
Full_Chip_Simulation_Preload.cmd 60B
共 55 条
- 1
资源评论
whbustb
- 粉丝: 2
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 原型设计软件-axurerp
- 【java毕业设计】在线教育资源管理系统源码(ssm+jsp+mysql+说明文档+LW).zip
- 聚氨酯弹性体:预计2030年市场规模将达到91.9亿美元下的无限商机
- Vimium C 是一款开源、免费的键盘增强类浏览器扩展,支持为多种多样的命令任意设置快捷键
- 23339036_proj1.cpp
- MS41949DEMO例程
- 程序用到的数据,包括原始点云和拟合平面组成的点云
- PHP与mysql交互渐进之简单信息系统,仅供参考
- 影视源码自动对接资源站开源源码
- 基于SpringBoot、MyBatis、Apache Shiro、Bootstrap、Thy可用于开发所有企业级WEB应用系统
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功