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 19th December 2005, 08:38 AM   (permalink)
Experienced Member
 
Alex_rcpilot is on a distinguished road
Send a message via ICQ to Alex_rcpilot Send a message via MSN to Alex_rcpilot Send a message via Yahoo to Alex_rcpilot
Default

Quote:
Originally Posted by Mike, K8LH
What VPP voltage did you end up with?

Regards, Mike
Hi Mike,the result is here:

Target Vdd 5.00V
Target Vpp 13.42V
MPLAB ICD 2Vpp 13.58V

Ah!I got it.Here's the schematic I got from the guy who designed the ICD2 clone I have in hand.The Vpp is generated by a step-up booster.I don't know whether there's any similar design over the web.

Regards, Alex
Attached Images
File Type: jpg vpp.jpg (57.6 KB, 943 views)
Alex_rcpilot is offline   Reply With Quote
Old 19th December 2005, 08:50 AM   (permalink)
Experienced Member
Mike, K8LH is a name known to allMike, K8LH is a name known to allMike, K8LH is a name known to allMike, K8LH is a name known to allMike, K8LH is a name known to allMike, K8LH is a name known to all
Default

Thanks Alex,

That's a pretty clever circuit and would be great for a single voltage supply...

Happy Holidays... Regards, Mike
Mike, K8LH is offline   Reply With Quote
Old 19th December 2005, 08:57 AM   (permalink)
Experienced Member
 
Alex_rcpilot is on a distinguished road
Send a message via ICQ to Alex_rcpilot Send a message via MSN to Alex_rcpilot Send a message via Yahoo to Alex_rcpilot
Default

Quote:
Originally Posted by Mike, K8LH
Thanks Alex,

That's a pretty clever circuit and would be great for a single voltage supply...

Happy Holidays... Regards, Mike
You're welcome.And I hope this will help Jeff.

BTW,when does the college winter break start in the U.S please? :wink:
__________________
Regards, Alex
Alex_rcpilot is offline   Reply With Quote
Old 19th December 2005, 12:36 PM   (permalink)
Experienced Member
 
jrz126 is on a distinguished road
Send a message via AIM to jrz126
Default

Cool, now I dont have to hunt down a transformer that could give me the 13V.

I think alot of colleges were done last week, which is when I finished up.
Came out with a 3.16 for the semester (which consisted of 19 credits of senior level EE courses). Which is pretty good, considering that I worked 20+ hours every week, and spent time with my woman as well.
__________________
Jeff Zimmerman
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.
jrz126 is offline   Reply With Quote
Old 19th December 2005, 07:37 PM   (permalink)
Experienced Member
 
jrz126 is on a distinguished road
Send a message via AIM to jrz126
Default

so for that crappy programmer, how do I configure it? Which oscillator do I choose? WDT? ect..
__________________
Jeff Zimmerman
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.
jrz126 is offline   Reply With Quote
Old 20th December 2005, 01:22 AM   (permalink)
Experienced Member
 
Alex_rcpilot is on a distinguished road
Send a message via ICQ to Alex_rcpilot Send a message via MSN to Alex_rcpilot Send a message via Yahoo to Alex_rcpilot
Default

Quote:
Originally Posted by jrz126
so for that crappy programmer, how do I configure it? Which oscillator do I choose? WDT? ect..
My ICD2 clone uses a 20MHz crystal,and my configuration is like this:
Oscillator HS
WDT OFF
Power Up Timer OFF
Brown Out Detect OFF
Low Voltage Program Disabled (Criticaly important)
Data EE Read Protect OFF
Code Protect OFF

I got my PCB from a friend of my friend's.It perfectly matched into a plastic box commonly found in the market.Back then I didn't have a PIC16F877 or the A version,but some samples of PIC16LF877A.I borrowed a programmer from my friend and treated the LF as the F,Burnt the bootloader inside and it worked.I remember posting the picture somewhere in this forum.

Got it!It's here:
http://www.electro-tech-online.com/v...r=asc&start=15

And I have the whole project including schematics and PCB in my computer.If it can help you,I would like to share it with you guys here.This is a Protel99(SE) project,because most people here use protel.Even if someone manipulates Eagle well,he still can't get the PCB manufactured as the manufacturers use protel only.
__________________
Regards, Alex
Alex_rcpilot is offline   Reply With Quote
Old 20th December 2005, 11:57 AM   (permalink)
Experienced Member
 
jrz126 is on a distinguished road
Send a message via AIM to jrz126
Default

hmm...so are those the settings I would use for this programmer here: http://home.vrweb.de/~lotharstolz/st...vpc/index.html to load my bootloader to my 877A?
__________________
Jeff Zimmerman
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.
jrz126 is offline   Reply With Quote
Old 20th December 2005, 01:03 PM   (permalink)
Experienced Member
 
Alex_rcpilot is on a distinguished road
Send a message via ICQ to Alex_rcpilot Send a message via MSN to Alex_rcpilot Send a message via Yahoo to Alex_rcpilot
Default

