smart_car

所属分类:其他嵌入式/单片机内容
开发工具:C/C++
文件大小:752KB
下载次数:15
上传日期:2012-09-05 00:24:46
上 传 者haozi_winged
说明:  开发环境是CODE codewarrior 单片机是MC9S12XS128 这个程序时当时华南赛区比赛的智能车程序,里面涉及了许多模块,可复制粘贴里面的模块即可,学习PWM,定时器,串口,AD采集,激光调制
(Development environment CODE codewarrior microcontroller MC9S12XS128 program of the South Division race smart car program, which involves a number of modules, inside the module can be copied and pasted to learn PWM, timers, serial port, AD acquisition, laser modulation)

文件列表:
bin\Full_Chip_Simulation.abs (169113, 2011-05-19)
bin\Full_Chip_Simulation.abs.glo (7966, 2011-05-19)
bin\Full_Chip_Simulation.abs.s19 (7900, 2011-05-19)
bin\Full_Chip_Simulation.map (126174, 2011-05-19)
bin\TBDML.abs (230637, 2012-08-27)
bin\TBDML.abs.glo (14850, 2012-08-27)
bin\TBDML.abs.s19 (14726, 2012-08-27)
bin\TBDML.map (153791, 2012-08-27)
bin\TBDML.xpr (583, 2012-08-27)
cmd\Full_Chip_Simulation_Postload.cmd (59, 2011-03-06)
cmd\Full_Chip_Simulation_Preload.cmd (60, 2011-03-06)
cmd\Full_Chip_Simulation_Reset.cmd (60, 2011-03-06)
cmd\Full_Chip_Simulation_SetCPU.cmd (59, 2011-03-06)
cmd\Full_Chip_Simulation_Startup.cmd (59, 2011-03-06)
cmd\TBDML_Erase_unsecure_hcs12xe.cmd (1514, 2011-03-06)
cmd\TBDML_Postload.cmd (59, 2011-03-06)
cmd\TBDML_Preload.cmd (60, 2011-03-06)
cmd\TBDML_Reset.cmd (60, 2011-03-06)
cmd\TBDML_Startup.cmd (59, 2011-03-06)
cmd\TBDML_Vppoff.cmd (77, 2011-03-06)
cmd\TBDML_Vppon.cmd (78, 2011-03-06)
haozi_Data\CWSettingsWindows.stg (4213, 2012-08-27)
haozi_Data\TBDML\TargetDataWindows.tdt (631727, 2012-08-27)
haozi_Data\TBDML\ObjectCode\datapage.c.o (14365, 2012-08-27)
haozi_Data\TBDML\ObjectCode\main.c.o (90025, 2012-08-27)
haozi_Data\TBDML\ObjectCode\MC9S12XS128.c.o (164528, 2012-08-27)
haozi_Data\TBDML\ObjectCode\nRF905.c.o (11716, 2012-08-27)
haozi_Data\TBDML\ObjectCode\Start12.c.o (5965, 2012-08-27)
haozi_Data\Full_Chip_Simulation\TargetDataWindows.tdt (99445, 2012-08-27)
prm\burner.bbl (10141, 2011-03-06)
prm\Full_Chip_Simulation_linker.prm (4962, 2011-03-06)
prm\TBDML_linker.prm (4962, 2011-03-06)
Project_14_Data\CWSettingsWindows.stg (4450, 2011-05-19)
Project_14_Data\TBDML\TargetDataWindows.tdt (682197, 2011-05-19)
Project_14_Data\TBDML\ObjectCode\datapage.c.o (14161, 2011-04-21)
Project_14_Data\TBDML\ObjectCode\LQinit.c.o (15820, 2011-03-06)
Project_14_Data\TBDML\ObjectCode\LQprintp.c.o (15116, 2011-03-06)
Project_14_Data\TBDML\ObjectCode\main.c.o (51533, 2011-05-19)
Project_14_Data\TBDML\ObjectCode\MC9S12XS128.c.o (136467, 2011-04-21)
Project_14_Data\TBDML\ObjectCode\nRF905.c.o (11876, 2011-05-19)
... ...

//------------------------------------------------------------------------ // Readme.txt //------------------------------------------------------------------------ This project stationery is designed to get you up and running quickly with CodeWarrior for MC9S12XS128. 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: The wizard has prepared CodeWarrior target(s) with the connection methods of your choice: 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 - Prm: - burner.bbl file to generate S-Records - 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

近期下载者

相关文件


收藏者