nRF401_freescale_mc9s12

所属分类:单片机开发
开发工具:C/C++
文件大小:533KB
下载次数:145
上传日期:2007-09-08 09:04:21
上 传 者Link
说明:  原创的无线模块nRF401发送/接收代码,用飞思卡尔的mc9s12dp256和mc9s12dt128实现收发,调试成功,内有模块连线图和详细代码注释
(Original wireless module nRF401 Send/Receive code, using Freescale)

文件列表:
nRF401_send\nRF401_send.mcp (59588, 2007-09-08)
nRF401_send\bin\P&E_Multilink_CyclonePro.map (171620, 2007-09-08)
nRF401_send\bin\P&E_Multilink_CyclonePro.abs (217095, 2007-09-08)
nRF401_send\bin\P&E_Multilink_CyclonePro.abs.s19 (562, 2007-09-08)
nRF401_send\bin\P&E_Multilink_CyclonePro.abs.phy (576, 2007-09-08)
nRF401_send\prm\burner.bbl (3348, 2007-09-08)
nRF401_send\prm\P&E_Multilink_CyclonePro_linker.prm (4040, 2007-09-08)
nRF401_send\nRF401_send_Data\CWSettingsWindows.stg (4279, 2007-09-08)
nRF401_send\nRF401_send_Data\P&E_Multilink_CyclonePro\TargetDataWindows.tdt (742073, 2007-09-08)
nRF401_send\nRF401_send_Data\P&E_Multilink_CyclonePro\ObjectCode\mc9s12dp256.c.o (231263, 2007-09-08)
nRF401_send\nRF401_send_Data\P&E_Multilink_CyclonePro\ObjectCode\main.c.o (11188, 2007-09-08)
nRF401_send\nRF401_send_Data\P&E_Multilink_CyclonePro\ObjectCode\datapage.c.o (8689, 2007-09-08)
nRF401_send\nRF401_send_Data\P&E_Multilink_CyclonePro\ObjectCode\Start12.c.o (3813, 2007-09-08)
nRF401_send\cmd\P&E_Multilink_CyclonePro_Erase_unsecure_hcs12.cmd (3490, 2007-09-08)
nRF401_send\cmd\P&E_Multilink_CyclonePro_Startup.cmd (61, 2007-09-08)
nRF401_send\cmd\P&E_Multilink_CyclonePro_Preload.cmd (60, 2007-09-08)
nRF401_send\cmd\P&E_Multilink_CyclonePro_Postload.cmd (59, 2007-09-08)
nRF401_send\cmd\P&E_Multilink_CyclonePro_Reset.cmd (60, 2007-09-08)
nRF401_send\cmd\P&E_Multilink_CyclonePro_Vppon.cmd (78, 2007-09-08)
nRF401_send\cmd\P&E_Multilink_CyclonePro_Vppoff.cmd (77, 2007-09-08)
nRF401_send\Sources\Start12.c (22599, 2007-09-08)
nRF401_send\Sources\main.c (2574, 2007-09-08)
nRF401_send\Sources\datapage.c (68446, 2007-09-08)
nRF401_send\C_Layout.hwl (855, 2007-09-08)
nRF401_send\Default.mem (161, 2004-06-15)
nRF401_send\tips.txt (11156, 2007-09-08)
nRF401_send\P&E_Multilink_CyclonePro.ini (1010, 2007-09-08)
nrf401_receive\C_Layout.hwl (855, 2007-09-07)
nrf401_receive\Default.mem (161, 2004-06-15)
nrf401_receive\nrf401_receive.mcp (59588, 2007-09-07)
nrf401_receive\P&E_Multilink_CyclonePro.ini (1973, 2007-09-08)
nrf401_receive\tips.txt (11156, 2007-09-07)
nrf401_receive\Sources\datapage.c (68446, 2007-09-07)
nrf401_receive\Sources\main.c (2817, 2007-09-08)
nrf401_receive\Sources\Start12.c (22599, 2007-09-07)
nrf401_receive\prm\burner.bbl (3348, 2007-09-07)
nrf401_receive\prm\P&E_Multilink_CyclonePro_linker.prm (3409, 2007-09-07)
nrf401_receive\nrf401_receive_Data\CWSettingsWindows.stg (4279, 2007-09-08)
... ...

//------------------------------------------------------------------------ // 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: - 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. 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: Only stack pointer is set up (minimal startup code). If you want to set up global variables as well, remove -D__ONLY_INIT_SP from 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

近期下载者

相关文件


收藏者