Web Analytics
Datasheet 搜索 > 微控制器 > Microchip(微芯) > PIC16F616T-I/ST 数据手册 > PIC16F616T-I/ST 开发手册 5/24 页
PIC16F616T-I/ST
器件3D模型
11.001
导航目录
PIC16F616T-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

PIC16F616T-I/ST 数据手册

Microchip(微芯)
214 页 / 3.02 MByte
Microchip(微芯)
137 页 / 5.82 MByte
Microchip(微芯)
28 页 / 0.33 MByte
Microchip(微芯)
215 页 / 1.71 MByte
Microchip(微芯)
24 页 / 0.47 MByte
Microchip(微芯)
2 页 / 0.1 MByte

PIC16F616 数据手册

Microchip(微芯)
8位PIC®单片机与高电压支持和风扇控制功能 8-bit PIC® Microcontrollers with High Voltage Support and Fan Control Capabilities
Microchip(微芯)
MICROCHIP  PIC16F616-I/SL  微控制器, 8位, 闪存, AEC-Q100, PIC16F, 20 MHz, 3.5 KB, 128 Byte, 14 引脚, SOIC
Microchip(微芯)
MICROCHIP  PIC16F616-I/ST  微控制器, 8位, 闪存, AEC-Q100, PIC16F, 20 MHz, 3.5 KB, 128 Byte, 14 引脚, TSSOP
Microchip(微芯)
MICROCHIP  PIC16F616-I/P  微控制器, 8位, 闪存, AEC-Q100, PIC16F, 20 MHz, 3.5 KB, 128 Byte, 14 引脚, DIP
Microchip(微芯)
PIC16F610/616 8 位闪存微控制器Microchip 的 PIC16F 系列微控制器 8 位 MCU,将 Microchip 的 PIC® 体系架构融入到引脚和封装选件中,从节省空间的 14 引脚设备到功能丰富的 64 引脚设备。 带有基线、中级或增强型中级体系架构的设备提供多种不同的外围设备组合,可谓设计人员提供灵活性,并为应用提供选择。 PIC16F610/616 系列微控制器基于 Microchip 的中级内核,带 8 层深硬件堆栈和 35 个指令。 这些 MCU 提供高达 5 个 MIP、3.5 千字节程序存储器、128 字节 RAM 和 128 字节数据 EEPROM。 板载是一个可配置振荡器,工厂校准到 ±1% 精确度。### 微控制器功能最大 20 MHz CPU 速度 35 指令 8 级硬件堆栈 8 MHz 内部振荡器 - 可选频率范围 4 MHz 或 8 MHz 11 个输入/输出引脚 通电重置 (POR) 通电计时器 (PWRT) 振荡器启动计时器 (OST) 掉电重置 (BOR) 监控器计时器 (WDT) 在线串行编程 (ICSP) ### 外设8 通道 10 位模拟到数字转换器 – 仅限 PIC16F616 型号 两个比较器 8 位计时器 - PIC16F610 x 1、PIC16F616 x 2 一个 16 位计时器 ### PIC16 微控制器
Microchip(微芯)
MICROCHIP  PIC16F616-E/P  芯片, 微控制器, 8位, PIC16F, 20MHZ, DIP-14
Microchip(微芯)
MICROCHIP  PIC16F616T-I/SL  微控制器, 8位, 闪存, AEC-Q100, PIC16F, 20 MHz, 3.5 KB, 128 Byte, 14 引脚, SOIC
Microchip(微芯)
PIC16 系列 128 B RAM 3.5 kB 闪存 8位 CMOS 微控制器 - TSSOP-14
Microchip(微芯)
MICROCHIP  PIC16F616-E/SL  微控制器, 8位, 闪存, AEC-Q100, PIC16F, 20 MHz, 3.5 KB, 128 Byte, 14 引脚, SOIC
Microchip(微芯)
MICROCHIP  PIC16F616-I/ML  芯片, 8位微控制器, PIC16F系列, 20MHz, QFN-16
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件