DiyLightAnimation

Hardware => Panther DMX Player => Topic started by: TexasStingray on December 11, 2013,

Title: PC Setup to Flash Panther Firmware
Post by: TexasStingray on December 11, 2013,
Note the Panther DMX Player from a coop comes already flashed with the latest version of the firmware. These instructions are in case you need to reflash it or if you did not get it in a coop.

To reflash the firmware on the Panther DMX Player (PDMXP) you need a programmer. I use a USBAsp programmer and a 10 pin to 6 pin adapter. You can find links in the Panther DMX Player hardware section of the DLA forum. You also need software to interface with the programmer. I use AVRDude that is bundled with the Arduino Software and this is what I will be covering here.

Download and Install the Arduino Software, AVRDude is bundled with it. It is available for download here ( http://arduino.cc/en/Main/Software ). You will also get a IDE for creating and compiling your own HEX files from source code should you want to. If you ever wanted to get technical and learn some easy basic hardware programming this is a good starting point.

Using AVRDude to burn firmware to the PDMXP. Using the AVRDude bundled with Arduino. Will create a windows batch file that will contains the command to burn the firmware to the PDMXP. Call it "PDMXPFirmware.bat" and copy the below code into it and save it.

<ArduinoSodtwareFolder>\hardware\tools\avr\bin\avrdude -c usbasp -p m328p -b 19200 -U flash:w:%1:i -U lock:w:0x0f:m
pause

I installed the Arduino 1.0.5  software on my D drive in a folder called arduino. The full path for me was like below.

D:\Arduino\arduino-1.0.5\hardware\tools\avr\bin\avrdude -c usbasp -p m328p -b 19200 -U flash:w:%1:i -U lock:w:0x0f:m

Now all I have to do is drag and drop the panther hex file or any ATMEL328PU compatable hex file onto my batch file to load it on the panther.

So all you have to do is plug in you programmer into your computer. It should show up under the devices of the device under the libusb-win32 devices as a USBasp device. Then plug the adapter in and connect it to the Panther note the notch should face away from the trigger connector and towards the RESERVED connector.

Then drag and drop your hex file on your bat file to upload a new firmware.

Hope this helps.
Title: Re: PC Setup to Flash Panther Firmware
Post by: Steve Gase on December 11, 2013,
Thanks for putting this together, Scott!