Web Analytics
Datasheet 搜索 > 微控制器 > Microchip(微芯) > PIC16F630T-I/ST 数据手册 > PIC16F630T-I/ST 开发手册 5/24 页
PIC16F630T-I/ST
器件3D模型
5.429
导航目录
PIC16F630T-I/ST数据手册
Page:
of 24 Go
若手册格式错乱,请下载阅览PDF原文件
2010 Microchip Technology Inc. DS01310A-page 5
AN1310
FIGURE 6: “BOOTLOADER MODE”
BUTTON
The PC software attempts to communicate with the
bootloader using the bootload baud rate. If successful,
the PC receives the bootloader firmware revision and
the PIC device information, shown earlier in Figure 4.
Software Bootloader Re-Entry
The preceding procedure for manually executing the
re-entry sequence can be cumbersome when making
many incremental application firmware changes during
development. An easier alternative is to use the simple
software re-entry mechanism, given in the example
application firmware project.
That mechanism is shown in Example 1.
EXAMPLE 1: SOFTWARE BOOTLOADER
RE-ENTRY
This code continuously monitors the USART module’s
state for a framing error. When a framing error occurs,
the code verifies that the RXD pin is being held at a
logic low level, indicating that the host PC is most likely
transmitting an RS-232 Break state to request boot-
loader re-entry. The application responds by initiating a
software Reset of the microcontroller and passing
control to the bootloader start-up routine.
PIC16 microcontrollers, however, have no software
Reset instruction, so the application jumps to the boot-
loader start-up vector at address, 0h. To avoid leaving
unremovable return addresses on the call stack, jump-
ing to address 0h must be done only from the
application’s “main()” function.
Hardware Bootloader Re-Entry
The software re-entry procedure is useful for getting
started, but is not recommended for robust operation.
Should the application code have bugs, the application
firmware could lock up and prevent automatic
bootloader re-entry for the next code change.
Additionally, an actual framing error, triggered during
normal application serial communications, could
inadvertently cause unintended re-entry into Boot-
loader mode. Then, the application could not be
restarted without user intervention.
For a more robust, hardware-based bootloader re-
entry, the serial port RTS signal can be wired to control
the PIC device’s MCLR
Reset signal. This allows the
host PC software to automatically assert Break and
Reset signals, as described in “Manual Break and
Reset for Re-Entry”.
while(1)
{
if(PIR1bits.RCIF)
{
if(RCSTAbits.FERR &&
!PORTCbits.RC7)
{
// receiving BREAK
// state, soft reboot
// into Bootloader mode.
Reset();
}
}
(...)
}
“Bootloader Mode” Button

PIC16F630T-I/ST 数据手册

Microchip(微芯)
132 页 / 1.31 MByte
Microchip(微芯)
688 页 / 2.66 MByte
Microchip(微芯)
24 页 / 0.35 MByte
Microchip(微芯)
130 页 / 1.87 MByte
Microchip(微芯)
24 页 / 0.47 MByte
Microchip(微芯)
18 页 / 0.58 MByte
Microchip(微芯)
2 页 / 0.1 MByte

PIC16F630 数据手册

Microchip(微芯)
14引脚基于闪存的8位CMOS微控制器 14-Pin FLASH-Based 8-Bit CMOS Microcontrollers
Microchip(微芯)
MICROCHIP  PIC16F630-I/SL  微控制器, 8位, 闪存, AEC-Q100, PIC16F, 20 MHz, 1.75 KB, 64 Byte, 14 引脚, SOIC
Microchip(微芯)
MICROCHIP  PIC16F630-I/P  微控制器, 8位, 闪存, AEC-Q100, PIC16F, 20 MHz, 1.75 KB, 64 Byte, 14 引脚, DIP
Microchip(微芯)
MICROCHIP  PIC16F630-I/ST  微控制器, 8位, 闪存, AEC-Q100, PIC16F, 20 MHz, 1.75 KB, 64 Byte, 14 引脚, TSSOP
Microchip(微芯)
MICROCHIP  PIC16F630-E/P  微控制器, 8位, 闪存, AEC-Q100, PIC16F6xxx, 20 MHz, 1.75 KB, 64 Byte, 14 引脚, DIP
Microchip(微芯)
MICROCHIP  PIC16F630-E/SL  微控制器, 8位, 闪存, AEC-Q100, PIC16F6xxx, 20 MHz, 1.75 KB, 64 Byte, 14 引脚, SOIC
Microchip(微芯)
MICROCHIP  PIC16F630T-I/SL  微控制器, 8位, 闪存, PIC16F6xxx, 20 MHz, 1.75 KB, 64 Byte, 14 引脚, SOIC
Microchip(微芯)
PIC16 8位 微控制器 带1.75 KB闪存 采用14引脚TSSOP封装
Microchip(微芯)
MICROCHIP  PIC16F630-I/ML  微控制器, 8位, 闪存, AEC-Q100, PIC16F6xxx, 20 MHz, 1.75 KB, 64 Byte, 14 引脚, QFN
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件