USBLibrary

SwordfishUser.USBLibrary History

Hide minor edits - Show changes to output

Added line 28:
[[Attach:SFUSBv142.7z | Download USB Library V1.4.2 (7z format)]]
Deleted lines 27-28:
[[Attach:SFUSBv142.zip | Download USB Library V1.4.2 (previous version)]] \\
SFUSBv142.zip
Added lines 28-29:
[[Attach:SFUSBv142.zip | Download USB Library V1.4.2 (previous version)]] \\
SFUSBv142.zip
Deleted line 27:
Attach:SFUSBv142.zip
Added line 28:
Attach:SFUSBv142.zip
Deleted line 27:
[Attach:SFUSBv142.zip | Download Old version USB Library V1.4.2]]
Changed lines 28-29 from:
[[Attach:SFUSBv142.zip | Download Old version USB Library V1.4.2]] \\
SFUSBv142.zip
to:
[Attach:SFUSBv142.zip | Download Old version USB Library V1.4.2]]
Added lines 28-29:
[[Attach:SFUSBv142.zip | Download Old version USB Library V1.4.2]] \\
SFUSBv142.zip
Deleted lines 27-28:
[[Attach:SFUSBv142.zip | Download old version USB Library V1.4.2]] \\
SFUSBv142.zip
Added lines 28-29:
[[Attach:SFUSBv142.zip | Download old version USB Library V1.4.2]] \\
SFUSBv142.zip
May 15, 2017, at 02:38 PM by David Barker -
Added lines 4-10:

!!!Updated Code 15-05-2017


