MC9S12DG128(longqu)

所属分类:处理器开发
开发工具:Others
文件大小:1427KB
下载次数:243
上传日期:2008-12-24 20:20:18
上 传 者wingzeroxy
说明:  龙丘开发板部分源代码,整个程序中几乎包含了MC9S12DG128单片机所有部件的初始化及应用程序,是学习该单片机的很好的示例程序
(Liuzhou Hill development board part of the source code, the whole process almost single-chip contains all the components MC9S12DG128 initialization and application procedures, is to learn from the good example of SCM procedures)

文件列表:
龙丘开发板部分源代码\demoALL\bin\demoall.abs (222638, 2008-12-10)
龙丘开发板部分源代码\demoALL\bin\demoall.abs.phy (24720, 2008-12-10)
龙丘开发板部分源代码\demoALL\bin\demoall.abs.s19 (24402, 2008-12-10)
龙丘开发板部分源代码\demoALL\bin\demoall.map (150254, 2008-12-10)
龙丘开发板部分源代码\demoALL\bin\Full_Chip_Simulation.map (105, 2008-10-12)
龙丘开发板部分源代码\demoALL\bin\TBDML.map (105, 2008-10-12)
龙丘开发板部分源代码\demoALL\cmd\Full_Chip_Simulation_Postload.cmd (59, 2008-10-12)
龙丘开发板部分源代码\demoALL\cmd\Full_Chip_Simulation_Preload.cmd (60, 2008-10-12)
龙丘开发板部分源代码\demoALL\cmd\Full_Chip_Simulation_Reset.cmd (60, 2008-10-12)
龙丘开发板部分源代码\demoALL\cmd\Full_Chip_Simulation_SetCPU.cmd (59, 2008-10-12)
龙丘开发板部分源代码\demoALL\cmd\Full_Chip_Simulation_Startup.cmd (59, 2008-10-12)
龙丘开发板部分源代码\demoALL\cmd\TBDML_Erase_unsecure_hcs12.cmd (3490, 2008-10-12)
龙丘开发板部分源代码\demoALL\cmd\TBDML_Postload.cmd (59, 2008-10-12)
龙丘开发板部分源代码\demoALL\cmd\TBDML_Preload.cmd (60, 2008-10-12)
龙丘开发板部分源代码\demoALL\cmd\TBDML_Reset.cmd (60, 2008-10-12)
龙丘开发板部分源代码\demoALL\cmd\TBDML_Startup.cmd (59, 2008-10-12)
龙丘开发板部分源代码\demoALL\cmd\TBDML_Vppoff.cmd (77, 2008-10-12)
龙丘开发板部分源代码\demoALL\cmd\TBDML_Vppon.cmd (78, 2008-10-12)
龙丘开发板部分源代码\demoALL\C_Layout.hwl (855, 2008-10-12)
龙丘开发板部分源代码\demoALL\Default.mem (161, 2004-06-15)
龙丘开发板部分源代码\demoALL\demoALL\abatron.hwc (2, 2003-08-08)
龙丘开发板部分源代码\demoALL\demoALL\abatron.hwl (1511, 2003-08-08)
龙丘开发板部分源代码\demoALL\demoALL\abatron.ini (1926, 2003-08-08)
龙丘开发板部分源代码\demoALL\demoALL\cmd\abatron_postload.cmd (59, 2003-08-08)
龙丘开发板部分源代码\demoALL\demoALL\cmd\abatron_preload.cmd (60, 2003-08-08)
龙丘开发板部分源代码\demoALL\demoALL\cmd\abatron_reset.cmd (63, 2003-08-08)
龙丘开发板部分源代码\demoALL\demoALL\cmd\abatron_startup.cmd (59, 2003-08-08)
龙丘开发板部分源代码\demoALL\demoALL\cmd\p&e_erase_unsecure_hcs12.cmd (2658, 2003-08-08)
龙丘开发板部分源代码\demoALL\demoALL\cmd\p&e_postload.cmd (59, 2003-08-08)
龙丘开发板部分源代码\demoALL\demoALL\cmd\p&e_preload.cmd (60, 2003-08-08)
龙丘开发板部分源代码\demoALL\demoALL\cmd\p&e_reset.cmd (63, 2003-08-08)
龙丘开发板部分源代码\demoALL\demoALL\cmd\p&e_startup.cmd (59, 2003-08-08)
龙丘开发板部分源代码\demoALL\demoALL\cmd\p&e_vppoff.cmd (75, 2003-08-08)
龙丘开发板部分源代码\demoALL\demoALL\cmd\p&e_vppon.cmd (76, 2003-08-08)
龙丘开发板部分源代码\demoALL\demoALL\cmd\simulator_postload.cmd (62, 2003-08-08)
龙丘开发板部分源代码\demoALL\demoALL\cmd\simulator_preload.cmd (63, 2003-08-08)
龙丘开发板部分源代码\demoALL\demoALL\cmd\simulator_reset.cmd (63, 2003-08-08)
龙丘开发板部分源代码\demoALL\demoALL\cmd\simulator_setcpu.cmd (59, 2003-08-08)
龙丘开发板部分源代码\demoALL\demoALL\cmd\simulator_startup.cmd (59, 2003-08-08)
龙丘开发板部分源代码\demoALL\demoALL\default.mem (161, 2003-08-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. - 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

近期下载者

相关文件


收藏者