The LVP-Cable?Tell me this is not your ICD2.I assume you are going to use this cable to program your ICD2 clone's PIC16F877A.I need to see the schematics of your ICD2 clone rather than this one to tell you what settings you need to burn the PIC.Maybe you should consider the project I referred to.

Could anybody here offer Jeff a site of a real ICD2 clone?I don't know which one best fits him.Thank you.
__________________
Regards, Alex
Alex_rcpilot is offline   Reply With Quote
Old 20th December 2005, 01:31 PM   (permalink)
GRC
Experienced Member
GRC is on a distinguished road
Default

Hello All
Heres a site I recently found.

http://www.sixca.com/eng/articles/icd2_clone/index.html

Its an ICD2 thats a little different then the one on STOLZ site.
I've attempted to make an ICD2 on stolz site sevreal times now with no luck. Thinking my progbelm is getting the bootloader into the 16f876(A)
using the LVP cable.

Maybe this site will help you or someone else.
GRC is offline   Reply With Quote
Old 20th December 2005, 04:47 PM   (permalink)
Experienced Member
 
jrz126 is on a distinguished road
Send a message via AIM to jrz126
Default

Quote:
Originally Posted by Alex_rcpilot
The LVP-Cable?Tell me this is not your ICD2.I assume you are going to use this cable to program your ICD2 clone's PIC16F877A.I need to see the schematics of your ICD2 clone rather than this one to tell you what settings you need to burn the PIC.Maybe you should consider the project I referred to.

Could anybody here offer Jeff a site of a real ICD2 clone?I don't know which one best fits him.Thank you.
Yes, the LVP is just to get the bootloader onto my 877A for the ICD2 that I am going to use. (Also from Stolz site. See Jay Slovak's sig).
I'll look into the link that you gave Alex
__________________
Jeff Zimmerman
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.
jrz126 is offline   Reply With Quote
Old 20th December 2005, 06:35 PM   (permalink)
Super Moderator
 
Jay.slovak is just really niceJay.slovak is just really niceJay.slovak is just really nice
Default

The Config Fuses are stored in the Hex file. Just load the file and program
But I don't know whether patched, A version has fuse settings integrated into hex, just set them as on picture:
Attached Images
File Type: png 877.png (9.3 KB, 826 views)
__________________
"I share, thus I am"
Jay.slovak
Read this!
ICD2 Clone
Best PIC/DsPIC Bootloader

Read my Inchworm ICD2 review!
Jay.slovak is offline   Reply With Quote
Old 20th December 2005, 07:49 PM   (permalink)
Experienced Member
 
jrz126 is on a distinguished road
Send a message via AIM to jrz126
Default

ok, I had thought the fuses were saved in the hex but i wasnt sure.
Maybe there is a problem with my serial cable.
I don't need my 20Mhz oscillator connected either?

Also, when you select the 'A' version, the fuses and code protect stuff changes. (it looks for a range for WRT)

Thanks,
Jeff
__________________
Jeff Zimmerman
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.
jrz126 is offline   Reply With Quote
Old 20th December 2005, 07:52 PM   (permalink)
Super Moderator
 
Jay.slovak is just really niceJay.slovak is just really niceJay.slovak is just really nice
Default

No, you don't need to connect the oscilator if you are programming.

The A version has slightly different fuses, try to trust settings that are stored in the hex.
__________________
"I share, thus I am"
Jay.slovak
Read this!
ICD2 Clone
Best PIC/DsPIC Bootloader

Read my Inchworm ICD2 review!
Jay.slovak is offline   Reply With Quote
Old 22nd December 2005, 12:09 AM   (permalink)
Experienced Member
 
Alex_rcpilot is on a distinguished road
Send a message via ICQ to Alex_rcpilot Send a message via MSN to Alex_rcpilot Send a message via Yahoo to Alex_rcpilot
Default

Quote:
Originally Posted by jrz126
Yes, the LVP is just to get the bootloader onto my 877A for the ICD2 that I am going to use. (Also from Stolz site. See Jay Slovak's sig).
I'll look into the link that you gave Alex
:shock: Just tried,but couldn't open Stolz site from here.Anyway Jay's ICD2 clone is meant to work well.How's it going there?
__________________
Regards, Alex
Alex_rcpilot is offline   Reply With Quote
Old 19th January 2006, 06:46 PM   (permalink)
Experienced Member
 
jrz126 is on a distinguished road
Send a message via AIM to jrz126
Default

Things are finally starting to settle down a bit. I should have some time to play with this again.

I couldnt get the low voltage programmer to work. Now that school is back in session, I'm going to go bug my microcontrollers professor and see if she can load the bootloader needed for the ICD that Jay has in his sig...She has a real ICD programmer, so it should work.

I'm also planning on using the modification that Alex posted as well.
is there any problem with doing that?

More questions will follow most likely...
__________________
Jeff Zimmerman
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.
jrz126 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes




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


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