<< return to Pixycam.com

User Tools

Site Tools


wiki:v2:building_pixy_firmware

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revision Both sides next revision
wiki:v2:building_pixy_firmware [2018/04/09 21:52]
jfrench - Imported by DokuWiki Advanced Plugin
wiki:v2:building_pixy_firmware [2018/06/12 13:39]
pixycam
Line 5: Line 5:
 ====== Building Pixy Firmware ====== ====== Building Pixy Firmware ======
  
-Pixy currently uses [[http://​www.keil.com/​arm/​mdk.asp|Keil MDK-ARM]]. We were one of the first users of the LCP4300 series from NXP and Keil was the only toolchain with comprehensive support.+Pixy currently uses [[http://​www.keil.com/​arm/​mdk.asp|Keil MDK-ARM ​version 5]]. 
  
 Keil is basically free for university users, but costs real money for everyone else. Keil is basically free for university users, but costs real money for everyone else.
Line 11: Line 11:
 To compile the firmware with Keil, you just point the IDE to the "​workspace.uvmpw"​ workspace file in ~src/​device/​main\_m4. It will open a workspace with 4 different projects: main\_m4, main\_m0, libpixy\_m0,​ libpixy\_m4. Compile the 4 projects in this order: libpixy\_m4,​ libpixy\_m0,​ main\_m0, then finally the main\_m4 project. The main\_m4 project will create a firmware.hex output file that you can then upload into Pixy using [[wiki:​v2:​Uploading_New_Firmware|firmware upload mode]]. To compile the firmware with Keil, you just point the IDE to the "​workspace.uvmpw"​ workspace file in ~src/​device/​main\_m4. It will open a workspace with 4 different projects: main\_m4, main\_m0, libpixy\_m0,​ libpixy\_m4. Compile the 4 projects in this order: libpixy\_m4,​ libpixy\_m0,​ main\_m0, then finally the main\_m4 project. The main\_m4 project will create a firmware.hex output file that you can then upload into Pixy using [[wiki:​v2:​Uploading_New_Firmware|firmware upload mode]].
  
-If you'd like to modify or create your own firmware using a free tool from NXP (LPCXpresso),​ which uses GCC, please join our [[https://​groups.google.com/​forum/#​!forum/​pixy_firmware_sdk|firmware SDK group.]]+If you'd like to modify or create your own firmware using a (practically) ​free tool from NXP (LPCXpresso),​ which uses GCC, please join our [[https://​groups.google.com/​forum/#​!forum/​pixy_firmware_sdk|firmware SDK group.]] ​ ​LPCXpresso support for the Pixy2 firmware hasn't been added yet, but it should be (hopefully!) be straightforward.  ​
  
  
wiki/v2/building_pixy_firmware.txt ยท Last modified: 2018/06/12 13:41 by pixycam