freescale-DP256B-CAN-USB

所属分类:USB编程
开发工具:C/C++
文件大小:330KB
下载次数:60
上传日期:2010-04-14 16:30:55
上 传 者CHENHAO
说明:  使用freescale的DP256B和D12做的CAN转USB接口板的固件源代码,现在的CAN分析仪每个至少要5000多,自己实现一个,希望对大家开发CAN转USB有所帮助
(Use freescale the DP256B and D12 do CAN USB interface board to switch the firmware source code analyzer CAN now more than 5,000 each at least, his realization of a, we want to help develop CAN switch to USB)

文件列表:
DP256\bin\Simulator.abs (283256, 2006-12-05)
DP256\bin\Simulator.map (206295, 2006-12-05)
DP256\bin\Simulator.abs.s19 (12432, 2006-12-05)
DP256\bin\Simulator.abs.phy (12554, 2006-12-05)
DP256\bin\Simulator.xpr (29, 2006-12-05)
DP256\bin (0, 2006-11-15)
DP256\cmd\Simulator_Startup.cmd (59, 2006-11-11)
DP256\cmd\Simulator_Preload.cmd (60, 2006-11-11)
DP256\cmd\Simulator_Postload.cmd (108, 2006-11-13)
DP256\cmd\Simulator_Reset.cmd (60, 2006-11-11)
DP256\cmd\Simulator_SetCPU.cmd (59, 2006-11-11)
DP256\cmd (0, 2006-11-15)
DP256\prm\burner.bbl (4786, 2006-11-11)
DP256\prm\Simulator_linker.prm (3756, 2006-11-11)
DP256\prm (0, 2006-11-15)
DP256\Sources\Start12.c (17616, 2006-11-11)
DP256\Sources\datapage.c (64750, 2006-11-11)
DP256\Sources\MATH.H (5874, 2001-11-19)
DP256\Sources\isr_vectors.c (3726, 2006-11-16)
DP256\Sources\main.c (2523, 2006-12-05)
DP256\Sources (0, 2006-11-15)
DP256\C_Layout.hwl (855, 2006-11-13)
DP256\Default.mem (161, 2003-05-20)
DP256\CAN_USB.mcp (69309, 2006-12-04)
DP256\Simulator.ini (5105, 2006-12-05)
DP256\D12\D12.h (16121, 2006-12-05)
DP256\D12\define.h (7004, 2006-12-05)
DP256\D12\Interrupt.h (777, 2006-12-05)
DP256\D12\SCI_COM.h (3719, 2006-11-21)
DP256\D12\my_APP.h (0, 2006-11-15)
DP256\D12\Initial.h (3518, 2006-11-25)
DP256\D12\soft.h (1357, 2006-11-16)
DP256\D12\CAN.h (11547, 2006-12-05)
DP256\D12 (0, 2006-11-15)
DP256\CAN_USB_Data\CWSettingsWindows.stg (4180, 2006-12-05)
DP256\CAN_USB_Data\Simulator\TargetDataWindows.tdt (994601, 2006-12-05)
DP256\CAN_USB_Data\Simulator\ObjectCode\mc9s12dp256.c.o (232215, 2006-12-04)
DP256\CAN_USB_Data\Simulator\ObjectCode\datapage.c.o (9532, 2006-11-17)
DP256\CAN_USB_Data\Simulator\ObjectCode\Start12.c.o (5865, 2006-11-17)
... ...

//------------------------------------------------------------------------ // Readme.txt //------------------------------------------------------------------------ This project stationery is designed to get you up and running quickly with CodeWarrior for MC9S12DP256B. 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: - Simulator: This interface/target is prepared to use the FCS (Full Chip Simulation). Additional connections can be chosen in the simulator/debugger, use the menu Component > Set Target. /*$OSEK$*/ //------------------------------------------------------------------------ // 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 - 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: USA: support@metrowerks.com EUROPE: support_europe@metrowerks.com ASIA/PACIFIC: j-emb-sup@metrowerks.com

近期下载者

相关文件


收藏者