The PIC16F1454 microcontroller is an aggressively priced (under $1.50 in single quantity and under $1.00 in larger quantities) USB-enabled microcontroller from Microchip. It is also able to discipline its internal RC oscillator using the USB interface, allowing the designer to forgo an external crystal (further enhancing the cost advantage over other vendors' microcontrollers).
No example bootloader source code was provided by Microchip for this device family. I had to write my own, and this project shares that C source code.
The (legacy) C source code for this bootloader uses the first 4096 words (half) of flash memory due to the available hardware options.
However, there is now a [new 512 word bootloader](https://github.com/majbthrd/PIC16F1-USB-DFU-Bootloader) that is written in assembly code and uses only 512 words, leaving 93.7% of the flash memory available for the user.
The C code bootloader of this legacy project operates as a vendor-defined HID USB device, meaning it is compatible with multiple OSes and requires no drivers. The [new bootloader](https://github.com/majbthrd/PIC16F1-USB-DFU-Bootloader) operates as a DFU USB device, also making it compatible with multiple OSes and using existing download software.
This project now also includes several example USB applications written for the PIC16F1454 using the XC8 compiler; see "example-apps" directory and Wiki for details.
没有合适的资源?快使用搜索试试~ 我知道了~
用于 PIC16F1454 系列微控制器 的开源 C 引导加载程序_C语言_代码_相关文件_下载
共137个文件
h:49个
c:28个
makefile:13个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 96 浏览量
2022-07-07
23:33:31
上传
评论
收藏 1.22MB ZIP 举报
温馨提示
IC16F1454 微控制器是 Microchip 推出的支持 USB 的微控制器。它还能够使用 USB 接口调节其内部 RC 振荡器,从而允许设计人员放弃外部晶体(进一步增强了与其他供应商微控制器相比的成本优势)。 Microchip 没有为此器件系列提供示例引导加载程序源代码。我必须自己编写,这个项目共享 C 源代码。 由于可用的硬件选项,此引导加载程序的(旧版)C 源代码使用闪存的前 4096 个字(一半)。 但是,现在有一个新的 512 字引导加载程序,它是用汇编代码编写的,仅使用 512 字,为用户留出了 93.7% 的闪存可用。 这个遗留项目的 C 代码引导加载程序作为供应商定义的 HID USB 设备运行,这意味着它与多个操作系统兼容并且不需要驱动程序。新的引导加载程序作为DFU USB 设备运行,还使其与多个操作系统兼容并使用现有的下载软件。 该项目现在还包括几个使用 XC8 编译器为 PIC16F1454 编写的示例 USB 应用程序; 更多详情、使用方法,请下载后阅读READ
资源推荐
资源详情
资源评论
收起资源包目录
用于 PIC16F1454 系列微控制器 的开源 C 引导加载程序_C语言_代码_相关文件_下载
(137个子文件)
usb.c 47KB
usb.c 46KB
usb.c 46KB
usb.c 44KB
usb.c 44KB
usb.c 44KB
hid-libusb.c 36KB
usb_descriptors.c 10KB
usb_cdc.c 9KB
main.c 9KB
usb_descriptors.c 9KB
usb_descriptors.c 8KB
usb_descriptors.c 8KB
usb_descriptors.c 7KB
main.c 7KB
usb_descriptors.c 6KB
main.c 6KB
main.c 6KB
usb_hid.c 5KB
usb_hid.c 5KB
usb_hid.c 5KB
usb_hid.c 5KB
usb_hid.c 5KB
main.c 5KB
main.c 4KB
sqtp-numgen.c 3KB
usb_helpers.c 3KB
usb_helpers.c 633B
mchpcdc.cat 8KB
download.cpp 10KB
hidtest.cpp 5KB
download 546KB
usb.h 24KB
usb.h 23KB
usb.h 23KB
usb.h 23KB
usb.h 23KB
usb.h 23KB
usb_hal.h 19KB
usb_hal.h 19KB
usb_hal.h 19KB
usb_hal.h 19KB
usb_hal.h 19KB
usb_hal.h 19KB
usb_cdc.h 19KB
usb_cdc.h 18KB
usb_cdc.h 18KB
usb_cdc.h 18KB
usb_cdc.h 18KB
usb_cdc.h 18KB
hidapi.h 13KB
usb_hid.h 12KB
usb_hid.h 12KB
usb_hid.h 12KB
usb_hid.h 12KB
usb_hid.h 12KB
usb_hid.h 12KB
usb_ch9.h 7KB
usb_ch9.h 7KB
usb_ch9.h 7KB
usb_ch9.h 7KB
usb_ch9.h 7KB
usb_ch9.h 7KB
usb_microsoft.h 7KB
usb_microsoft.h 7KB
usb_microsoft.h 7KB
usb_microsoft.h 7KB
usb_microsoft.h 7KB
usb_microsoft.h 7KB
usb_config.h 4KB
usb_config.h 4KB
usb_config.h 4KB
usb_config.h 4KB
usb_config.h 4KB
usb_config.h 3KB
usb_winusb.h 2KB
usb_winusb.h 2KB
usb_winusb.h 2KB
usb_winusb.h 2KB
usb_winusb.h 2KB
usb_winusb.h 2KB
mmouse.hex 22KB
cdc-pic16f1459.hex 19KB
cdc-pic16f1454.hex 19KB
mouseplay.hex 18KB
passfob.hex 18KB
bootloader-v1.03.hex 18KB
bootloader-v1.02.hex 17KB
customhid.hex 17KB
mchpcdc.inf 4KB
mfootkey.jpg 81KB
mmblink0.jpg 79KB
mdualpic.jpg 77KB
moptolink2.jpg 71KB
mpicnrf.jpg 69KB
mmdapper2015.jpg 67KB
Makefile 3KB
Makefile 3KB
Makefile 3KB
Makefile 3KB
共 137 条
- 1
- 2
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9156
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功