Lefty,
I had a look at the files in your link.
The user manual shows that J1 is for power.
They also have zip files for 2 of Fischl's releases (2009-02-28 and 2006-12-29)
Given you are getting SCK warning, I'm guessing that your code may be the 2006-12-29 release
since the 2009-02-28 release has the SETISPSCK command and would not get the warning.
If so, your code is over 6 years old!
You guys should POUND on the vendors for shipping products with such old firmware.
There is no reason for it - Its all open source.
They could simply change the firmware build they use and make things better for new customers immediately.
For USBasp upgrades:
To be assured that a firmware update will work, it has more do with the connections and board layout
than the actual processor. i.e. just because the code uploads and runs on the processor doesn't mean it will function correctly.
You will first have to identify the processor on the board.
If the label has been sanded off (some vendors do this - which makes no sense on a open source product)
you will have use avrdude to get the signature and then lookup the part based on signature.
After that you will need to verify the board layout and how things are hooked up to the AVR.
The most critical pins are the pins connected to the LEDs, RESET, and the connection
for slow SCK.
Attached is the typical pinout for a atmega8/48/88.
To work with Fischl's firmware,
you need to verify these AVR pins:
This will take some careful looking at the traces on the PCB and may
require the use of a magnifying glass.
29/RESET - needs to connect to a jumper and then to the RESET pin on the ISP connector
(This is the programming jumper)
24/PC1 - this is connected to the Red LED
23/PC0 - this is connected to the Green LED
25/PC2 - This is the input pin for the slow SCK option jumper
(when grounded, it forces slow SCK)
If you have those connections, then the Fischl firmware should work.
I always build my own open source code since I like to know exactly
what I'm getting. You can use a prebuilt firmware .hex image.
Go the fischl site and get the zip image
http://www.fischl.de/usbasp/
If you extract the files, look down in
usbasp.2011-05-28/bin/firmware
in there you will find images for atmega48, atmega8, and atmega88
Note: that the atmega48 image is from 2009 vs the 2011 sources as the latest firmware
is too large to fit in the 4k space on the atmega48.
If you want to build your own atmega48 code image, you will
need to grab the 2009-02-28 zip image.
To upgrade the image, insert the programming jumper,
then connect up an ISP cable from your other ISP programmer
directly to your USBasp ISP connector.
My USBasp device has a 6 pin ISP connector but many have 10 pin connectors.
Make sure your USBasp has power - It can be powered from
USB or from the ISP connector (only one not both) depending on your
other ISP programmer being used.
Then simply use avrdude to upgrade your USBasp with the .hex you built
or the proper pre-built .hex image.
--- bill
