//------------------------------------------------------------------------
// 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
没有合适的资源?快使用搜索试试~ 我知道了~
MC9S12DG128B,包含了时间中断、光电检测、舵机控制、电机驱动、实时控制等功能 有相关注释.zip
共37个文件
cmd:12个
o:4个
c:3个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 18 浏览量
2023-02-06
17:32:05
上传
评论
收藏 271KB ZIP 举报
温馨提示
MC9S12DG128B,包含了时间中断、光电检测、舵机控制、电机驱动、实时控制等功能。有相关注释.zip
资源推荐
资源详情
资源评论
收起资源包目录
MC9S12DG128B,包含了时间中断、光电检测、舵机控制、电机驱动、实时控制等功能。有相关注释.zip (37个子文件)
MC9S12DG128B,包含了时间中断、光电检测、舵机控制、电机驱动、实时控制等功能。有相关注释
final_3调整了光电感应板上的电位器
Full_Chip_Simulation.ini 875B
prm
TBDML_linker.prm 3KB
Full_Chip_Simulation_linker.prm 3KB
burner.bbl 3KB
cmd
Full_Chip_Simulation_Postload.cmd 59B
TBDML_Startup.cmd 59B
TBDML_Vppoff.cmd 77B
TBDML_Reset.cmd 60B
Full_Chip_Simulation_Startup.cmd 59B
Full_Chip_Simulation_Preload.cmd 60B
TBDML_Vppon.cmd 78B
TBDML_Erase_unsecure_hcs12.cmd 3KB
TBDML_Preload.cmd 60B
Full_Chip_Simulation_Reset.cmd 60B
Full_Chip_Simulation_SetCPU.cmd 59B
TBDML_Postload.cmd 59B
Sources
Start12.c 22KB
datapage.c 67KB
main.c 5KB
TBDML.ini 2KB
tips.txt 11KB
C_Layout.hwl 855B
bin
TBDML.map 113KB
TBDML.abs.s19 2KB
Full_Chip_Simulation.map 105B
TBDML.abs 150KB
TBDML.abs.phy 2KB
Default.mem 161B
final_1_Data
TBDML
ObjectCode
mc9s12dg128.c.o 150KB
datapage.c.o 9KB
main.c.o 19KB
Start12.c.o 5KB
TargetDataWindows.tdt 496KB
CWSettingsWindows.stg 4KB
Full_Chip_Simulation
TargetDataWindows.tdt 66KB
final_1.mcp 118KB
readme.txt 4KB
共 37 条
- 1
资源评论
GZM888888
- 粉丝: 148
- 资源: 2912
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功