Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
izuael
PostPosted: Dec 15, 2007 - 02:58 AM
Hangaround


Joined: Nov 04, 2007
Posts: 142


i've been checking the tutorial for a while, and the attached links and i can't find a pcb. anyone care to spare one? thanks!
 
 View user's profile Send private message  
Reply with quote Back to top
lycanthrope
PostPosted: Dec 17, 2007 - 11:55 PM
Newbie


Joined: Dec 13, 2007
Posts: 8


well, after assembling the pure-wire-resistor version, buffer version, upgraded buffer, I assembled the 3-9-2007 version (330, transistor...)... and it works flawlessly on a desktop computer (as well as all other version). but not the same case on my laptop... I enabled ECP, cable is 15cm flat. tried removing 1K resistors on my target board(should the current be too low) - no help. And I have no other ideas... I have no serial available on my laptop, and I really should be able to program the device via laptop.

thanks... Sad
 
 View user's profile Send private message  
Reply with quote Back to top
Plons
PostPosted: Dec 18, 2007 - 12:09 AM
Raving lunatic


Joined: Nov 01, 2005
Posts: 6323
Location: Hilversum - the Netherlands

Sounds more like a OS-problem. WinXP requires a driver that allows direct control of the Parallel Port. I don't have it at hand ... soo do a bit of Googling.

And make sure that the targetAVR has 5V power. The PPPD use that.

Edit: one more thing you should check: what is the HW address of the PP on your laptop ? Depending on the software you use, you need to tell that software where it can "find" the port

_________________
Dragon broken ? Or problems with the Parallel Port Programmer ? Scroll down on my projects-page http://www.aplomb.nl/TechStuff/TechStuff.html for tips
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
lycanthrope
PostPosted: Dec 18, 2007 - 12:37 AM
Newbie


Joined: Dec 13, 2007
Posts: 8


hmm... I will look for the driver now. And yes, it's got 5.08V sharp, no problem there.

thanks!
 
 View user's profile Send private message  
Reply with quote Back to top
Plons
PostPosted: Dec 18, 2007 - 12:57 AM
Raving lunatic


Joined: Nov 01, 2005
Posts: 6323
Location: Hilversum - the Netherlands

I did some searching on my PC as well, but I can't find it.

Maybe it's sufficient to look up the address of the PP ..... If it's not $378, most likely the prog SW can't find it

_________________
Dragon broken ? Or problems with the Parallel Port Programmer ? Scroll down on my projects-page http://www.aplomb.nl/TechStuff/TechStuff.html for tips
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
izuael
PostPosted: Dec 18, 2007 - 06:55 PM
Hangaround


Joined: Nov 04, 2007
Posts: 142


