Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 1st February 2008, 01:53 AM   (permalink)
Default

Quote:
Originally Posted by HerbertMunch
Has anyone else had any problems with the olimex clone, if so did you manage to fix them?
Yes, and solved them with a hook shot to the trash. Went PICkit2 and wished I had a time machine to correct the error of my ICD2 clone ways.
donniedj is offline   Reply With Quote
Old 1st February 2008, 09:35 AM   (permalink)
Default

Thanks everyone for your replies.

Quote:
Originally Posted by 3v0
We were all lowly students at one time. I remember digging it the sofa to find a few cents to buy resistors at Radio Shack.

You may be happier with a Junebug.

If you are at a U can can possibly get you hands on a digital scope. Take a look at what the various signals look like in real time.
Quote:
Originally Posted by blueroomelectronics
The schematic posted here is for your programmer, lets see if we can make it function.
Like 3V0 mentioned a scope would be a great tool but if you don't have one do you have a multimeter or logic probe?
What target board / PIC are you using? Can you post a photo?
It would appear to be the output stage of your ICD2.
First thing I would do is swap the 74HCT126 ICs and try it out, is the error the same or different.
Next remove all socketed ICs, check for pin or socket damage (a pencil eraser is handy here) and reseat the ICs.
Also carefully check for a dry solder joint, connectors can get them from constant unplugging / plugging so reheating the solder joint won't hurt it.

Quote:
Originally Posted by donniedj
Yes, and solved them with a hook shot to the trash. Went PICkit2 and wished I had a time machine to correct the error of my ICD2 clone ways.
I have access to only an analogue scope, but unfortunately Im doing the wrong course at uni: Computer science. Havent even had a whiff of electronics yet.

Whats better about the junebug? Can you still debug targets?

I have ruled out the boards involment in the problem. I have checked many differenent boards, they all will no longer go into debug mode, and they all program only about 30% of the time.

I have included my most recent board anyway.

Once again,
thanks very much.
Chris.
Attached Images
File Type: png Board.png (92.5 KB, 15 views)
File Type: png Schematic.png (207.4 KB, 9 views)
HerbertMunch is offline   Reply With Quote
Old 1st February 2008, 09:53 AM   (permalink)
3v0
Default

Yes the Junebug will debug targets. It is a clone of the PICkit2. See Microchip's site for the list of targets the PICkit2 can debug.

The Junebug includes an onboard target with a few do-dads you can play with. See http://www.blueroomelectronics.com/Junebug.htm

The schematics are included in the build instructions.
3v0 is offline   Reply With Quote
Old 1st February 2008, 03:35 PM   (permalink)
Default

Your old scope should work fine, try watching the PGC & PGD lines on the programming connector. Your target schematic looks good. Everything seems to be there and in the right place.
Does MPLAB think your VPP is ok? Is VPP switching properly *use MPLAB to test reset/run
Also did you swap the 74HCT126 ICs? Try it with the scope.
Also look at the Inchworm+ schematic on my site, it's simple design will show you just the basics and the 16F877 is the same so use your scope to look at any pins that go to PGC & PGD.
Does your school have access to a logic pulsar?
If not I would remove the 16F877 and with a 1K resistor and a short length of wire build a simple logic pulsar, toggle those programming pins at the 16F877 socket and watch the results on the programming connector.
And yes the Junebug debugs most 16F & 18F PICs and is just as fast as the ICD2 (not the 24F 30F or 33F yet...)
Edit:
The ICD2s 16F877 uses PORTC for controlling the rest of the programmer so it's those pins you'll want to toggle.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com

Last edited by blueroomelectronics; 1st February 2008 at 03:39 PM.
blueroomelectronics is online now   Reply With Quote
Old 1st February 2008, 05:22 PM   (permalink)
Default

Though,Part of the schematic doesn't tally, the 9Vac input point, it is very handy and helps debugging fast. -- olimex has bridge and perhaps the resistor is 4E7 / 2watt in series with input to regulator. U11 (DG411 could not be located on top of board- perhaps it may be on the solder side as SMD--? Even many component numbers and others would change from the board layout.
regarding debugging, Herbert Munch may get the detachable 74HCT devices checked outside on a bread board and he could find faulty gates if any. few components like transistors may perhaps be checked in-situ.
__________________
Regards,
Sarma.
mvs sarma is offline   Reply With Quote
Old 1st February 2008, 05:25 PM   (permalink)
Default

