HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Jan 18, 2010, 05:40 AM
Registered User
United Kingdom, Bristol
Joined Aug 2008
1,767 Posts
Help!
AVR programmer broken! Help :)

First mistake :

Well i thought i'd upgrade my cheap 'ebay' avr programmer based on usbasp

Secound mistake :

Thought while i'd was changing mcu 48 atmel 8 tqf. Well why not use Avrdoper firmware for Usbasp. Couldn't find any users having any problems but didn't see anyone saying they had done it either....hmmm

Last mistake :

desoldered ok'ish tracks intact but lost 1 pin but could see little of it( ithought) put atmel8 on and guess what!?? Didn't work
No lights but power, windows can see it but unable too install driver ;(


Moral if it works leave it!!!

So have a printer port and no money or anytime soon for that matter.

Do i have any options ?

thx,Phil
SadSack is offline Find More Posts by SadSack
Reply With Quote
Sign up now
to remove ads between posts
Old Jan 18, 2010, 08:30 AM
Registered User
United Kingdom, Bristol
Joined Aug 2008
1,767 Posts
Ok

Well had look around and came up with this..



Using PonyProg can anyone see problem so far ?

Turns out maybe wrong fuse setting
SadSack is offline Find More Posts by SadSack
Reply With Quote
Old Jan 19, 2010, 09:55 AM
Registered User
United Kingdom, Bristol
Joined Aug 2008
1,767 Posts
well didn't work ;(

used 330r 100r? am reading it right ?
SadSack is offline Find More Posts by SadSack
Reply With Quote
Old Jan 19, 2010, 11:06 AM
"Simplify, then add lightness"
Raleigh,NC
Joined Nov 2000
2,700 Posts
I used PonyProg long ago with a parallel adapter but with a 74HC244 buffer. Should work with just the resistors, but the schematic you show doesn't look right. This schematic has the same pinout as the one I used with resistors instead of the buffer chip. http://www.scienceprog.com/simplest-...ga-programmer/

You also sometimes have to play with the BIOS setting for the parallel port. Think I had to set it to standard parallel port and not ECP or EPP.

PS Resistor values should not be critical.
jeffs555 is offline Find More Posts by jeffs555
Last edited by jeffs555; Jan 19, 2010 at 11:13 AM.
Reply With Quote
Old Jan 19, 2010, 07:30 PM
"Simplify, then add lightness"
Raleigh,NC
Joined Nov 2000
2,700 Posts
I found several sites with wiring like you first posted, but I don't think that wiring will work with ponyprog. It supposedly works with AvrDude if you specify the option "-c dapa". Better to rewire it like the link I posted because then it should work with PonyProg and also with AvrDude.
jeffs555 is offline Find More Posts by jeffs555
Reply With Quote
Old Jan 20, 2010, 04:20 AM
Registered User
United Kingdom, Bristol
Joined Aug 2008
1,767 Posts
Thanks for info

Tried again and failed with avrdude and others.

Guess i'll just have to save up.

Thx, Phil
SadSack is offline Find More Posts by SadSack
Reply With Quote
Old Jan 20, 2010, 06:44 AM
"Simplify, then add lightness"
Raleigh,NC
Joined Nov 2000
2,700 Posts
Did you get giveio installed? You wouldn't have needed it for AvrDude with the USB programmer, but need to have it installed to use avrdude with the parallel port. http://www.scienceprog.com/moving-fr...-without-pain/
jeffs555 is offline Find More Posts by jeffs555
Reply With Quote
Old Jan 20, 2010, 07:28 AM
Registered User
United Kingdom, Bristol
Joined Aug 2008
1,767 Posts
i did install giveio ...still have a break and another go in a bit.

Got a little side track wondering which programmer to get next
Dragon high on the list
SadSack is offline Find More Posts by SadSack
Reply With Quote
Old Jan 20, 2010, 08:28 AM
Dave the Rave
dmccormick001's Avatar
Joined Jun 2007
870 Posts
I tried to build one of the parallel dongles like the schematic you posted, and also one that used the 74HC244 buffer chip. My computer wouldn't recognize either one, never could connect. I read on one forum that "ringing" on the lines going to the port could cause problems, and that you needed to add resisitors to prevent it. There was an improved schematic provided, but I'd already spent a lot of time and a few bucks trying to build one, so I gave in and ordered an inexpensive USB unit. Digikey has them for around $35.

http://search.digikey.com/scripts/Dk...e=ATAVRISP2-ND
dmccormick001 is offline Find More Posts by dmccormick001
Reply With Quote
Old Jan 20, 2010, 08:32 AM
Registered User
United Kingdom, Bristol
Joined Aug 2008
1,767 Posts
just broke....10/$15 off flea bay, which get me out of a hole.
SadSack is offline Find More Posts by SadSack
Reply With Quote
Old Jan 21, 2010, 08:18 AM
Registered User
United Kingdom, Bristol
Joined Aug 2008
1,767 Posts
Well got it working kinda...
But PonyProg can't see Atmega 8 but if i push on can flash it and read off code
Big But can't write fuses right and so stuffed that up. Desoldered TQFP off yet again and tried too reset fuese but i guess heat finaly broke it and no more mcu's....Bugger

Well for any one watching i did all above but added this

changed from LPT1 > LPT2. I had used LPT.exe
Using that i could see that using LPT1 i could change any off the check boxs but using LPT2 i could.

Still didn't get me out of this hole but would if i had some PDIP 8's and problem with fuses could have just been my fault, never used PongProg before. More used too HFUSE=0xc9 LFUSE=0xef format less to go wrong

So thanks for help it just about help me out.

Phil
SadSack is offline Find More Posts by SadSack
Reply With Quote
Old Feb 07, 2010, 05:06 PM
Registered User
United Kingdom, Bristol
Joined Aug 2008
1,767 Posts
Well finaly got lpt lead sorted

Kinda new problem...

Well built USBTinyisp v2 and works fine. Still me being me would like to swap USB D+ D- around...
Well for the life of me can not complie HERE Hex file size is to big so fails

Would someone beable to help me make working toolchain ??

Thx phil
SadSack is offline Find More Posts by SadSack
Reply With Quote
Old Feb 07, 2010, 08:01 PM
"Simplify, then add lightness"
Raleigh,NC
Joined Nov 2000
2,700 Posts
I'm using USBTinyisp v1, but seem to remember having that problem when I tried to change something and rebuild it. Don't remember exactly what I did, but did create my own makefile and it builds on my PC with WinAvr 20081205. I just downloaded USBTinyisp v2 and plugged the 2.0 source files in with my makefile and it builds with 62 bytes to spare. Have attached a zip with the makefile and the 2.0 source files. It may work with other versions of WinAvr, but if not you can get 20081205 here. http://sourceforge.net/projects/winavr/files/
jeffs555 is offline Find More Posts by jeffs555
Last edited by jeffs555; Feb 07, 2010 at 08:26 PM.
Reply With Quote
Old Feb 08, 2010, 04:55 AM
Registered User
United Kingdom, Bristol
Joined Aug 2008
1,767 Posts
20081205

Quote:
Originally Posted by jeffs555 View Post
I'm using USBTinyisp v1, but seem to remember having that problem when I tried to change something and rebuild it. Don't remember exactly what I did, but did create my own makefile and it builds on my PC with WinAvr 20081205. I just downloaded USBTinyisp v2 and plugged the 2.0 source files in with my makefile and it builds with 62 bytes to spare. Have attached a zip with the makefile and the 2.0 source files. It may work with other versions of WinAvr, but if not you can get 20081205 here. http://sourceforge.net/projects/winavr/files/
Thanks very much for that and works!!
Well i swapped it for my files and changed Optimization level to -s and works a treat Happy days
Didn't work with winavr-20100110 winavr 20081205 works fine!


I'm using v2 hardware without the buffer...ordered wrong part, doh. So only V1
SadSack is offline Find More Posts by SadSack
Reply With Quote
Old Feb 08, 2010, 09:58 AM
Registered User
United Kingdom, Bristol
Joined Aug 2008
1,767 Posts
New Q: !

Well i got wrong part MM74HC126 when i should have got MM74HC125.

Well my thought is change code, sounds simple
So if i change code so instead of going high go low ? Does sound kinda right ?
Ok still need to figure out how to do it mind



is it possable or just get other part?
SadSack is offline Find More Posts by SadSack
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Question Free AVR Programmer dmccormick001 DIY Electronics 13 Aug 15, 2009 07:43 AM
Mini-HowTo DIY How to Permanently Fix Broken Programmer Roller/Knob for Specktrum DX6i kctrading Radios 0 Mar 05, 2009 10:41 AM
Discussion AVR Studio vs AVR GCC ASM clicky DIY Electronics 7 May 23, 2008 12:21 PM
Help! Recommendations on a AVR Programmer. Tophinater DIY Electronics 2 Mar 29, 2006 08:18 PM
Help! Home made AVR PRogrammer? PLZ HELP! csiga DIY Electronics 5 Dec 18, 2005 05:32 PM