Skip to content

krumboeck/pic18f-dfu-bootloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DFU bootloader for PIC18F

Note

THIS SOFTWARE COMES WITHOUT ANY WARRANTY!

License

LGPL v2.1 (DFU part use MIT)

Requirements

  • PIC182550 (it may work on other MCU with little code changes)
  • PICkit2 or any other Programmer
  • SDCC
  • GNU PIC Utilities (gputils)
  • SRecord
  • dfu-utils or any other DFU Software
  • Python

Bootloader Configuration

  • Edit bootloader/config.h
  • Edit bootloader/Makefile
  • Edit bootloader/fuses.h
  • Edit bootloader/usb/usb_descriptors.c

How to build

  • Type 'make' on project root directory

Install bootloader with PICkit2

pk2cmd -PPIC18F2550 -M -Fbootloader.hex -R

Flash application with dfu-utils

dfu-util -D example.dfu

What works

  • Download application
  • Upload
  • Interrupts
  • Leave bootloader and jump to application

ToDo

  • Fix various bugs

About

DFU Bootloader for PIC 18F2550 and similar devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published