![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
m using ICD2 Lotha's clone
Its working with PIC16F877A only at 4MHz Cannot even connect when I use 20MHz Is it a limitation of ICD or 16F877A? How can I debug at 20MHz the speed is critaical to me Please help me |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Mike. |
||
|
|
|
|
|
(permalink) |
|
clone is working properly I debugged 16F877A and 16F877 at 4MHz. its working perfecly. running sepping breakpoints are working. I got only 4Mhz 16F877 so I do not know weather its running at 20Mhz with 16F877
but not 16F877A is not running at 20MHz not even at 10MHz (I cheked with many cristals) But working perfecly with 4MHz But I want the speed of 20Mz for 16F877A for debuging Any solutions guys? S Dewinda |
|
|
|
|
|
|
(permalink) |
|
My clone works perfectly on a 16F877A at 20MHz and so it must be something wrong with your clone.
Mike. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) |
|
I am using clone with opamp MCLR interface vertion (Lothar's design) are u using it or transistor version? however Ill try to assmble ICD on a good PCB. currently Im using perferated board like Lothar's one.
what type of board you are using? to my expereince PIC are workig quite ok cristals with out 33pF or 15pF stabilizing caps. are they really effects. sahan Sahan |
|
|
|
|
|
|
(permalink) |
|
So is the clone itself that doesn't work? or - as I understand from your posts - you can't debug a target application?
The firmware for the ICD is specifically written for a 20 MHz crystal. My ICD clone is based on Lothar Stolz's old version (the one with transistors), if it matters. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
You leave out vitally important parts of the circuit, then wonder why it doesn't work? |
||
|
|
|
|
|
(permalink) |
|
Probably missing decoupling caps too, seems people love to leave em out.
|
|
|
|
|
|
|
(permalink) |
|
ICD is working with a 20MHz cristal. its ok. im talking about the target PIC .
The program is ok I tested it with 16F877 (without A) with ICD (old version) As 16F877 is no longer in production I had to go to 16F877A and ICD2 HS XT issue was also cheked. Previusly I used caps for 4MHz its working even without caps (ok I fixed them again) is there any different typs of cristals the only way I can check a cristal is to connect it to pic and check weather its running. Should I worry about cristal brands or typs ?? Sahan |
|
|
|
|
|
|
(permalink) |
|
Leads to the crystal should be as short as possible, as should the leads of the capacitors, and also the decoupling capacitors should be as short as possible and close to the PIC.
I suspect you're probably building this on a breadboard, and fairly messily?. |
|
|
|
|
|
|
(permalink) |
|
Make sure you are not trying to use the pins that the ICSP uses. You have to leave RB6 and RB7 alone if you expect debugging to work. Without this things act really WIERD and nothing works quite right
I have run a 16F877A both on a Inchworm+/Unicorn (ICD2) and Junebug (Pickit2) clones.
__________________
August Treubig AG5AT |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Please conferm me you have debuged 16F877A with 20MHz target with that ICD. if so I have made some mistake with my board |
||
|
|
|
|
|
(permalink) |
|
In that case it's your target chip. I've debugged the 16F877A @ 20MHz no problem.
|
|
|
|
|
|
|
(permalink) |
|
In fact, that is the only speed I have run the 16F877A at.
__________________
August Treubig AG5AT |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| PCMCIA to RS232 for ICD2 clone | clockdoctor | Micro Controllers | 6 | 7th April 2008 10:09 PM |
| Question about Inchworm+ | Quan | Micro Controllers | 54 | 28th October 2007 12:20 AM |
| MCLR, Pull-up,Pull-down with ICD2 clone | GRC | Micro Controllers | 2 | 1st January 2007 11:51 PM |
| ICD2 Clone (Lothar Stolz) on MPLAB 7.40 ? | TiagoSilva | Micro Controllers | 10 | 3rd July 2006 05:19 PM |
| Debugging Command Book | umer007 | Electronic Projects Design/Ideas/Reviews | 9 | 26th January 2004 05:51 AM |