BootPIC24HUART

所属分类:单片机开发
开发工具:C/C++
文件大小:1981KB
下载次数:39
上传日期:2007-11-26 14:42:42
上 传 者科学狂人
说明:  PIC 16bit 24H系列单片机的bootloader源码,
(PIC 16bit 24H Series MCU bootloader source,)

文件列表:
Boot24HUART\24H target\16-bit Flash Programmer.mcp (793, 2006-05-26)
Boot24HUART\24H target\16-bit Flash Programmer.mcw (129536, 2006-07-05)
Boot24HUART\24H target\main.c (8820, 2006-08-21)
Boot24HUART\24H target\memory.s (2995, 2006-08-21)
Boot24HUART\24H target\p24HJ256GP610.gld (71459, 2006-05-26)
Boot24HUART\24H target\test\dummy app\bootkernel.c (1747, 2006-07-05)
Boot24HUART\24H target\test\dummy app\dummy.cof (250907, 2006-06-09)
Boot24HUART\24H target\test\dummy app\dummy.hex (4140, 2006-05-26)
Boot24HUART\24H target\test\dummy app\dummy.map (123420, 2006-06-09)
Boot24HUART\24H target\test\dummy app\dummy.mcp (803, 2006-05-26)
Boot24HUART\24H target\test\dummy app\dummy.mcs (2089, 2006-06-09)
Boot24HUART\24H target\test\dummy app\dummy.mcw (121344, 2006-06-09)
Boot24HUART\24H target\test\dummy app\dummy.mptags (843, 2006-06-09)
Boot24HUART\24H target\test\dummy app\dummy.tagsrc (65, 2006-06-09)
Boot24HUART\24H target\test\dummy app\p24HJ256GP610.gld (71510, 2006-05-26)
Boot24HUART\24H target\test\mem test\bootkernel.c (2882, 2006-07-05)
Boot24HUART\24H target\test\mem test\constant.c (574613, 2006-07-05)
Boot24HUART\24H target\test\mem test\dummy.mcp (833, 2006-06-09)
Boot24HUART\24H target\test\mem test\dummy.mcw (373248, 2006-06-09)
Boot24HUART\24H target\test\mem test\memory.s (1719, 2006-07-05)
Boot24HUART\24H target\test\mem test\p24HJ256GP610.gld (71510, 2006-06-09)
Boot24HUART\x86 host\16-Bit Flash Programmer.cpp (18615, 2006-09-21)
Boot24HUART\x86 host\16-Bit Flash Programmer.h (942, 2006-05-25)
Boot24HUART\x86 host\16-Bit Flash Programmer.ncb (445440, 2006-06-06)
Boot24HUART\x86 host\16-Bit Flash Programmer.sln (946, 2006-04-25)
Boot24HUART\x86 host\16-Bit Flash Programmer.suo (10752, 2006-06-06)
Boot24HUART\x86 host\16-Bit Flash Programmer.vcproj (3787, 2006-05-15)
Boot24HUART\x86 host\cmd.cpp (3577, 2006-05-25)
Boot24HUART\x86 host\cmd.h (397, 2006-05-25)
Boot24HUART\x86 host\mem.cpp (4080, 2006-05-26)
Boot24HUART\x86 host\mem.h (600, 2006-05-25)
Boot24HUART\x86 host\stdafx.cpp (310, 2006-04-25)
Boot24HUART\x86 host\stdafx.h (623, 2006-05-25)
Boot24HUART\24H target\test\dummy app (0, 2007-09-24)
Boot24HUART\24H target\test\mem test (0, 2007-09-24)
Boot24HUART\24H target\test (0, 2007-09-24)
Boot24HUART\x86 host\Debug (0, 2007-09-24)
Boot24HUART\24H target (0, 2007-09-24)
Boot24HUART\x86 host (0, 2007-09-24)
... ...

This is Beta version of Bootloader for 24H devices. It was developed on Explorer16 board running 24HJ256GP610 processor. **************************************************************************** Procedure: 1. Compile and Load target side bootloader application onto Explorer16 board 3. Start/Run target side bootloader application 4. Start/Run host side bootloader application with appropriate arguments from the command line window. Executable is located in the "x86 host\Debug" directory 5. User application must be modified to start at address 0xC00 (see below) When bootloader runs on the target, it waits N numbers of seconds for UART communication before transferring control to the user application at address 0xC02. The delay of N seconds must be specified at address 0xC00. if the delay is 0 seconds, bootloader jumps to user application on the start-up. If the delay is 255 seconds (oxFF), bootloader will wait for UART communication indefinitely. **************************************************************************** Usage: "16-Bit Flash Programmer.exe" -i interface [-bpe] hexfile Options: -i specifies serial interface name such as COM1, COM2, etc -b specifies baud rate for serial interface. Default is 115200 -p read program flash. Must provide address to read in HEX format: -p 0x000100 -e read EEPROM. Must provide address to read in HEX format: -e 0x7FFC00 **************************************************************************** GLD file modifications to place application at address 0xC00 and to provide bootloader timeout: - Modify the following lines of of GLD code: program (xr) : ORIGIN = 0xC00, LENGTH = 0x29E00 __CODE_BASE = 0xC00; /* Handles, User Code, Library Code */ /* ** User Code and Library Code */ .text __CODE_BASE : { SHORT(0x0A); /* Bootloader timeout in sec */ *(.handle); *(.libc) *(.libm) *(.libdsp); /* keep together in this order */ *(.lib*); *(.text); } >program ****************************************************************************

近期下载者

相关文件


收藏者