Compiling source code


Author Message
Gadget
Regular Member

Joined: 22/06/2011
Location: Australia
Posts: 70
Posted: 02:59am 24 Jun 2011      

Has anyone else tried to compile the source code?

I have been attempting to add some extra functionality to the firmware of these little beasts, but am having some difficulty with getting a fully working firmware.

I have setup set up mplab, C32 compiler, linker etc as per the instructions included in the source code (ref: comments at the start of main.c)

I can get the code to compile (albeit with a few compiler warnings, as mentioned by Geoff), the code successfully loads via the usb cable (note, I also included pins to the ICSP section and due to the layout my Pick Kit 3 does not fit )

Powering the board back up I can connect via the USB, and all appears to work, but when I connect using a keyboard and monitor, the picture is fine but the keyboard does not respond correcty. I can get the keyboard to work if I type really slowly and hold each key down longer than would be expected.
It looks almost like a timing issue, and I have tried using Geoff's source codes without any modifications (and I have tried all versions of the source).

Has anyone else tried this? and if so what results?

Thanks in advance

Terry