hmm, not much of help here, so i'm changing strategy. i'm designing my own programmer around a hc245 chip (the one with Z and bidirectional outputs. I know i won't need bidirectional, but anyway..)..

so, from what i see from Plons' design, reset and miso should be enabled/disabled by gate 2 (pin 4) and mosi, sck and prog, from gate 1.
Is this a requirment? Can i enable all of them from one gate? Or do they need to be enabled/disable in such groups?

Next, i see that reset has three pins driving it, and the clock, two. again, is this is a requirment, or just to use all pins?

I guess the 330R/330p/330R filter is still needed. I'm thinking of adding a bunch of other leds and optocoupling the thing. But, is it ok if i remove Q1? Since it doesn't work as an inverter, and i'll have ltv847s optics before pin 10..

Finally, is the pinout correct:
pins 4/5 - high Z enable. I'll mix them in one pin, so I guess i'll use diode or's.

pin 6 - sck. This uses two pins on the hc244, i'll use one.

pin 7 - mosi. no changes
pin 8 - prog, no changes.
pin 9 - reset. uses 3 pins, i'll use one

pin 10 input, uses a bc547 transistor for (supposedly?) buffering, i'll use the optocoupler instead.

also, pins 2 and 3 link to pins 11 and 12 through 330 ohms resistances. are they required?

Again, i'll use hc245 ics for this since i have some on hand.

Thanks!

edit: oh, hi there Plons, i see you're still posting Very Happy
 
 View user's profile Send private message  
Reply with quote Back to top
lycanthrope
PostPosted: Dec 19, 2007 - 04:14 PM
Newbie


Joined: Dec 13, 2007
Posts: 8


Plons wrote:
I did some searching on my PC as well, but I can't find it.

Maybe it's sufficient to look up the address of the PP ..... If it's not $378, most likely the prog SW can't find it


hi... I tried the giveio, allowio, porttalk, userport... no luck with any.
Tried changing port addresses in BIOS, and accordingly changing pony settings - no luck.
Measured voltage levels - 3.4 to 5.0 V, and 0. Changing when invoking probe or read...

I am getting really frustrated here already Sad 5 days and no luck, all being my laptop playing smartass -.-

note: I tried on a desktop workstation of friends today again - the programmer works flawlessly

any ideas ANYONE?

thanks...
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Dec 19, 2007 - 04:30 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62292
Location: (using avr-gcc in) Finchingfield, Essex, England

lycanthrope wrote:
any ideas ANYONE?

The five days lost work has got to be worth more than the $34 an AVRISPmkII would have cost (IMHO!)

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
Plons
PostPosted: Dec 19, 2007 - 04:41 PM
Raving lunatic


Joined: Nov 01, 2005
Posts: 6323
Location: Hilversum - the Netherlands

izuael wrote:
Quote:
hmm, not much of help here, so i'm changing strategy. i'm designing my own programmer around a hc245 chip (the one with Z and bidirectional outputs. I know i won't need bidirectional, but anyway..)..
Plenty help ! And there are several designs posted. I am still using the old breadboard-version.
Re-designing ? Why ? Is a 245 better for this purpose in your opinion ?

lycanthrope, I understand the frustration. Since the programmer works fine on a desktop, it is something laptop-specific. But you sorted that out already.
Three options:
1. Download and install BascomAVR demo version. Webaddress and so on my website.
That installs the proper IO-driver for use with the STK200 and alikes.
2. Be smarter Wink
Use the PPPD to program a Mega8, and build a USB-programmer:
http://www.fischl.de/usbasp/ or
http://w3.ele.tue.nl/nl/ewinkel/studenten/knowledge_base/atmel_programmeren/
PM me if you need the files: I found those in my search for the IO-driver Smile
3. Get yourself a Butterfly, and install Dean's Buttload on it (search Academy section for Buttload). It works on a serial port, and if necessary you can adapt it to USB with a FTDI232R. Info on my website as well

Nard

_________________
Dragon broken ? Or problems with the Parallel Port Programmer ? Scroll down on my projects-page http://www.aplomb.nl/TechStuff/TechStuff.html for tips
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
lycanthrope
PostPosted: Dec 19, 2007 - 05:12 PM
Newbie


Joined: Dec 13, 2007
Posts: 8


@clawson: I agree, that way I would be merrily programming for 5 days already, but I simply find it more fun to do everything from scratch, both a learning and enjoyable experience...

@plons: I'll give bascom a try now, but I will make the usb programmer nontheless Smile thanks!
 
 View user's profile Send private message  
Reply with quote Back to top
lycanthrope
PostPosted: Dec 21, 2007 - 12:34 AM
Newbie


Joined: Dec 13, 2007
Posts: 8


@plons: was that a great idea or what? Smile) Bascom didn't work though, but USB programmer works flawlessly Wink
a biiiig thanks once again! Smile
 
 View user's profile Send private message  
Reply with quote Back to top
Plons
PostPosted: Dec 21, 2007 - 12:47 AM
Raving lunatic


Joined: Nov 01, 2005
Posts: 6323
Location: Hilversum - the Netherlands

Quote:
... but USB programmer works flawlessly Wink


You're welcome. Glad you got the USB-programmer working Exclamation
And thanks for letting this know.

Nard

PS My dear fellow freaks: these are the guys we're doing it for Smile

_________________
Dragon broken ? Or problems with the Parallel Port Programmer ? Scroll down on my projects-page http://www.aplomb.nl/TechStuff/TechStuff.html for tips
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
Plons
PostPosted: Feb 06, 2008 - 12:08 AM
Raving lunatic


Joined: Nov 01, 2005
Posts: 6323
Location: Hilversum - the Netherlands

Good news: see the first post in this thread ! Kanda released the latest software for these PPPD's as free download.

_________________
Dragon broken ? Or problems with the Parallel Port Programmer ? Scroll down on my projects-page http://www.aplomb.nl/TechStuff/TechStuff.html for tips
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
marlesus
PostPosted: Nov 22, 2008 - 08:03 PM
Newbie


Joined: Jul 09, 2008
Posts: 10


I need help! I've plugged the header from the programmer in the wrong STK200 male-header and now I can't connect to the starter kit.What could be the problem? Has the 74HC244 been burned?
 
 View user's profile Send private message  
Reply with quote Back to top
z.p.gaal
PostPosted: May 10, 2010 - 09:59 PM
Newbie


Joined: May 10, 2010
Posts: 1


As a practice I've created schematics and board files in eagle from [url] http://www.aplomb.nl/TechStuff/PPPD/PPPD%20English.html [/url] using smd components. (Note: the BC547 transistor was replaced by a similar smd transistor BC817)

Could a more advance engineer take a look at it please? I haven't built it yet, but I wish to.

link: http://dreamengine.svn.sourceforge.net/viewvc/dreamengine/trunk/pppd/
 
 View user's profile Send private message  
Reply with quote Back to top
GLinBoy
PostPosted: Aug 09, 2010 - 10:51 AM
Newbie


Joined: Jul 03, 2010
Posts: 6
Location: Iran-Tehran

Hi dude Smile
It's my design and i think that may usefull for you.
    NOTE: Program that use for design schematic & board is Altium Designer Summer 08 (Build 7.0.0.13815). I add PDF & PNG file for user of other program like Eagle.


More information on page of project:
Quote:
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits