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 30th January 2008, 06:00 PM   (permalink)
Default Olimex ICD2 Broken!

Hi all,

It would appear that my olimex ICD2 is broken !
I have changed the 16f877a for another, and used the hex from blueroomelectronics. This has not fixed the problem.
It connects to the icd2 fine, but when you try and program, or debug it fails to verify. Strangely enough, i can successfully download the new operating system through mplab with no problems.

Has anyone else had any problems with the olimex clone, if so did you manage to fix them?


Many thanks.
HerbertMunch is offline  
Reply With Quote
Old 30th January 2008, 07:15 PM   (permalink)
Default

Does Olimex provide a schematic?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Reply With Quote
Old 30th January 2008, 07:18 PM   (permalink)
Default

ICD2 clones in general.

You changed the processor so it is should not be the problem.

Check the ICSP signals. PGD PGC and MCLR pins. PGC and PGD are not difficult but MCLR can be.

From http://stolz.de.be/ Lothar Stolz's site.
Quote:
The Voltage of target's MCLR is controlled by RC0, RC1 and RC2 (all active low). When RC0 goes low, Vpp is enabled, and RC1 low enables Vdd. RC2 pulls MCLR to GND on demand - this is necessary if there is a pull-up resistor at the target's MCLR pin.
The target processor gets connected by the three wires TARGET PGD, TARGET PGC and TARGET MCLR. Of Course, for ensuring equal potentials a ground connection Vss to the target board is required, too.
You can remove the processor and apply gnd or +5 to the socket pins to test the circuit with a volt meter.
3v0 is online now  
Reply With Quote
Old 30th January 2008, 07:56 PM   (permalink)
Default

Does it look like this one? If so the output stages are the 74 series chips. Lucky its not that Cypress chip, tough beast to rework and no longer commonly available.

Olimex ICD2 clone, so what does the big pink resistor do?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Reply With Quote
Old 30th January 2008, 07:57 PM   (permalink)
Default

Hi thanks for your replies.

They dont seem to provide a schematic.

3vo thanks for your tips, ill look into that.

Does anyone own the real ICD2?

Is it better than the clones? Ive had several icd2 clones, and they are allways dissapointing. Im gutted anyway, I could have bought the Microchip offering for the total price I paid for the olimex one. I bought it 'cheap' from sparkfun in america, and the bastard uk customs took more of my money!

If the real icd2 is more stable than the clones, i would probably have to go out and buy one. Life is too short to constantly have to mess around with ones development hardware. It just adds another variable, which is never good.

Ive not had this olimex one for very long, and allready its broken. To be fair, it had always been a bit rubbish. for instance, if i plug the cables in the wrong order, it freaks out and demands that i restart mplab. It prefers the power cable first for some reason.
HerbertMunch is offline  
Reply With Quote
Old 30th January 2008, 07:58 PM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
Does it look like this one? If so the output stages are the 74 series chips. Lucky its not that Cypress chip, tough beast to rework and no longer commonly available.

bill, thats the one. I dont quite understand what you mean. how do you know its not the cypress one?

Thanks,
chris
HerbertMunch is offline  
Reply With Quote
Old 30th January 2008, 08:00 PM   (permalink)
Default

I suspect that the big pink resistor is somehow linked to the part of this clone that emitts an ear piercing squeal! Does the microchip icd2 squeak?
HerbertMunch is offline  
Reply With Quote
Old 30th January 2008, 08:07 PM   (permalink)
Default

The Cypress chip is a USB to parallel IC much like the 18F4550 version that's used in the newest ICD2s your USB wouldn't work at all if it failed.
Your Omlex is as far as I can tell a copy of the original Microchip ICD2. I've attached a schematic for a clone, it should be close to your design.
The squeal is probably the inductor, my ICD2 clone does not squeal. What part # is VR2?
Attached Files
File Type: pdf ICD2original.pdf (51.2 KB, 33 views)
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Reply With Quote
Old 30th January 2008, 08:21 PM   (permalink)
Default

thanks bill.

I cant seem to see a VR2!
HerbertMunch is offline  
Reply With Quote
Old 30th January 2008, 08:23 PM   (permalink)
Default

The voltage regulator (upper right near the pink resistor) is it 3 or 5 pin?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Reply With Quote
Old 30th January 2008, 08:37 PM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
The voltage regulator (upper right near the pink resistor) is it 3 or 5 pin?
Ah.. hiding behind the reg itself.

3 pin LM7805.
HerbertMunch is offline  
Reply With Quote
Old 30th January 2008, 08:45 PM   (permalink)
Default

Quote:
Originally Posted by HerbertMunch
I bought it 'cheap' from sparkfun in america, and the bastard uk customs took more of my money!
You mean you were trying to defraud the UK tax man? - and you got caught!
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply With Quote
Old 30th January 2008, 09:03 PM   (permalink)
Default

I would happily defraud them! I have bought from ebay in america a few times, and The people generally do not declare the contents on the outside. This is the way forward!

I dont see how they have the right to tax me over and over again. Income tax, car tax, counsil tax (when im no longer a full time student), import tax, value added, etc, etc ,etc. If i get the opertunity to side-step some tax, then thats what ill do
HerbertMunch is offline  
Reply With Quote
Old 31st January 2008, 12:23 AM   (permalink)
Default

Anyway is the real icd2 more stable?
HerbertMunch is offline  
Reply With Quote
Old 31st January 2008, 12:58 AM   (permalink)
Default

Quote:
Originally Posted by HerbertMunch
Is it better than the clones? Ive had several icd2 clones, and they are always disappointing.
Try an Inchworm+ with or without Unicorn USB board (picture of both in the Dragonfly link in my sig below). Mine has been great. No problems whatsoever.

Or a Junebug (PICkit2 compatible). Also works great.

You'll still have to deal with those gubmint bandits though. Don't steal! The gubmint hates competition.
__________________
=========================
Futz's Microcontrollers & Robotics
=========================
futz 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 12:01 AM.


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