View Full Version : IgorPlug USB problems
thelackey
February 3rd, 2004, 08:06 AM
Hey, I'm building the IgorPlug USB device (http://www.cesko.host.sk/IgorPlugUSB/IgorPlug-USB%20(AVR)_eng.htm) and have hit a snag. I can't program the AT90S2323-10PC using the app and schematic provided at the bottom of Igor's site! I've quadruple checked the LPT programmer against the schematic, made sure the chip is facing the right direction, and I've checked the connections for continuity with a meter and found no problems. So I'm thinking it could be:
1) wrong Atmel chip
2) incompatible parallel port (i'll try another when i get off work)
3) maybe something in windows 2000 pro (i have XP at home)
4) wrong size crystal maybe?? (i'm using 12MHz)
the error I keep getting is "Programming verify error!" which tells me nothing. Any ideas?
Marsupial
February 3rd, 2004, 10:08 AM
did you continuity check for short circuits? I had some trouble at first with mine.
then you might have luck by changing the LPT port type in the BIOS, ECP is supposely better for it.
The 12 Mhz Xtal is great, and I don't think you would require anything with your OS, but you can try installing portIO
http://www.driverlinx.com/DownLoad/DlPortIO.htm
if none work, try another Atmel chip.
once the chip programmer was completely correct, I had no problems.
If I'm right, this is the error you get from having the programmation phase OK, but the reading phase not being able to get code from the chip. You might have it programmed, its worthed to give the chip a try even then.
thelackey
February 3rd, 2004, 05:22 PM
Found no shorts in the parallel programmer. I'll go ahead and build the interface to try the chip out, but if it doesn't work I'm not sure where to go from there. Thanks again mars!
}8^>
Marsupial
February 3rd, 2004, 09:30 PM
did you configure the LPT port to ECP in BIOS?
if its not working, there is always the chance the chip was DOA.
thelackey
February 6th, 2004, 07:13 AM
yes, i did change the port to ECP, but received the same error. i agree that the chip is probably the cause, but i'm using a socket and not soldering directly to the chip so i _should_ be able to return it to jameco (depending on their policy) even after i build the interface this weekend. i'll just have to see.
Marsupial
February 6th, 2004, 08:17 AM
using a socket is definately a good idea. Have you tried a different computer (and printer port)? When I programmed mine, it was working fine on my laptop, but I never managed to program the chip from my main computer. I figured I had misconfiguration, but never got it.
try the circuit to see if the USB catches on, if it don't try changing the chip.
thelackey
February 11th, 2004, 07:22 AM
ok, i made the device, installed the chip, right clicked on IgorUSB.inf and selected 'install,' and plugged into an open USB port. Igor's site says that xp should automagically ask for the location of the driver. Instead, it told me that it detected a USB device but did not recognize it, and to unplug and plug it back in. It didn't give me any options to locate the driver at all! I tried the device again. No go though! i tried to program the chip one last time and that still didn't work. I even went to the unknown device in the device list and tried to install the driver from the property sheet using 'Update Driver..."
So, unless anyone has any other suggestions i'll try to get a new chip.
Marsupial
February 11th, 2004, 05:08 PM
have you checked the connections on the device?
Windows will always call for an unknown device when you have a short on the +5V and any data lines on USB port... you can try that by placing a led between the red and green wires (proper direction needed) it will flash and you'll get the same error...
if the connections are tested OK, change the chip.
try to get a refund - it never worked.
thelackey
February 13th, 2004, 07:26 AM
I was wondering if the at90s2323-10pc chip is what I should be using. If so, i could just exchange it. If not, then i got the wrong chip and don't know where to find the right one. I'm appreciative of all the help by the way! Thanks!
-thelackey
Marsupial
February 13th, 2004, 08:44 AM
I think I just catched your problem...
while the at90s2323 chip is what you want, the pinout for the programmer is not the same. Look at the pinout identifiers and rewier your programmer.
the programmer is drawn for a at90s2313 chip, the one with extra pinds for leds and the like.
Once you rewired the programmer, all should be fine.
miked
February 15th, 2004, 12:25 AM
Also . . . .
You'll get more responses to your question if you post them in the Girder --> General forum . . . this forum has as its tagline "No Girder Questions Here."
Qquazil
February 15th, 2004, 12:51 AM
ahh, you have the small version of the chip. Yea, that one cant be programmed by the lpt programmer for some reason (at least thats what igor told me). your best bet would be to exchange it. (I tryed using other programers but ended up frying the chip)
thelackey
February 17th, 2004, 07:20 AM
-miked: i figured this would be the best place to put this topic because it's NOT a girder related discussion, also there was a previous topic on the same subject here. but you're right, more people would have read this thread in the General forum.
-Qquazil: what exactly do you mean by the "small" version? is this as opposed to the AT90S2313? if so, i cannot exchange my chip as jameco.com doesn't carry the 2313 (not that I found), so are there any ideas as to where i could find one?
-Marsupial: I used the schematic for the 2323 that is found in the "Help?" link on the programmer window. if you used the 2313 and yours worked, i may just switch to that as i'm simply ready to be done with this project.
also, any idea what the -10PC suffix means on the chip i have?
Marsupial
February 17th, 2004, 12:18 PM
the -10 means its intended at 10 Mhz, but we overclock it at 12 Mhz. That is for USB timing issues.
I have the "large" one, i.e. the 2313 and it works. I know the pinout is not the same between the 2313 and the 2323 so the programmer needs at least to be wired according to the small chip's pinout, but if Igor said its not working within the LPT programmer, its most likely that this model does not support that kind of programming.
ATMEGA chips are not all the same.
try and get it over digikey, worked for me. Fast and easy shipping.
Qquazil
February 17th, 2004, 07:16 PM
yea, small version is 2323, sorry bout that. Mouser.com or Digikey would probably be the place to get a 2313.
t0k
February 19th, 2004, 10:51 PM
1. go to your bios and change your parallel port type to ECP.
2. one thing to add to Igor's schematic of the LPT connection. connect all of the unused pins to ground.
good luck.
Apx
April 6th, 2004, 05:41 AM
man,i had exactly same problem as your's :)
it has been solved very easy :] just PRESS ON IT during programming(my chip was on "development board" - as Igor's- check it!).
dunno why,but it worked :] bullsh1t isnt it ? but that's the way it works...
P.S.Guys,dont think that i'm dumb "newb" in electronics and hammer is my favorite tool :)
P.P.S. i've tried 3 programming circuits & it didnt work.
i've just built Igor's circuit & pressed on the chip.i even didnt believed my eyes when i saw 100% notification... heh...just wondering...
hf guys.
thelackey
May 8th, 2004, 08:44 PM
I guess I should have posted an update. I completely abandoned the 2323 for the 2313 circuit. And guess what.....it still wouldn't program from my WinXP computer!! So, I emailed Igor and he said that on "some" WinXP computers this happens. His suggestion was to build another programming circuit and try they're stuff. Rather than build yet another circuit I decided to try another Windows OS. I tried a friend's Win98 computer and it worked like a charm! I haven't tried programming the 2323 from his computer yet, but the 2313 is working great!
Thanks for all the help everyone. Mars, you're awesome!
-thelackey
}8^>
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.