Close

Microchip Libraries for Applications and license Apache 2.0 and other news.

A project log for Access B

Create applications in Visual Studio C# that can communicate with a 18F2550 and use it's peripherals

omarOmar 07/03/2015 at 23:520 Comments

Hi to all, today I have two updates:

First the bad, I last night I found a problem with SPI transference in PIC firmware: it wont work normally if you want to read more bytes than you will transmit, that's because the main FOR loop is dependen only in the numer of bytes to be received, and you know that SPI is an exchange of bytes if you send data also you will receive data, so if you want to read 2 bytes and sent 5 you only sent 2 bytes, I must solve that.

The second is something good, when I decided to upload the source files to GitHub there is a step where you select a license... in that step I begin questioning me "what kind of license I must use?" and "Microchip really want that his source files were distributed by me?" then I do the most logic thing... ask Microchip about that... They responded to me in a couple of days telling me that I can use Apache version 2.0 license in GitHub and then asked me about the list of files that I want to distribute in my project that basically are all files for USB HID custom demo for 18F2550, I send the project in a zip file containing all the files (packaged form) in a couple of days they sent me back almost all the source files nedeed relicensed to Apache 2.0, I say almost all for my mistake, there are two source files that I modified and renamed, so they don't see those files and they don't send me a relicensed versions of those, I email again explaining my mistake and requesting those two files. When I have all the relicensed files I will rebuild the project in MPLABX and upload the project on GitHub.

So with source files licensed with Apache 2.0 for HID custom Device I can distribute the original files, modify and distribute the modified versions without problems.

Stay alert for the Firmware source files update.

Discussions