Computer Nerd Kev

Home|About|Projects|Links


Projects > USBify > Firmware

USBify Firmware Description

The USBify firmware is GPL licensed and uses modified versions of the following open-source libraries:

The code is built with the Microchip XC16 C compiler and the unofficial XC16++ C++ compiler.

Microcontroller: PIC24FJ64GB002 or PIC24FJ128GB202
Microcontroller Oscillator Frequency: 32MHz
Microcontroller CPU/Peripheral Clock Frequency: 16MHz
Clock Oscillator: Internal FRC oscillator
Compiler: xc16plusplus v1.33
Internal Modules Used: USB (Host), Output Compare PWM (OC1 & OC2), Program Flash Memory, UART2 (for debugging)
UART Speed: 9600 baud

To fit on the PIC24FJ64GB002 with the optimisation options available in the free XC16 compiler, Bluetooth support and serial debugging output needs to be disabled.

Downloads

The source code includes the parts of the USB Host Library 2.0 and TinyUSB HID Micro Parser libraries which are used (with lots of modifications), but not the Microchip libraries because the license for these doesn't allow redistribution (although they're offered for free download by Microchip). Modifications to the Microchip libraries are included in patch files that can be applied to the corresponding source directories. See the readme file for details.

You can also download the pre-built USBify Vectrex hex file for programming to a PIC24FJ128GB202 (Bluetooth is enabled, most serial debugging output is disabled), or browse the source code online.


Home|About|Projects|Links


Content Copyright Kevin Koster 2024