SparkFun Electronics Commentsurn:uuid:214d0e4e-f1b1-d287-ce26-ac5b4c9f82492024-03-28T13:23:00-06:00SparkFun ElectronicsCustomer #283090 on PGM-08702 - STK500 Compatible USB ProgrammerCustomer #283090urn:uuid:ddfcb38b-d74e-3c24-27be-b88a03e5522f2014-12-25T08:46:21-07:00<p>Did you find an answer? I need this as well.</p>
SlugEngineer on PGM-08702 - STK500 Compatible USB ProgrammerSlugEngineerurn:uuid:65bb9f67-fe75-a869-6f39-18a478a8be0f2014-10-05T18:07:33-06:00<p>Thanks a bunch! Also if you want to use this with XLoader, you must do the same!</p>
Customer #534421 on PGM-08702 - STK500 Compatible USB ProgrammerCustomer #534421urn:uuid:c6f3fbf1-f87e-141e-9ad8-5d8475e3abc92014-03-25T03:12:55-06:00<p>Just found the answer myself (in the user manual): no.</p>
Customer #534421 on PGM-08702 - STK500 Compatible USB ProgrammerCustomer #534421urn:uuid:e692786b-21d5-2890-9370-4e3a65110c202014-03-25T03:05:02-06:00<p>Does this device support High Voltage Serial Programming?</p>
BobCochran on PGM-08702 - STK500 Compatible USB ProgrammerBobCochranurn:uuid:e0049a16-886d-0659-179b-a35df96a3bc42014-02-16T15:16:38-07:00<p>I've done an initial test of this on a headless CentOS 6.5 x86_64 system that runs in runlevel 3 (meaning, it is non-GUI). This programmer expects the target to be externally powered. So give your target chip voltage from somewhere else. Connect programmer VCC and GND to the external voltage and GND supply.<p>To get a bash shell I simply ssh in to the box from another computer. I plugged the programmer in to the USB port and checked the dmesg output. It was discovered and assigned to the /dev/ttyACM0 device just fine. That device belongs to the 'dialout' group., so I added my unprivileged user to that group. Then I did:</p><pre><code>avrdude -p m32 -c stk500v2 -P/dev/ttyACM0
</code></pre><p>and it immediately recognized the Atmega32 it was connected to.</p><p>Over the next week I will try to actually program the Atmega.</p></p>
Customer #116385 on PGM-08702 - STK500 Compatible USB ProgrammerCustomer #116385urn:uuid:54e1094b-2a52-b417-1380-75e471ca4e722013-12-26T03:34:38-07:00<p>Does this programmer support the OSCCAL operation (i.e. the "-O" argument to avrdude)? I've got some chips that need their oscillators calibrated, and avrdude says that it is "...only supported on the STK500v2, AVRISP mkII, and JTAG ICE mkII hardware".<p>I've tried the STK500v2 emulation firmware on the BusPirate ( http://dangerousprototypes.com/2009/11/21/bus-pirate-stk500v2-avr-isp-firmware/ ), but that apparently doesn't have any support for the OSCCAL command (it just returns "unknown command").</p></p>
kysa91 on PGM-08702 - STK500 Compatible USB Programmerkysa91urn:uuid:cf03d25a-f6a1-b229-a15c-b423a1addf072012-04-05T21:40:44-06:00<p>hey does any one can tell me why my computer cannot find the STK500 driver. I usb cable is new and all softwares and code are functioning. can anyone help me please</p>
Customer #212912 on PGM-08702 - STK500 Compatible USB ProgrammerCustomer #212912urn:uuid:eb55b868-5f09-8851-08d5-bd08f0d8c3a32011-04-13T23:21:06-06:00<pre><code>#the following sets the expected FUSE settings. If you have no idea what
#you are doing, you might consider looking at the boards.txt for something
#that makes sense. Or go here for easy calculation of the bitmask based on
#the options you want--http://www.engbedded.com/fusecalc/ .
avrdude -c stk500v2 -p m328p -P /dev/tty.usbmodem641 -U lfuse:w:0xff:m \
-U hfuse:w:0xda:m -U efuse:w:0x05:m -b 115200
#the following writes the bootloader
avrdude -p m328p -c stk500v2 -P /dev/tty.usbmodem641 -b 115200 -D \
-U flash:w:/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/bootloaders/atmega/ATmegaBOOT_168_atmega328.hex
</code></pre>
Customer #212912 on PGM-08702 - STK500 Compatible USB ProgrammerCustomer #212912urn:uuid:4b98cc8f-4fc9-3fd1-5d1c-27fc3af1e7022011-04-13T23:20:47-06:00<p>If you are wanting to take an erased Atemga 328 and make it Arduino compatible, you can use avrdude with something like the following.<br>
#the following makes the chip writable for what we want to do<br>
#if this fails, the chip might be locked down too far and it will<br>
#need to be erased. you can't decrease the permissions. you<br>
#can only make them more strict. to increase the permissions<br>
#you have to wipe the chip.<br>
avrdude -p m328p -c stk500v2 -P /dev/tty.usbmodem641 -b 115200 -D -U lock:w:0x3F:m</p>
Customer #212912 on PGM-08702 - STK500 Compatible USB ProgrammerCustomer #212912urn:uuid:ae527cde-8680-0d2b-a7da-7cc52f7bd9832011-04-13T23:19:17-06:00<pre><code>avr500atmega328.build.f_cpu=16000000L
avr500atmega328.build.core=arduino
##############################################################
</code></pre>
Customer #212912 on PGM-08702 - STK500 Compatible USB ProgrammerCustomer #212912urn:uuid:cd513b0d-0bd6-d0f9-1c07-34b6932945302011-04-13T23:18:57-06:00<p>Then modify and/or add an entry to boards.txt (/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/boards.txt -- default location on OS X). The "upload.using" is the important part. It references the programmer.txt entry we just created. If you are modifying other entries, comment out the other upload options. e.g. upload.protocol, upload.maximum_size, and upload.speed. I added the following entry for the ATmega328:<br>
##############################################################<br>
avr500atmega328.name=AVR500v2 programmer with ATmega328<br>
avr500atmega328.upload.using=olimexisp<br>
avr500atmega328.bootloader.low_fuses=0xFF<br>
avr500atmega328.bootloader.high_fuses=0xDA<br>
avr500atmega328.bootloader.extended_fuses=0x05<br>
avr500atmega328.bootloader.path=atmega<br>
avr500atmega328.bootloader.file=ATmegaBOOT_168_atmega328.hex<br>
avr500atmega328.bootloader.unlock_bits=0x3F<br>
avr500atmega328.bootloader.lock_bits=0x3F<br>
avr500atmega328.build.mcu=atmega328p</p>
Customer #212912 on PGM-08702 - STK500 Compatible USB ProgrammerCustomer #212912urn:uuid:4db50511-f60c-4df4-02ce-6b488c31d5002011-04-13T23:18:33-06:00<p>To use this with the Arduino IDE you will need to add an entry to programmers.txt (/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/programmers.txt -- default location on OS X). It should look something like the following:<br>
olimexisp.name=AVR ISP 500 Olimex<br>
olimexisp.communication=serial<br>
olimexisp.protocol=stk500v2</p>
Customer #212912 on PGM-08702 - STK500 Compatible USB ProgrammerCustomer #212912urn:uuid:aed021f0-d59a-491f-579f-6cd3a470490a2011-04-13T23:08:18-06:00<p>This programmer worked out of the box for me on OS X 10.6.7. And it worked under Virtual Box running Windows XP SP3 and AVR Studio 4. The beta version of AVR Studio 5 does not yet support this programmer. Supposedly it will be supported in the final version.</p>
Customer #131786 on PGM-08702 - STK500 Compatible USB ProgrammerCustomer #131786urn:uuid:e96208ba-2eb6-3de6-1d70-689dec6159492011-02-18T14:42:18-07:00<p>I have received 5 PGM-08702 and it will not program the ATMega32A. It is not listed in the selection list. The programmer will program others processors if they are on the list. I have 4.18.684 AVR Studio. I will have to return the programmers if I can not program ATMega32A.</p>
brewer on PGM-08702 - STK500 Compatible USB Programmerbrewerurn:uuid:fa7e0402-f8f4-9bc3-5826-a4ac57183c702011-02-10T14:45:15-07:00<p>USB interfacing programmers usually cost a little bit more. At less cost, check out the USBtinyISP device KIT. The USBtinyISP is a -kit- you'll need to solder up, but it looks nice in that it also acts as a power -supply- to the board.<br>
Sparkfun does not carry the Adafruit USBtinyISP (you could suggest it to Sparkfun support...), or find it elsewhere.</p>
IllogicGate on PGM-08702 - STK500 Compatible USB ProgrammerIllogicGateurn:uuid:e124b458-ad96-b0cc-e056-6bfe384f54b82011-02-07T21:00:14-07:00<p>Why is this so expensive? I want to be able to do awesome stuffz with ATTinys without dyn-0-miting the bank...</p>
ptrandem on PGM-08702 - STK500 Compatible USB Programmerptrandemurn:uuid:50570fbb-72b2-dc50-6dc8-b4f7483a78c12011-01-28T20:39:00-07:00<p>I got this under the assumption that I could power the target circuit with this programmer ("no need for external power supply as it takes the power supply from USB" says the documentation on the Olimex site). However this doesn't seem to be the case. I'm using the 6-pin connector, which powers my target circuit just fine with the "real" STK500. Am I missing something? Can anyone verify this or shed some light?<br>
EDIT: After further reading, it seems that this programmer isn't designed to provide constant power to the target circuit, but it DOES provide its own power for the purposes of programming the target chip.</p>
echoskope on PGM-08702 - STK500 Compatible USB Programmerechoskopeurn:uuid:44c57683-6b3b-2b90-b1b1-04fe95acc5072010-07-27T23:14:48-06:00<p>If you want to use this programmer to burn the bootloader on an arduino ATmega328 you need to go into the programmers.txt file in the arduino hardware folder and change the STK500 to STK500v2 otherwise it will give you an error and won't burn :)</p>
Pearce on PGM-08702 - STK500 Compatible USB ProgrammerPearceurn:uuid:033024f6-8ae7-7343-e384-2f69747d66e32010-05-14T15:55:03-06:00<p>This has a much larger range of compatibility, the pocket programmer has problems when used on machines other than windows.</p>
villageidiot on PGM-08702 - STK500 Compatible USB Programmervillageidioturn:uuid:46fab281-3cb4-6897-e9cc-8bf454a1959c2010-05-12T21:16:33-06:00<p>What would I be able to do with this that I cannot with the "pocket programmer?" <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=9231" rel="nofollow">http://www.sparkfun.com/commerce/product_info.php?products_id=9231</a></p>
YellowFlower on PGM-08702 - STK500 Compatible USB ProgrammerYellowFlowerurn:uuid:0eeb6476-1301-51cf-8bdd-6ccb9f1549a72010-04-13T20:03:24-06:00<p>I use this on my XPS 1330 with Windows 7. works great</p>
eewestcoaster on PGM-08702 - STK500 Compatible USB Programmereewestcoasterurn:uuid:395c5a2d-b630-57bf-753b-a52754ab45b82010-03-10T17:13:51-07:00<p>How is it on a Windows box? Is it truly "fast and reliable" as the description says?</p>
Roshan on PGM-08702 - STK500 Compatible USB ProgrammerRoshanurn:uuid:5bdd9d74-f7de-29d9-ec12-06de975aa3952009-11-03T16:24:05-07:00<p>I've written up how to update the firmware from Linux:<br>
<a href="http://roshan.info/blog/2009/11/04/updating-the-firmware-of-an-olimex-avr-isp500-from-linux/" rel="nofollow">http://roshan.info/blog/2009/11/04/updating-the-firmware-of-an-olimex-avr-isp500-from-linux/</a></p>
davbeck on PGM-08702 - STK500 Compatible USB Programmerdavbeckurn:uuid:8cbbc56b-070e-d0a7-070d-ab369e98dbda2009-08-01T09:30:53-06:00<p>This board will work on Mac if you upgrade to the latest firmware. The link above is broken but you can find the firmware at <a href="http://www.olimex.com/dev/avr-isp500.html" rel="nofollow">http://www.olimex.com/dev/avr-isp500.html</a>. You will need a Windows machine to upgrade it though and you will need to follow the instructions in the manual exactly. I also had to let windows automatically install drivers after I put it in reset mode.</p>
dr2chase on PGM-08702 - STK500 Compatible USB Programmerdr2chaseurn:uuid:0fe244e0-acd3-cd8b-0648-a1333726538b2009-05-08T06:51:45-06:00<p>This is NOT a reliable choice for a Mac unless you can be sure the firmware is recent. Old firmware programmers won't talk with the Mac, which means that you can't upgrade the firmware from the Mac either -- you need a box running Windows XP to do the upgrade (though apparently XP on Parallels on Mac will get the job done).<br>
The symptom of "old firmware" is that the device shows up in System Profiler, but not in /dev. If the "Version" in System Profiler is 1.03 or less, the firmware is too old to work on a Mac.<br>
If you would rather use a soldering iron than Windows, a USBtinyISP kit might be a better choice for you.</p>