DEMO9S12XEP100_C_Demo

所属分类:其他
开发工具:C/C++
文件大小:153KB
下载次数:269
上传日期:2009-08-04 23:32:51
上 传 者swellcom
说明:  freescale MC9S12XEP100开发板DEMO C语言源程序。内含:串口收发程序,I/O口应用程序,模数转换程序,以及初始化等单片机入门应用。是freescale 9S12XE系列单片机入门难得的好资料。
(freescale MC9S12XEP100 development board DEMO C language source code. Includes: serial transceiver procedures, I/O port applications, analog-to-digital conversion process, as well as entry-single-chip applications, such as initialization. Is a series of single-chip entry freescale 9S12XE good information hard to come by.)

文件列表:
DEMO9S12XEP100_C_Demo\cmd\SofTec_HCS12_Postload.cmd (59, 2006-10-27)
DEMO9S12XEP100_C_Demo\cmd\SofTec_HCS12_Preload.cmd (60, 2006-10-27)
DEMO9S12XEP100_C_Demo\cmd\SofTec_HCS12_Reset.cmd (60, 2006-10-27)
DEMO9S12XEP100_C_Demo\cmd\SofTec_HCS12_Startup.cmd (61, 2006-10-27)
DEMO9S12XEP100_C_Demo\cmd\SofTec_HCS12_Vppoff.cmd (77, 2006-10-27)
DEMO9S12XEP100_C_Demo\cmd\SofTec_HCS12_Vppon.cmd (78, 2006-10-27)
DEMO9S12XEP100_C_Demo\C_Layout.hwl (855, 2006-10-27)
DEMO9S12XEP100_C_Demo\Default.mem (161, 2006-10-27)
DEMO9S12XEP100_C_Demo\Demo.mcp (102275, 2009-08-04)
DEMO9S12XEP100_C_Demo\Demo_Data\CWSettingsWindows.stg (4183, 2009-08-04)
DEMO9S12XEP100_C_Demo\Demo_Data\SofTec_HCS12\TargetDataWindows.tdt (83230, 2009-08-04)
DEMO9S12XEP100_C_Demo\prm\burner.bbl (10079, 2006-10-27)
DEMO9S12XEP100_C_Demo\prm\SofTec_HCS12_linker.prm (13712, 2006-10-27)
DEMO9S12XEP100_C_Demo\SofTec_HCS12.ini (932, 2006-10-27)
DEMO9S12XEP100_C_Demo\Sources\datapage.c (64863, 2006-10-27)
DEMO9S12XEP100_C_Demo\Sources\main.c (7288, 2006-10-27)
DEMO9S12XEP100_C_Demo\Sources\mc9s12xep100.c (82337, 2006-10-27)
DEMO9S12XEP100_C_Demo\Sources\mc9s12xep100.h (1910791, 2006-10-27)
DEMO9S12XEP100_C_Demo\Sources\sci\sci.c (4479, 2006-10-27)
DEMO9S12XEP100_C_Demo\Sources\sci\sci.h (1498, 2006-10-27)
DEMO9S12XEP100_C_Demo\Sources\Start12.c (21277, 2006-10-27)
DEMO9S12XEP100_C_Demo\tips.txt (11156, 2006-10-27)
DEMO9S12XEP100_C_Demo\Demo_Data\SofTec_HCS12 (0, 2009-08-04)
DEMO9S12XEP100_C_Demo\Sources\sci (0, 2009-08-04)
DEMO9S12XEP100_C_Demo\bin (0, 2009-08-04)
DEMO9S12XEP100_C_Demo\cmd (0, 2009-08-04)
DEMO9S12XEP100_C_Demo\Demo_Data (0, 2009-08-04)
DEMO9S12XEP100_C_Demo\prm (0, 2009-08-04)
DEMO9S12XEP100_C_Demo\Sources (0, 2009-08-04)
DEMO9S12XEP100_C_Demo (0, 2009-08-04)

//------------------------------------------------------------------------ // Readme.txt //------------------------------------------------------------------------ This project stationery is designed to get you up and running quickly with CodeWarrior for MC9S12XEP100. 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: - SofTec HCS12: This Connection allows to debug with any of the USB-based SofTec Microsystems tools for HCS12 or HCS12X (inDART-HCS12, etc...). Please check the SofTec Microsystems hardware documentation for additional details. 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

近期下载者

相关文件


收藏者