Datasheet
数据手册 > 微控制器,MCU,单片机 > Microchip > PIC18LF2515-I/SP 数据手册PDF > PIC18LF2515-I/SP 应用笔记 第 1/38 页
PIC18LF2515-I/SP
¥ 41.08
百芯的价格

PIC18LF2515-I/SP 应用笔记 - Microchip

  • 制造商:
    Microchip
  • 分类:
    微控制器,MCU,单片机
  • 封装
    SPDIP-28
  • 描述:
    MCU 8Bit PIC18 PIC RISC 48KB Flash 2.5V/3.3V/5V 28Pin SPDIP Tube
更新时间: 2025-06-17 09:02:44 (UTC+8)

PIC18LF2515-I/SP 应用笔记

页码:/38页
下载 PDF
重新加载
下载
ã 2002 Microchip Technology Inc. DS00851B-page 1
AN851
INTRODUCTION
Among the many features built into Microchip’s
Enhanced FLASH Microcontroller devices is the capa-
bility of the program memory to self-program. This very
useful feature has been deliberately included to give
the user the ability to perform bootloading operations.
Devices like the PIC18F452 are designed with a desig-
nated “boot block”, a small section of protectable pro-
gram memory allocated specifically for bootload
firmware.
This application note demonstrates a very powerful
bootloader implementation for the PIC16F87XA and
PIC18F families of microcontrollers. The coding for the
two device families is slightly different; however, the
functionality is essentially the same. The goals of this
implementation stress a maximum performance and
functionality, while requiring a minimum of code space.
FIRMWARE
Basic Operation
Figure 1 summarizes the essential firmware design of
the bootloader. Data is received through the USART
module, configured in Asynchronous mode for compat-
ibility with RS-232 and passed through the
transmit/receive engine. The engine filters and parses
the data, storing the information into a data buffer in
RAM. The command interpreter evaluates the com-
mand information within the buffer to determine what
should be done (i.e., Is the data written into a memory
unit? Is data read from a memory unit? Does the firm-
ware version need to be read?). Once the operation is
performed, data is passed back to the transmit/receive
engine to be transmitted back to the source, closing the
software flow control loop.
FIGURE 1: BOOTLOADER FUNCTIONAL
BLOCK DIAGRAM
COMMUNICATIONS
The microcontroller’s USART module is used to
receive and transmit data; it is configured as a UART to
be compatible with RS-232 communications. The
device can be set up in an application to bootload from
a computer through its standard serial interface. The
following communications settings are used:
8 data bits
•No parity
•1 STOP bit
The baud rate setting is variable depending on the
application. Baud rate selection is discussed later.
Author: Ross M. Fosler and
Rodger Richey
Microchip Technology Inc.
USART
Transmit/Receive
Engine
RAM
Buffer
Command
Interpreter
FLASH
Program
Memory
EE
Configuration
Data
Memory
TXRX
Registers
Bootloader
Control
Firmware
Data Bus
A FLASH Bootloader for PIC16 and PIC18 Devices

PIC18LF2515-I/SP 数据手册 PDF

PIC18LF2515-I/SP 数据手册
Microchip
376 页, 6074 KB
PIC18LF2515-I/SP 用户编程手册
Microchip
56 页, 385 KB
PIC18LF2515-I/SP 其它数据手册
Microchip
24 页, 214 KB
PIC18LF2515-I/SP 应用笔记
Microchip
38 页, 813 KB
PIC18LF2515-I/SP 产品修订记录
Microchip
2 页, 111 KB
PIC18LF2515-I/SP 其他参考文件
Microchip
1 页, 141 KB

PIC18LF2515 数据手册 PDF

PIC18LF2515-I/SO
数据手册
Microchip
MCU 8Bit PIC RISC 48KB Flash 2.5V/3.3V/5V 28Pin SOIC W Tube
PIC18LF2515-I/SP
数据手册
Microchip
MCU 8Bit PIC18 PIC RISC 48KB Flash 2.5V/3.3V/5V 28Pin SPDIP Tube
PIC18LF2515T-I/SO
数据手册
Microchip
MCU 8Bit PIC18 PIC RISC 48KB Flash 2.5V/3.3V/5V 28Pin SOIC W T/R
PIC18LF2515-E/SP
数据手册
Microchip
28/40/44Pin Flash Microcontrollers with 10Bit A/D and nanoWatt Technology
PIC18LF2515-E/SO
数据手册
Microchip
28/40/44Pin Flash Microcontrollers with 10Bit A/D and nanoWatt Technology
PIC18LF2515-EML
数据手册
Microchip
28/40/44Pin Flash Microcontrollers with 10Bit A/D and nanoWatt Technology
PIC18LF2515-IML
数据手册
Microchip
28/40/44Pin Flash Microcontrollers with 10Bit A/D and nanoWatt Technology
PIC18LF2515-IPT
数据手册
Microchip
28/40/44Pin Flash Microcontrollers with 10Bit A/D and nanoWatt Technology
PIC18LF2515-E/ML
数据手册
Microchip
28/40/44Pin Flash Microcontrollers with 10Bit A/D and nanoWatt Technology
PIC18LF2515-EPT
数据手册
Microchip
28/40/44Pin Flash Microcontrollers with 10Bit A/D and nanoWatt Technology
Datasheet 搜索
搜索
百芯智造数据库涵盖1亿多个数据手册,每天更新超过5,000个PDF文件。
在线联系我们
黄经理 - 百芯智造销售经理在线,5 分钟前
您的邮箱 *
消息 *
发送