The board (attached img) is for a 2 axis gimbal (SimpleBGC) and somehow I managed to corrupt the bootloader. Now several sites have instructions on how to flash it using a USBisp programmer. The problem is that all the boards in the examples (this being one Loading...) have 6 pins (or 6 holes) in two rows of three. Would anybody know what they correspond to on my board?
Looks like you need one of these adapters. I use mine with an Atmel AVR ISP MKii for programming bootloaders and sketches with no bootloaders.
(MKii does not supply power, only monitors the level being used, so board must be provided power, or the MKii modified to supply power)
Has 6 pins that are pressed onto the TQFP package, you hold it in place while the programming occurs.
Why not purchase the hardware mentioned and then follow the instructions in the mentioned website?
There are 6 pins in what looks like a standard ISP header footprint on the PCB which should make the task relatively easy
As a possible method to get around the additional hardware requirements you might solder a six pin (2 X 3) standard male header and connect it to the programmer...
Then follow the rest of the flash procedure mentioned in the website you referenced...
Either do the above or just buy the appropriate hardware mentioned and follow the procedure to flash the new bootloader.
Simple...
The mistake I made was to not look at all of the pictures before offering simple advice that might n\be beyond the technical ability of the OP.
@ Crossroads... on the referenced website this was the picture I referenced http://www.infinity-hobby.com/main/images/article/201402-03xw/20140310xw04-02.jpg. and it clearly depicts a standard 6 pin ISP connector
I do apologize for the confusion I created but my idea is still a possible concept in that 'tack' soldering a 6 pin header to the ISP pins is no big deal...
Certainly less than that fancy clip on device that might be used once... Yes, I'v seen the part in several threads prior to this one and the sales price too.
What I fail to understand is what to do when/if the code is upgraded... scrap the old one or send it to the "Factory" for upgrading?.
IMO that part is a production device most useful to compensate for poor board layout... IE the lack of an ISP connector
I apologize for missing the photo of "His" board which is apparently much different that the "Solution" proposed on the referred.
website.
I keep a small stripboard with a 6 pin (2 X 3) and 6 small wires soldered to the pins just for that purpose...
WAAAY less expensive than the clip on device that was referenced... unless it is used as a production tool...
And yes I do make or repurpose boards with ATMega328P-AUs...
I would follow the traces from the ISP pins on the chip (15, 16, 17, 29) and see if they happen to show up at some other convenient connector or pads...
I went through that issue about 15 years back and I found with the 16CXXX controllers that I lost about 1 in 10 chips.. I tried pre-programmed devices as well as a "Glomper' Chip... Remember them?... and a connector to the programmer both were less than satisfactory and this fueled my comments... When the second order for that product was placed I got real intimate with Pogo pins...
I'd like to apologize for my comments about 6 pin connectors. I didn't look at the first picture picture carefully and "Ass u me d" that the board on the referred web page was the same as the OP was...
Tack Soldering 6 wires to a male two row X three pin header and soldering them to the relevant pins is for me no big deal.
I have received the tool and the USBasp, the problem is that the flashing tool has an 10 pin connector (2x5) while the USBasp (that was recommended on the website) has 6 (2x3). Is there an adapter or something else that can be done to connect the two?