The first 2 batches of BrewTroller Phoenix boards shipped with the ATMEGA 1284 chip instead of the ATMEGA 1284p chip. This, functionally, doesn't make a difference, but the 0022 IDE (Custom IDE Package) is not able to upload to this board. To counteract this issue, you have 2 options.
- Use the BrewTroller Update Utility (Coming soon)
- Use the 0022 IDE with the following extra steps
Follow these steps and you will be able to upload your custom firmware to the BrewTroller
- Download a "fresh" version of the 0022 IDE (windows only)
- Install AVRDUDE (instructions on LadyAda's website here)
- Open the 0022 IDE you installed
- Click File>Preferences
- Locate the preferences file at the bottom of the window that pops up. You can click it to open the folder
- Edit this file, and look for the build.verbose line and change it to true
- Now you can open the firmware as normal and make whatever changes you want. Once you have made those changes, click the verify button (looks like a play button) to build the hex file you will need later
- Since you have enabled Verbose output, you will see the location of the file in the box at the bottom of the IDE. You are looking for brewtroller.cpp.hex or something similar
- Navigate to that folder and copy the .hex file to your desktop. You may have to enable hidden folders to navigate here.
- Connect your BrewTroller to your PC with a USB cable and power on the Brewtroller
- Now open a command window (Start>Run>cmd)
- Type the following command:
avrdude -c arduino -p m1284 -b 115200 -P\\.\COM12 -U flash:w:brewtroller.cpp.hex
You may need to change the \\.\COM12 part to match your setup
- Hit enter, and the firmware should upload to your board.
If you are using a MAC or Linux machine, these instructions will not work. The 0022 IDE will not work on a MAC and will throw some compile errors that we are unable to fix. Linux has not been tested, but the avrdude command would be different.
IF you need any more help with this, email us or post on the forums and Facebook group! I hope this helps!