====== Uploading New Firmware ====== Pixy uses a ROM-based algorithm to upload new firmware into flash memory over USB, which makes Pixy "unbrickable" - that is, you will //always// be able to recover Pixy from an unsuccessful firmware upload or a "bad" version of firmware. ==== The First Time You Upload Firmware ==== Start like this: - PixyMon is running on your computer. - You have your new firmware file available somewhere on your computer. You can find the latest version [[https://pixycam.com/downloads-pixy1/|here]]. Now do these steps (please): - Make sure Pixy is NOT plugged in to a USB cable. - If you haven't already, connect a USB cable to your computer:\\ {{wiki:img:35737130527030845b5159ee0b8320fc37b42ce9.jpg?150}} - Press and hold down the white button on top of Pixy. //While holding the button down,// connect Pixy to the USB cable from the previous step. Once the cable is connected, you can let go of the button. Holding the white button down while connecting Pixy to USB puts Pixy in "firmware upload mode". Since this is the first time you have uploaded firmware onto Pixy, your computer will go through a driver installation process. This is because Pixy uses a separate device driver for firmware upload, and your computer hasn't seen this device on its USB port before (Note: this only happens if you're using a Windows computer. If you're using a Mac or Linux machine, scroll down to the "Pixymon" section and skip this driver installation business). ==== Windows Vista, 7, or 8 ==== You should get a small message in the system tray similar to this one: {{wiki:img:2aa300553dedd76ba3f760ebc26ce81dd6f137d4.jpg}} Wait for the driver to finish installing, which shouldn't require any actions on your part, just some waiting. ==== Windows XP ==== You should get the New Hardware Wizard {{wiki:img:18a7a2c0e29adfdbca06140b45da362e9df0f9cf.jpg}} Click on "No, not this time" and then "Next". In the next dialog, *click on "Install the software automatically" and then "Next". {{wiki:img:6143428a963a7b90f6f7dc4d8b79736a1e86f229.jpg}} The driver will then be installed. Wait for this to finish before continuing. ==== PixyMon ==== In the PixyMon command/status window (at the bottom of the PixyMon window) you should see the message "Pixy programming state detected". If you don't see this message, the drivers may still be installing. Just wait a little more. Then a file selection dialog will appear. Browse to your new firmware file (it's a .hex file) and select it, then press **OK**. Pixy will then take the new program and write it into its flash memory. It's really quick -- it literally only takes 2 or 3 seconds. When it's done, you should see the "done!" message in the PixyMon command/status window, and the new firmware will start running. You're done! ==== The Next Time You Upload Firmware ==== The next time you upload firmware, the drivers will be installed, so you just need to initiate firmware upload mode by holding down the white button while plugging in the USB cable.