[[Attach:SFUSBv144.zip | Download USB Library V1.4.4]] \\
[[http://www.sfcompiler.co.uk/phpBB3/viewtopic.php?f=4&t=2056 | forum post]] describing changes

Changed lines 2-6 from:
[[http://www.sfcompiler.co.uk/wiki/wiki-uploads/Profiles/JerryMessina/SFUSBv142.zip | Download USB Library]] \\
SFUSBv142.zip

Note: Some bug fixes for the above library can be found  [[http://sfcompiler.co.uk/phpBB3/viewtopic.php?f=4&t=1784 | here.]]

to:
[[Attach:SFUSBv143.zip | Download USB Library V1.4.3]] \\
SFUSBv143.zip
Changed lines 6-9 from:


*Support for all current 30 18F USB devices, including 18F2550, 18F4550, 18F2553, 18F4553, 18F2455, 18F4455, 18F2458, 18F4458, 18F2450, 18F4450,18F14K50, 18F13K50, 18F67J50, 18F87J50, 18F66J50, 18F86J50,  18F66J55, 18F86J55, 18F65J50, 18F85J50,18F24J50, 18F44J50, 18F25J50, 18F45J50,18F26J50, 18F46J50, 18F26J53, 18F46J53, 18F27J53, 18F47J53
* New
USB Extended RAM functionality
to:
*NEW - support for K50 and J94 families
*NEW - support for SF protected regions
, adding the ability to use all available ram without resorting to special tricks. No more 'absolute' and EXTENDED_RAM work arounds required.

*Supports all current 45 18F
USB devices, including 18F2550, 18F4550, 18F2553, 18F4553, 18F2455, 18F4455, 18F2458, 18F4458, 18F2450, 18F4450,18F14K50, 18F13K50, 18F24K50, 18F25K50, 18F45K50, 18F24J50, 18F25J50, 18F26J50, 18F44J50, 18F45J50, 18F46J50, 18F65J50, 18F66J50, 18F67J50, 18F85J50, 18F86J50, 18F87J50, 18F26J53, 18F27J53, 18F46J53, 18F47J53, 18F66J55, 18F86J55, 18F65J94, 18F66J94, 18F67J94, 18F85J94, 18F86J94, 18F87J94, 18F95J94, 18F96J94, 18F97J94, 18F66J99, 18F86J99, 18F96J99
* SF protected region support for improved ram memory usage
Changed lines 12-14 from:
* Ability to use HID ReadReport() and WriteReport functions with or without extended RAM
* Device-specific code isolated to two files: usbmem.bas and usbsfr
.bas
* Various bug fixes to USBSystem.bas
to:
* Ability to use custom HID ReadReport() and WriteReport functions. Custom reports now use their own file.
* Device-specific code isolated to three files: usbmem
.bas, usbsfr.bas, and usbclock.bas
* Supports easier customization without having to edit base files
* Various bug fixes to USBSystem.bas, and bug fixes to v1.4.2 USB library
Changed lines 17-25 from:
* An updated version of the Microchip HidBootLoader.exe application program with the ability to allow/prevent changes to the EEPROM and UserID areas, as well as the Config area. App also allows changing VID and PID without recompiling source. (source included, VS C++ 2010 Express)

The code has been tested with 18F2553
, 18F2450, 18F46J50, and 18F14K50 devices, in interrupt and polled mode for both HID and CDC functions, with and without Extended RAM, and with and without the included SF HIDbootloader18F.

!!!Please Note
Some memory layouts (such as the 47J53) remain untested, so [[http://www.sfcompiler.co.uk/forum/viewtopic.php?t=1472 | please let me know]] if any issues pop up.

!!!Coding Style
You may notice a lot of source code changes, such as always using '()' for subs and function calls, removing block comments, etc. Much of this is purely a personal formatting preference and was done to help me understand the modules. Hopefully, it won't be a big deal.
to:
* An updated version of the Microchip HidBootLoader.exe application program with the ability to allow/prevent changes to the EEPROM and UserID areas, as well as the Config area. App also allows changing VID and PID without recompiling source, and can be set in a custom INI file (source included, VS C++ 2010 Express). A 64-bit version is included.

The code has been tested with 18F2553
, 18F14K50, 18F47J53, 18F87J94, and 18F45K50
Added lines 4-5:

Note: Some bug fixes for the above library can be found  [[http://sfcompiler.co.uk/phpBB3/viewtopic.php?f=4&t=1784 | here.]]
August 21, 2011, at 07:08 PM by David Barker -
Added line 7:
August 21, 2011, at 07:07 PM by David Barker -
Changed line 8 from:
* New USB Extended Ram functionality
to:
* New USB Extended RAM functionality
Changed line 10 from:
* Ability to use HID ReadReport() and WriteReport functions with or without Extended Ram
to:
* Ability to use HID ReadReport() and WriteReport functions with or without extended RAM
August 21, 2011, at 07:06 PM by David Barker -
Changed lines 7-15 from:
*support for all current 30 18F USB devices, including 18F2550, 18F4550, 18F2553, 18F4553, 18F2455, 18F4455, 18F2458, 18F4458, 18F2450, 18F4450,18F14K50, 18F13K50, 18F67J50, 18F87J50, 18F66J50, 18F86J50,  18F66J55, 18F86J55, 18F65J50, 18F85J50,18F24J50, 18F44J50, 18F25J50, 18F45J50,18F26J50, 18F46J50, 18F26J53, 18F46J53, 18F27J53, 18F47J53
* new USB Extended Ram functionality
* ability to switch between interrupt and polled mode without source code changes
* ability to use HID ReadReport() and WriteReport functions with or without Extended Ram
* device-specific code isolated to two files: usbmem.bas and usbsfr.bas
* various bug fixes to USBSystem.bas
* a SF port of the Microchip HID bootloader with support for all chips (SF source provided)
* an updated version of the Microchip HidBootLoader.exe application program with the ability to allow/prevent changes to the EEPROM and UserID areas, as well as the Config area. App also allows changing VID and PID without recompiling source. (source included, VS C++ 2010 Express)
to:
*Support for all current 30 18F USB devices, including 18F2550, 18F4550, 18F2553, 18F4553, 18F2455, 18F4455, 18F2458, 18F4458, 18F2450, 18F4450,18F14K50, 18F13K50, 18F67J50, 18F87J50, 18F66J50, 18F86J50,  18F66J55, 18F86J55, 18F65J50, 18F85J50,18F24J50, 18F44J50, 18F25J50, 18F45J50,18F26J50, 18F46J50, 18F26J53, 18F46J53, 18F27J53, 18F47J53
* New USB Extended Ram functionality
* Ability to switch between interrupt and polled mode without source code changes
* Ability to use HID ReadReport() and WriteReport functions with or without Extended Ram
* Device-specific code isolated to two files: usbmem.bas and usbsfr.bas
* Various bug fixes to USBSystem.bas
* A Swordfish port of the Microchip HID bootloader with support for all chips (source code provided)
* An updated version of the Microchip HidBootLoader.exe application program with the ability to allow/prevent changes to the EEPROM and UserID areas, as well as the Config area. App also allows changing VID and PID without recompiling source. (source included, VS C++ 2010 Express)
Added line 18:
!!!Please Note
Added line 21:
!!!Coding Style