Good eye mvs_sarma, the DG411 is probably not on the version in the photo. Seems that one may use transistors for VPP switching.

Edit: just noticed Chris's board is similar to my Unicorn board.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com

Last edited by blueroomelectronics; 1st February 2008 at 05:28 PM.
blueroomelectronics is online now   Reply With Quote
Old 1st February 2008, 05:46 PM   (permalink)
Default

thanks for the input everyone.

I havent changed the dips yet. I dont have replacement ones. Im just in the business of checking the connections. I have seen a few dull joints, that need a bit of heating.

That unicorn LCD looks exactly like the ones I got from china.

cheers.
HerbertMunch is offline   Reply With Quote
Old 1st February 2008, 06:02 PM   (permalink)
Default

Don't change the dips yet, the pair of 74HCT126 chips are identical, simpy swap them and see if anything changes.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now   Reply With Quote
Old 1st February 2008, 06:30 PM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
Good eye mvs_sarma, the DG411 is probably not on the version in the photo. Seems that one may use transistors for VPP switching.

Edit: just noticed Chris's board is similar to my Unicorn board.
Thanks Bill
the JUNEBUG is Nice and healthy sir, and a friend of mine at Bangaluru ( formerly Bangalore, in south India) wanted to test it, so it is there and he writes PIC programs.
Nice Rev2 of assembly manual. I would post a photo of the assembled version that I took before sending the board. I have perhaps to re-install the Kodak Create and share software, after a mobo swap to Intel945GCNL.

Ofcourse, I have to now check the USB voltage which i had a problem with my earlier board.
__________________
Regards,
Sarma.

Last edited by mvs sarma; 4th February 2008 at 04:02 PM.
mvs sarma is offline   Reply With Quote
Old 1st February 2008, 06:36 PM   (permalink)
Default

I look forward to a photo, Krumlink posted his and it looks great. Like yours & Futz he built his up from part he supplied.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now   Reply With Quote
Old 4th February 2008, 08:59 AM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
Don't change the dips yet, the pair of 74HCT126 chips are identical, simpy swap them and see if anything changes.
Hi bill.

are you sure? this is what olimex says:

"
you can try to change the buffers, pay attention one is HC the other is HCT type
Tsvetan / Olimex"

thanks.
HerbertMunch is offline   Reply With Quote
Old 4th February 2008, 05:21 PM   (permalink)
Default

yes, the chip towards edge is HCT and other one (inner) is HC126
__________________
Regards,
Sarma.
mvs sarma is offline   Reply With Quote
Old 4th February 2008, 10:32 PM   (permalink)
Default

Quote:
Originally Posted by HerbertMunch
Hi bill.

are you sure? this is what olimex says:

"
you can try to change the buffers, pay attention one is HC the other is HCT type
Tsvetan / Olimex"

thanks.
I didn't notice that.
Hmm.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now   Reply With Quote
Old 5th February 2008, 02:39 AM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
I look forward to a photo, Krumlink posted his and it looks great. Like yours & Futz he built his up from part he supplied.
this another shot of the board. Little more clear.Thanks again.
__________________
Regards,
Sarma.

Last edited by mvs sarma; 7th July 2008 at 12:14 PM.
mvs sarma is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Is my DMM Broken ??? iso9001 General Electronics Chat 19 20th June 2006 06:18 AM
Olimex USB programmer? Oznog Micro Controllers 2 19th January 2005 06:45 AM
What is the best idea for a broken Karaoke Machine? reverend Boltron Electronic Projects Design/Ideas/Reviews 3 19th September 2004 09:09 AM
JMD and Olimex hardware programmers wekjr Micro Controllers 1 16th August 2004 11:05 PM
Broken! Help! Pennywise General Electronics Chat 2 9th July 2003 05:28 PM



All times are GMT. The time now is 05:02 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.