mc9212dg128initandinterrupt

所属分类:单片机开发
开发工具:C/C++
文件大小:431KB
下载次数:71
上传日期:2007-10-04 19:21:58
上 传 者王永良
说明:  mc9s12dg128中头文件的相关说明和中断入口设置
(mc9s12dg128 header files in the relevant notes and interrupted the entrance set)

文件列表:
头文件卓晴做\dg128b.h (15209, 2007-05-12)
头文件卓晴做\dg128b.c (44604, 2007-05-12)
头文件卓晴做\tongji\tongji.mcp (56819, 2007-06-20)
头文件卓晴做\tongji\C_Layout.hwl (855, 2007-06-20)
头文件卓晴做\tongji\Default.mem (161, 2004-06-15)
头文件卓晴做\tongji\tips.txt (11156, 2007-06-20)
头文件卓晴做\tongji\Full_Chip_Simulation.ini (1010, 2007-06-21)
头文件卓晴做\tongji\sonser3\sonser2.mcp (56819, 2007-06-17)
头文件卓晴做\tongji\sonser3\C_Layout.hwl (855, 2007-06-17)
头文件卓晴做\tongji\sonser3\Default.mem (161, 2004-06-15)
头文件卓晴做\tongji\sonser3\tips.txt (11156, 2007-06-17)
头文件卓晴做\tongji\sonser3\Full_Chip_Simulation.ini (858, 2007-06-17)
头文件卓晴做\tongji\sonser3\Sources\Start12.c (21277, 2007-06-17)
头文件卓晴做\tongji\sonser3\Sources\main.c (6325, 2007-06-17)
头文件卓晴做\tongji\sonser3\Sources\datapage.c (64863, 2007-06-17)
头文件卓晴做\tongji\sonser3\Sources (0, 2007-07-08)
头文件卓晴做\tongji\sonser3\cmd\Full_Chip_Simulation_Startup.cmd (59, 2007-06-17)
头文件卓晴做\tongji\sonser3\cmd\Full_Chip_Simulation_Preload.cmd (60, 2007-06-17)
头文件卓晴做\tongji\sonser3\cmd\Full_Chip_Simulation_Postload.cmd (59, 2007-06-17)
头文件卓晴做\tongji\sonser3\cmd\Full_Chip_Simulation_Reset.cmd (60, 2007-06-17)
头文件卓晴做\tongji\sonser3\cmd\Full_Chip_Simulation_SetCPU.cmd (59, 2007-06-17)
头文件卓晴做\tongji\sonser3\cmd (0, 2007-07-08)
头文件卓晴做\tongji\sonser3\prm\burner.bbl (3348, 2007-06-17)
头文件卓晴做\tongji\sonser3\prm\Full_Chip_Simulation_linker.prm (2970, 2007-06-17)
头文件卓晴做\tongji\sonser3\prm (0, 2007-07-08)
头文件卓晴做\tongji\sonser3\bin\Full_Chip_Simulation.map (114299, 2007-06-17)
头文件卓晴做\tongji\sonser3\bin\Full_Chip_Simulation.abs (158910, 2007-06-17)
头文件卓晴做\tongji\sonser3\bin\Full_Chip_Simulation.abs.s19 (1444, 2007-06-17)
头文件卓晴做\tongji\sonser3\bin\Full_Chip_Simulation.abs.phy (1448, 2007-06-17)
头文件卓晴做\tongji\sonser3\bin (0, 2007-07-08)
头文件卓晴做\tongji\sonser3\sonser2_Data\CWSettingsWindows.stg (2092, 2007-06-17)
头文件卓晴做\tongji\sonser3\sonser2_Data\Full_Chip_Simulation\TargetDataWindows.tdt (502541, 2007-06-17)
头文件卓晴做\tongji\sonser3\sonser2_Data\Full_Chip_Simulation\ObjectCode\mc9s12dg128.c.o (154426, 2007-06-17)
头文件卓晴做\tongji\sonser3\sonser2_Data\Full_Chip_Simulation\ObjectCode\main.c.o (13876, 2007-06-17)
头文件卓晴做\tongji\sonser3\sonser2_Data\Full_Chip_Simulation\ObjectCode\datapage.c.o (9400, 2007-06-17)
头文件卓晴做\tongji\sonser3\sonser2_Data\Full_Chip_Simulation\ObjectCode\Start12.c.o (5721, 2007-06-17)
头文件卓晴做\tongji\sonser3\sonser2_Data\Full_Chip_Simulation\ObjectCode (0, 2007-07-08)
头文件卓晴做\tongji\sonser3\sonser2_Data\Full_Chip_Simulation (0, 2007-07-08)
... ...

//------------------------------------------------------------------------ // 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. 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

近期下载者

相关文件


收藏者