fuzzy0526

所属分类:处理器开发
开发工具:Windows_Unix
文件大小:283KB
下载次数:47
上传日期:2008-07-08 16:32:11
上 传 者h.sun
说明:  s12温度控制程序,包括模糊控制和LCD程序
(S12 temperature control procedures, including procedures for fuzzy control and LCD)

文件列表:
fuzzy0526\fuzzy0524.mcp (317755, 2008-05-24)
fuzzy0526\程序备忘.txt (2012, 2008-05-23)
fuzzy0526\Abatron_BDI.ini (745, 2008-05-24)
fuzzy0526\SofTec_HCS12.ini (818, 2008-05-24)
fuzzy0526\Full_Chip_Simulation.ini (875, 2008-05-24)
fuzzy0526\HCS12_Serial_Monitor.ini (794, 2008-05-24)
fuzzy0526\C_Layout.hwl (855, 2008-05-24)
fuzzy0526\Default.mem (161, 2004-06-15)
fuzzy0526\tips.txt (11156, 2008-05-24)
fuzzy0526\P&E_Multilink_CyclonePro.ini (2567, 2008-05-26)
fuzzy0526\TBDML.ini (896, 2008-05-24)
fuzzy0526\Sources\Start12.c (22599, 2008-05-24)
fuzzy0526\Sources\main.c (2984, 2008-05-26)
fuzzy0526\Sources\datapage.c (68446, 2008-05-24)
fuzzy0526\Sources\time.c (2754, 2008-05-26)
fuzzy0526\Sources\all_head.h (1589, 2008-05-26)
fuzzy0526\Sources\fuzzy.c (7001, 2008-05-26)
fuzzy0526\Sources\lcd.c (6160, 2008-05-26)
fuzzy0526\Sources\pwm.c (4321, 2008-05-24)
fuzzy0526\Sources\sci.c (4006, 2008-05-26)
fuzzy0526\cmd\P&E_Multilink_CyclonePro_Erase_unsecure_hcs12.cmd (3490, 2008-05-24)
fuzzy0526\cmd\P&E_Multilink_CyclonePro_Startup.cmd (61, 2008-05-24)
fuzzy0526\cmd\P&E_Multilink_CyclonePro_Preload.cmd (60, 2008-05-24)
fuzzy0526\cmd\P&E_Multilink_CyclonePro_Postload.cmd (59, 2008-05-24)
fuzzy0526\cmd\P&E_Multilink_CyclonePro_Reset.cmd (60, 2008-05-24)
fuzzy0526\cmd\P&E_Multilink_CyclonePro_Vppon.cmd (78, 2008-05-24)
fuzzy0526\cmd\P&E_Multilink_CyclonePro_Vppoff.cmd (77, 2008-05-24)
fuzzy0526\cmd\TBDML_Erase_unsecure_hcs12.cmd (3490, 2008-05-24)
fuzzy0526\cmd\TBDML_Startup.cmd (59, 2008-05-24)
fuzzy0526\cmd\TBDML_Preload.cmd (60, 2008-05-24)
fuzzy0526\cmd\TBDML_Postload.cmd (59, 2008-05-24)
fuzzy0526\cmd\TBDML_Reset.cmd (60, 2008-05-24)
fuzzy0526\cmd\TBDML_Vppon.cmd (78, 2008-05-24)
fuzzy0526\cmd\TBDML_Vppoff.cmd (77, 2008-05-24)
fuzzy0526\cmd\Abatron_BDI_Startup.cmd (59, 2008-05-24)
fuzzy0526\cmd\Abatron_BDI_Preload.cmd (60, 2008-05-24)
fuzzy0526\cmd\Abatron_BDI_Postload.cmd (59, 2008-05-24)
fuzzy0526\cmd\Abatron_BDI_Reset.cmd (60, 2008-05-24)
fuzzy0526\cmd\SofTec_HCS12_Startup.cmd (61, 2008-05-24)
... ...

//------------------------------------------------------------------------ // 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. - P&E Multilink/Cyclone Pro: This Connection allows to debug with the P&E BDM Multilink (USB and parallel) or P&E Cyclone Pro (USB, Serial and TCP/IP).. Please check the P&E hardware documentation for additional details. - 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. - Abatron BDI: This Connection allows to debug using the BDM connector with Abatron hardware (BDI-HS or BDI1000). The BDI-HS or BDI1000 boxes connect via the host serial port or via Ethernet. Please check the Abatron documentation for additional details. - HCS12 Serial Monitor: This Connection allows to debug with the on-chip Freescale HCS12 serial monitor. This monitor uses on-chip resources and the SCI. See Freescale application note AN2140 for details. Using the on-chip DBG module of HCS12 devices (if available, not present on all HCS12 derivatives), trace is supported You can load the trace component using the menu Component > Open in the debugger. - 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

近期下载者

相关文件


收藏者