Web Analytics
Datasheet
Teiledatenblatt > Microcontroller, MCU IC > Microchip > PIC18LF2620-I/SP Datenblatt-PDF > PIC18LF2620-I/SP Anwendungshinweis Seite 1/38
PIC18LF2620-I/SP
€ 7.13
Preis von AiPCBA

PIC18LF2620-I/SP Anwendungshinweis - Microchip

  • Hersteller:
    Microchip
  • Kategorie:
    Microcontroller, MCU IC
  • Fallpaket
    DIP-28
  • Beschreibung:
    MCU 8Bit PIC RISC 64KB Flash 2.5V/3.3V/5V 28Pin SPDIP Tube
Aktualisierte Uhrzeit: 2025-04-28 05:08:10 (UTC+8)

PIC18LF2620-I/SP Anwendungshinweis

Seite:von 38
PDF herunterladen
Neu laden
herunterladen
ã 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

PIC18LF2620-I/SP Datenblatt-PDF

PIC18LF2620-I/SP Datenblatt PDF
Microchip
412 Seiten, 15809 KB
PIC18LF2620-I/SP Benutzerreferenzhandbuch
Microchip
84 Seiten, 1402 KB
PIC18LF2620-I/SP Programmierhandbuch
Microchip
56 Seiten, 385 KB
PIC18LF2620-I/SP Anderes Datenblatt
Microchip
412 Seiten, 6091 KB
PIC18LF2620-I/SP Anwendungshinweis
Microchip
38 Seiten, 813 KB
PIC18LF2620-I/SP Notizdatei
Microchip
2 Seiten, 111 KB
PIC18LF2620-I/SP Andere Referenzen
Microchip
1 Seiten, 141 KB

PIC18LF2620 Datenblatt-PDF

PIC18LF2620-I/SO
Datenblatt PDF
Microchip
MCU 8Bit PIC RISC 64KB Flash 2.5V/3.3V/5V 28Pin SOIC W Tube
PIC18LF2620-I/SP
Datenblatt PDF
Microchip
MCU 8Bit PIC RISC 64KB Flash 2.5V/3.3V/5V 28Pin SPDIP Tube
PIC18LF2620T-I/SO
Datenblatt PDF
Microchip
MCU 8Bit PIC18 PIC RISC 64KB Flash 2.5V/3.3V/5V 28Pin SOIC W T/R
Datenblatt-PDF-Suche
Suche
100 Millionen Datenblatt-PDF, aktualisieren Sie mehr als 5.000 PDF-Dateien pro Tag.
Kontakt online
Bonnie - AiPCBA Sales Manager Online, vor 5 Minuten
Ihre E-Mail *
Nachricht *
Senden