A MSD (Mass Storage Device) USB bootloader for a PIC18F47J53 with an external SPI flash chip. I'm writing this primarily for my MPPT Solar Charger but the code is rather universal.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 6bb6a80 Oct 7, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DiffTool Python tool for finding differences in two MPLAB memory file added. U… Jul 9, 2018
RaspberryPi v0.4.0: Bootloader size increased to 0xBFFF. File access is now very … Oct 2, 2018
dist/default/production Configuration bits moved to separate file. Bug in app_device_custom_h… Oct 7, 2018
nbproject Configuration bits moved to separate file. Bug in app_device_custom_h… Oct 7, 2018
.gitignore Almost working but not quite there. Writes hex file to internal flash… Jul 8, 2018
Calibration.xlsx Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
Makefile Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
api.c v0.0.1: hardware_config.h and application_config.h added. Files synch… Oct 5, 2018
api.h v0.0.1: hardware_config.h and application_config.h added. Files synch… Oct 5, 2018
app_device_custom_hid.c Configuration bits moved to separate file. Bug in app_device_custom_h… Oct 7, 2018
app_device_custom_hid.h Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
app_device_msd.c Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
app_device_msd.h Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
application_config.h Configuration bits moved to separate file. Bug in app_device_custom_h… Oct 7, 2018
bootloader.c v0.4.0: Bootloader size increased to 0xBFFF. File access is now very … Oct 2, 2018
bootloader.h Bootloader can be deployed now. Starts up in bootloader mode if pushb… Jul 9, 2018
configuration_bits.h Configuration bits moved to separate file. Bug in app_device_custom_h… Oct 7, 2018
display.c Configuration bits moved to separate file. Bug in app_device_custom_h… Oct 7, 2018
display.h Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
external_flash.c v0.2.2: FAT16 implementation largely rewritten. Much cleaner and well… Sep 13, 2018
external_flash.h More work done on the API Aug 13, 2018
fat16.c v0.4.0: Bootloader size increased to 0xBFFF. File access is now very … Oct 2, 2018
fat16.h v0.4.0: Bootloader size increased to 0xBFFF. File access is now very … Oct 2, 2018
fileio.h Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
fileio_media.h Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
flash.c v0.0.1: hardware_config.h and application_config.h added. Files synch… Oct 5, 2018
flash.h v0.3.0: File access via buffer implemented. Code range increased from… Sep 15, 2018
hardware_config.h v0.0.1: hardware_config.h and application_config.h added. Files synch… Oct 5, 2018
hex.c v0.4.0: Bootloader size increased to 0xBFFF. File access is now very … Oct 2, 2018
hex.h Started implementing bootloader. Recognizes file (and file size) corr… Feb 19, 2018
i2c.c v0.0.1: hardware_config.h and application_config.h added. Files synch… Oct 5, 2018
i2c.h v0.0.1: hardware_config.h and application_config.h added. Files synch… Oct 5, 2018
internal_flash.c v0.4.0: Bootloader size increased to 0xBFFF. File access is now very … Oct 2, 2018
internal_flash.h v0.4.0: Bootloader size increased to 0xBFFF. File access is now very … Oct 2, 2018
main.c v0.0.1: hardware_config.h and application_config.h added. Files synch… Oct 5, 2018
os.c v0.0.1: hardware_config.h and application_config.h added. Files synch… Oct 5, 2018
os.h v0.0.1: hardware_config.h and application_config.h added. Files synch… Oct 5, 2018
spi.c v0.0.1: hardware_config.h and application_config.h added. Files synch… Oct 5, 2018
spi.h SPI slave communication finally working but API not yet fully tested. Aug 23, 2018
sync.ffs_db Configuration bits moved to separate file. Bug in app_device_custom_h… Oct 7, 2018
system.c Configuration bits moved to separate file. Bug in app_device_custom_h… Oct 7, 2018
system.h Code cleaned up. RTCC code removed. API rewritten from scratch and se… Jul 26, 2018
todo.txt Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
ui-luke_hp.c Code cleaned up. RTCC code removed. API rewritten from scratch and se… Jul 26, 2018
ui.c v0.0.1: hardware_config.h and application_config.h added. Files synch… Oct 5, 2018
ui.h Code cleaned up. RTCC code removed. API rewritten from scratch and se… Jul 26, 2018
usb.h Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
usb_ch9.h Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
usb_common.h Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
usb_config.h Started implementing bootloader. Recognizes file (and file size) corr… Feb 19, 2018
usb_descriptors.c Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
usb_device.c Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
usb_device.h Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
usb_device_hid.c Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
usb_device_hid.h Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
usb_device_local.h Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
usb_device_msd.c Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
usb_device_msd.h Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
usb_events.c Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
usb_hal.h Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018
usb_hal_pic18.h Initial commit. Does not even compile yet. Also, there are unnecessar… Jan 4, 2018