I noticed that work has been done getting the Pixy Cam firmware compiling with GCC. So, I figured I would try it out. I downloaded LPCXpresso, and managed to get the code on the github (the revision with the commit message “Fix: pixy_init() now returns a value.”) to compile, and it popped out a video.hex file.
Now, for the other firmware hex files (such as the one on the site under the files tab), I could just program it via PixyMon. However, when I tried to do that with the video.hex outputted from gcc, I got the error “invalid address range” (Screenshot is attached: CantProgram.png). And then, if it matters, then a never ending loop of “pixy Detected. Error: Can’t get firmware version” (CantGetFirmware.png). The pixy cam is still operational when I unplug and plug it back into the USB port, so I didn’t brick it :P.
So… Did I screw something up, or is the Pixy Cam not ready to be programmed with the .hex file from GCC just yet?
Other information:
PixyMon version: 0.1.49
Pixy Camera Firmware: 0.1.44
Operating System: Windows 8.1 64-bit.
Thanks!