MPLAB Starter Kit for PIC18F User’s Guide
When the MicroSD bootloader starts, it initializes the capacitive touch routines and the
OLED display. It then monitors for a MicroSD memory card insertion. When an insert
event is detected by the bootloader, the MDD file system is initialized and the file structure
is displayed on the OLED. Note that only folders and HEX files will be displayed.
The user can press the Up and Down buttons to select a specific file or folder. Pressing
the Accept button when a folder is selected causes the bootloader to display the con-
tent of that specific folder on the OLED. To move one level up in the directory hierarchy,
either press the Cancel ( Left ) button, or press the Accept button when the “..” folder
is selected.
When a HEX file is selected and the Accept ( Right ) button is pressed, the MicroSD
bootloader will prompt the user for a confirmation to load the file from the MicroSD
memory card and program it to the microcontroller ’s Flash memory. After this operation
is finished, the user may choose to execute that application or to remain in the
bootloader.
If the Cancel button is pressed in the root directory, the MicroSD bootloader terminates.
The last application programmed into the microcontroller is then executed.
Figure 2-2 shows a typical sequence of OLED messages from the bootloader
initialization through the loading of an application (read from top left to bottom right).
FIGURE 2-2:
TYPICAL SEQUENCE FOR BOOTLOADER MESSAGES
Microchip
PIC18F Starter Kit
Press S1 to load the
SD Bootloader
9
>>HIDDEMO
CDC_DEMO.HEX
MSD_DEMO.HEX
File is loading.
Please wait.
2.1.1
Use ‘up’ and ‘down’
buttons to navigate.
Press the ‘accept’
button to select a
file.
Press menu button to
continue
>>.
..
MOUSE ~1.HEX
CUSTOM~1.HEX
JOYSTI~1.HEX
Application image
file: CUSTOM.HEX
has been loaded.
Press the R button to
start the application
or L button to cancel
Memory Organization
Card not detected!
Please insert a valid
MicroSD card to
continue
The following demo
will be loaded:
CUSTOM.HEX
Press the R button
to accept, or the
L button to cancel
PIC18F Starter Kit
Mouse Demo v1.0
Press Menu to proceed
The first 40 Kbytes of Flash program memory are used by the MicroSD bootloader.
Figure 2-3 shows the memory map of the PIC18F46J50. The application code must
ensure that the boot area is not overwritten.
2.1.2
Remapped Vectors
Since the hardware Reset and interrupt vectors lie within the boot area, they are
remapped through software to the beginning of the user memory space. Remapping is
simply a branch for interrupts; users may observe an additional latency of two
instruction cycles to handle interrupts.
DS51852A-page 10
? 2009 Microchip Technology Inc.
相关PDF资料
DM183022 BOARD DEMO PIC18FXX22 64/80TQFP
DM183032 BOARD EXPLORER PICDEM PIC18
DM240001 BOARD DEMO PIC24/DSPIC33/PIC32
DM240002 BOARD DEV EXPLORER 16 44-PIN
DM240011 KIT STARTER MPLAB FOR PIC24F MCU
DM240021 KIT STARTER MPLAB FOR PIC24H
DM240311 BOARD DEV PIC24F16KA102 XLP
DM300018 BOARD DEMO DSPICDEM 2
相关代理商/技术参数
DM1800-434MB 功能描述:射频模块 DM1800 Base Station 433.92 MHz RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MN 功能描述:射频模块 DM1800 Field Node 433.92 MHz RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MN-V 功能描述:射频模块 Field Node w/ Host Ser Intr 433.92 MHz RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MR 功能描述:射频模块 DM1800 Network Router 433.92 MHz RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MR-PAH 功能描述:射频模块 DM1800 Pkg Router 433.92 MHz Horzt Mnt RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MR-PAV 功能描述:射频模块 DM1800 Pkg Router 433.92 MHz Vert Mnt RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MR-PBH 功能描述:射频模块 DM1800 Pkg Router 433.92 MHz Horzt Mnt RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm
DM1800-434MR-PBV 功能描述:射频模块 DM1800 Pkg Router 433.92 MHz Vert Mnt RoHS:否 制造商:Linx Technologies 产品:Transceiver Modules 频带:902 MHz to 928 MHz 输出功率:- 15.5 dBm to + 12.5 dBm 接口类型:UART 工作电源电压:- 0.3 VDC to + 5.5 VDC 传输供电电流:38.1 mA 接收供电电流:22.7 mA 天线连接器类型:U.FL 最大工作温度:+ 85 C 尺寸:1.15 mm x 0.63 mm x 0.131 mm