Bootloader-for-HCS12-by-sebasira

所属分类:单片机开发
开发工具:C/C++
文件大小:256KB
下载次数:115
上传日期:2012-06-22 23:37:27
上 传 者ximtec
说明:  Bootloader in C for Freescale HCS12. Uses serial SCI (UART) to load S19 files.

文件列表:
.bzrignore (118, 2012-01-12)
BootLoader.mcp (112394, 2012-01-16)
C_Layout.hwl (858, 2006-03-12)
Default.mem (13, 2005-11-27)
P&E_ICD.hwc (0, 2005-12-07)
P&E_ICD.ini (9807, 2012-03-22)
bin\Bootloader.abs (132900, 2012-04-11)
bin\Bootloader.abs.phy (4082, 2012-04-11)
bin\Bootloader.abs.s19 (3974, 2012-04-11)
bin\Bootloader.map (89477, 2012-04-11)
bin\Bootloader.sx (3974, 2012-04-11)
bin\Bootloader.xpr (43, 2012-03-22)
BootLoader_Data\Bootloader\ObjectCode\bootloading mode.c.o (3886, 2012-03-19)
BootLoader_Data\Bootloader\ObjectCode\Display Driver NT7532.c.o (19024, 2012-04-11)
BootLoader_Data\Bootloader\ObjectCode\GPFncs.c.o (4737, 2012-03-19)
BootLoader_Data\Bootloader\ObjectCode\main.c.o (15531, 2012-04-11)
BootLoader_Data\Bootloader\ObjectCode\Messages.c.o (8294, 2012-03-19)
BootLoader_Data\Bootloader\ObjectCode\S12Derivative.c.o (107348, 2012-03-19)
BootLoader_Data\Bootloader\ObjectCode\S12Flash.c.o (13150, 2012-04-11)
BootLoader_Data\Bootloader\ObjectCode\S12SCI.c.o (7460, 2012-04-11)
BootLoader_Data\Bootloader\ObjectCode\S19Driver.c.o (8778, 2012-04-11)
BootLoader_Data\Bootloader\ObjectCode\Start12.c.o (7538, 2012-04-11)
BootLoader_Data\Bootloader\TargetDataWindows.tdt (384966, 2012-04-11)
BootLoader_Data\CWSettingsWindows.stg (4189, 2012-04-11)
cmd\P&E_ICD_Erase_unsecure_hcs12.cmd (2655, 2005-11-27)
cmd\P&E_ICD_Postload.cmd (108, 2005-11-27)
cmd\P&E_ICD_Preload.cmd (60, 2005-11-27)
cmd\P&E_ICD_Reset.cmd (60, 2005-11-27)
cmd\P&E_ICD_Startup.cmd (59, 2005-11-27)
cmd\P&E_ICD_Vppoff.cmd (77, 2005-11-27)
cmd\P&E_ICD_Vppon.cmd (78, 2005-11-27)
prm\burner.bbl (4786, 2005-11-27)
prm\P&E_ICD_linker.prm (2539, 2012-01-17)
Sources\bootloading mode.c (2500, 2012-01-16)
Sources\bootloading mode.h (118, 2012-01-16)
Sources\Comandos.h (871, 2012-01-17)
Sources\datapage.c (28929, 2005-11-27)
Sources\Display Driver NT7532.c (22784, 2012-01-17)
Sources\Display Driver NT7532.h (2094, 2012-01-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). - P&E ICD12: This enables to debug with the P&E ICD12 target interface. The P&E ICD12 target interface allows to debug using the BDM connector with P&E BDM Multilink or Cable12 hardware. The BDM Multilink and Cable12 connect to the host parallel port. Please consult your 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: 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 //------------------------------------------------------------------------ Check out the online documentation provided. Use in CodeWarrior IDE the menu Help > Online Manuals. //------------------------------------------------------------------------ // 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

近期下载者

相关文件


收藏者