Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

USB Programmer using PIC18F2455

Status
Not open for further replies.

kasamiko

Member
Hi,

I'm looking for a USB PIC programmer designed using PIC18F2455 with no other fancy parts..

Parts on hand right now:

PIC18F2455
4,8,16mhz xtal..

I've seen the GTP-lite but uses 20Mhz xtal which i can't find in our place. another is the PCISquirt but uses MAX662 another hard to find components..

I need your suggestions or maybe some link for simplier design..

TIA
 
Do you have source code for either programmer? I'm not certain but I think the GTB-lite uses a 18F2550 and does not publish their firmware.

Good new is all of those crystal will work with USB, you'll have to set the config fuses as indicated on page 30 of the 18F2455 datasheet to set the PLLs

Without decent access to parts building a USB programmer might be tricky, I'm putting together a PICkit 2 compatible which is a fairly straight forward design, the pair of MOSFETs might not be easy to source but are actually optional the rest of the parts are common. It is designed for a 20MHz crystal but if you're interested and since Microchip posts the firmware I could try a mod it for a 4, 8 or 16MHz crystal for you.
**broken link removed**
This basic version works and is the 4 transistor (no BS250 or 2N7000 MOSFETs) I used a 18F4550 as it's what I hand on hand at the time.
 
Last edited:
The MAX662 is just used to generate VPP from 5V. It can be replaced with a 12-13V source. The PICSQUIRT does not switch the target VDD so it can't do VPP before VDD. If that's not an issue for you, then PICSQUIRT looks fine.
 
blueroomelectronics said:
Do you have source code for either programmer? I'm not certain but I think the GTB-lite uses a 18F2550 and does not publish their firmware.

I got the firmware for GTB Lite version and also for the PICSquirt



It is designed for a 20MHz crystal but if you're interested and since Microchip posts the firmware I could try a mod it for a 4, 8 or 16MHz crystal for you.

Please sir if you can revised the code to accept either 8 or 16mhz xtal..


This basic version works and is the 4 transistor (no BS250 or 2N7000 MOSFETs) I used a 18F4550 as it's what I hand on hand at the time.

Good to see this!! I got 1 PIC18F4550-I/P..I'll try this out...


@skyhawk

Meaning I can directly replace MAX662 with a regulated 12VDC?


Regards to all
 
I'm planning to used 8Mhz..

Where can I get the complete projects? Schematic, pcb layout and firmware?

Regards
 
Meaning I can directly replace MAX662 with a regulated 12VDC?

Yes. However, VPP for a number of PIC's is in the 12.5V-13.5V range; therefore, commonly one and sometimes two diodes are placed in the ground leg of the regulator to raise the output to the 12.7V-13.4V range.

One issue with building "smart" programmers is the need for another programmer to initially get some code (bootloader) into PIC chip used in the programmer.
 
kasamiko said:
I'm planning to used 8Mhz..

Where can I get the complete projects? Schematic, pcb layout and firmware?

Regards
For my kits I never give away the PCB layout, but the schematics will be available.

The complete PICkit 2 schematic is in the PICkit 2 user manual on Microchips web site, the firmware PK2V0210000.HEX is part of the PICkit 2 software package.

I'll post an 8MHz patch of the PK2V0210000.HEX, but since it's possible for the 18F2550 series to access its config registers any firmware updates could make the programmer non functional. Your best bet is get a 20MHz crystal.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top