Download very good job but there is some blurry point... Is this ICD able or not

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
very good job but there is some blurry point...
Is this ICD able or not to pull down the MCLR pin?
Is 5v power suply must be the same ( equipotential ) or only must be equal to 5v?
http://stolz.de.be/8. Lothar Stolz - 2005-01-03 00:48:47 Hi "hi"!
1. The ICD is able to pull down the MCLR pin (see the schematics: T4, R4, D2!!), unless you ommit
these 3 parts (this is ok, too, if the "weak-pull-down" effect of R5/R6 is sufficient in your
application)
2. Well, "equipotentiality" is obtained by the fact of conecting ground of the two systems "ICD" and
"Target" - two seperate 5V for ICD and Target are just as good as one! (but, in this case: of course,
never connect the two 5V-lines, too!)
btw: if your Target is running at different voltage level, e.g. Vdd=3.3V, take a try, that MIGHT
work, maybe even without modifying the schematics: current is limited by resistors and finite
current amplification of the transistors, and voltages are clamped by PIC’s internal protection
diodes.
Lothar
mailto:[email protected]. Andrea - 2005-01-20 03:56:37 Hi Lothar,
The Website is simple, friendly looking, easy to understand and contains only useful informations.
Rare. Good Job.
About the ICS2 Clone; I built one (using 16F877A) with some small modify:
- I couldn’t find equivalent transistors in the place where I live (I used photocouplers);
- I used a bootloader from picbasic.org (icd661.hex);
Not tested so far for Debugging. Tested as a programmer for 16F877A and 16F628A. So far it
works just fine.
Thank You Very Much,
Andrea
Hi everybody!
@edwin:
I used 12V for some FLASH-types and that seemed to be ok. But I haven’t tried if this is enough for
EPROM based PICs.
@Anthony VH:
I’m not able to measure this now, but I think 100mA would be enough!?!
@Andrea:
nice idea using optos! About the transistors: that are common standard bipolar types here in europe really nothing special.
Thanks a lot for the PIC16F87xA issue!!! ^O^
@Hernan:
I used Ge diodes because the voltage drop is less - probably normal Si type is sufficient, too. Take a
try!
@Michael:
See Andreas answer!
mailto:[email protected]
mailto:[email protected]. phm999 - 2005-02-06 23:16:22 i feel like i am not good at
electronics .i am not arrived do get my ICD2 working .
first befor doing the entire design i have just wired the max and the pic 16f627. In order to check if
MPLAB can dialog with it. Unfotunately it not .
i use the BL010101.hex file fuses HS WRT enable with MPLAB7
i check signal from the max with scope
MCLR pulse at begining of dialog.
RC7 and RB4 have some events.
OSC is running .
+8 / -8 on the max voltages.
Mplab setting 19200 baud
here is the result:
Connecting to MPLAB ICD 2
...Connected
ICD0082: Failed MPLAB ICD 2 operation
i try other boot loader from the web but without success
if you have an idea pleas help.
does the full design is needed to comunicate with mplab?
18. phm999 - 2005-02-09 22:36:04 my ICD is ok now // so if you wan’t to try before having ended
the building it’work ; no need of the output stage for testing and loading the firmware.
Hello again Lothar,
How are you doing ? I have a question (not sure if it is a silly one but...
... ). After you finished
building the ICD clone, in order to test if its working, do you need to have a Target PIC to debug or
you can just simply hook the ICD directlty to the Com Port without connecting the ICD to the
Target PIC. I used the ICD 2 Setup Wizard and tried connecting the ICD to the Com Port without
any Target PICs to debug and it seems that MPLAB IDE fails to connect to the ICD. I would be
honoured if you can share your experience on this with me.
PS. I am certain that I checked every single circuit connections on the bread board like almost 12
times or so already. Took away my whole afternoon!
.
Also, I was using SIPEX’s SP232AEP (which datasheet can be found on the website
www.sipex.com) in place of the Maxim 232 IC. I replaced the 1uF(s) with 0.1uF(s). Other than that,
I used 2N3904 and 2N3906 to replace the BCs transistors.
Thx.
Edwin Mui.
22. phm999 - 2005-02-13 09:48:24 hello Edwin
I had the same problem.
No target is needded.
If your design is ok and you corectly programed the bootloader( fuses HS WR ).
use icd2 setup wizard chose com / 19200
Connect your icd2 it says :
Connecting to MPLAB ICD 2
...Connected
ICD0082: Failed MPLAB ICD 2 operation
then chose ’download ICD2 OS’ from the debbuger menu.
it take few time just wait and then your ICD2 is working.
good luck