Jump to content

Recommended Posts

Posted

In my tiny controller i'm planning to use TQFP 18f452.  It is 44 pins surface mount. What tools i need to program the pic ? i can't find the infos how to install the Bootstrap Loader

Anyone here can do this ?

Thanks!

Posted

Same deal, scope the datasheet :)

That was the first thing i did but i did not found any solution at all in the 332 pages. I'll use PicKit2 but can't use a socket for this kind of pic. Do i need to make my own programming board for the pic, then soldering the required pic pins, then program the pic and then desoldering the pic ?

Thanks!

I wish i could write better in english  :-\

Posted

i ve read somewhere that you may go without soldering, only the pressure should be enough but yeah you ll need and adapter..

Or, i could install a connector directly on the my controller PCB ? like this, i'll burn the pic directly without playing around with the pic.

Thanks cimo, i'll take a look at this adpator... who do this ?

Posted

I don't have much experience in regard to PIC in system programming - older versions of the core layout and the JDM programmer had headers for that use. In general, I guess you have the option of either using a TQFP swappable socket (very expensive) on a programmer pcb, or putting an ISP connector onto your pcb for flashing the bootloader. An ISP connector is 2x5 pins, so with that solution you're losing at least half of the pcb area you gained by going SMT.

S

Posted

wtf? looks like an evil PIC eater see:

http://www.midibox.org/forum/index.php/topic,11871.msg96457.html#msg96457

wow for 180$ i will morse code the BSL for you in the PIC..

no, i meant that you can make a pcb with the tqtf foot print lay out the necessary pins and just by applying some pressure to the ic contact MAY be achieved: this is the poor man solution, if you got cash buy and adapter.

Simone

Posted

wtf? looks like an evil PIC eater see:

http://www.midibox.org/forum/index.php/topic,11871.msg96457.html#msg96457

wow for 180$ i will morse code the BSL for you in the PIC..

no, i meant that you can make a pcb with the tqtf foot print lay out the necessary pins and just by applying some pressure to the ic contact MAY be achieved: this is the poor man solution, if you got cash buy and adapter.

Simone

;D

I wont buy the adaptor, i'll built a simple tool to do the job instead.

Thanks!

Posted

Problem solved Most of my problem is solved for 12.99$  on Ebay.

For that price i'm getting 2pcs SMD Microchip PIC 18F4520 And 2pcs TQFP To DIP PCB (this not like the image above)

Thanks!

Posted

hmmm i think those contacts will have to be treated somehow for this to work well, solder surface will oxidize and make bad contacts. maybe going over it w/ silver solder or likesuchas would work...

Posted

hmmm i think those contacts will have to be treated somehow for this to work well, solder surface will oxidize and make bad contacts. maybe going over it w/ silver solder or likesuchas would work...

I'll check that.

Thanks!

Posted

I wont solder the PIC on the adaptor, i will only apply good pressure with a tool i'm gonna make for it, the tool will also align the pic on the smd pads. The only purpose is to load the bootloader into the pic, only one time. Then, i solder ths pic on his PCB.

Posted

I can suggest something a lot cheaper and easier..

When you design your board with the 18F452TQFP, add a six pin header for the PICKit2. If you check the documents that came with the PICKit, it should offer some pointers on how to set it up. Basically you need to make sure that whatever other things that are connected to the programming pins won't interfere with programming. Then build the board solder the PIC onto it, and when you're ready to program it, just plug the PICStart2 onto the header and shoot the bootloader in there. Total cost, a six-pin header for each board made. That's easier than trying to buy a big-bucks adapter!

Have Fun,

LyleHaze

Posted

I was thinking to do this first in my post but the space is not available on my pcb. Really tight space, that's why i use smd pic. I already ordered the adaptors from Ebay, it includes 2 Pic 18f452 for few bucks. :-)

Thanks for suggestion.

Posted

Are there connectors on your board for other stuff?

PICKit2 requires access to the PGC and PGD pins. these usually go to the LCD display port. It also needs Vdd and Vss, those go to the LCD display too. So the only pin you need that is "out of reach" is the VPP/MCLR pin.

IF your project has a connector for a LCD display, that should include 4 of the 5 pins you need to connect the PICKit2. Just add loose wire with a clip to grab one end of the pullup resistor on MCLR, and you can program it through the LCD port. Unless the pullup resistor is also SMT.

Have Fun,

LyleHaze

Posted

Are there connectors on your board for other stuff?

PICKit2 requires access to the PGC and PGD pins. these usually go to the LCD display port. It also needs Vdd and Vss, those go to the LCD display too. So the only pin you need that is "out of reach" is the VPP/MCLR pin.

IF your project has a connector for a LCD display, that should include 4 of the 5 pins you need to connect the PICKit2. Just add loose wire with a clip to grab one end of the pullup resistor on MCLR, and you can program it through the LCD port. Unless the pullup resistor is also SMT.

Have Fun,

LyleHaze

I see, 5 pin is required to program the Pic, i'll check for a 3 pin smt header only because Vdd and VSS are available many places on my PCB.

DF13-3P-1.25H(50).jpg

Posted

IIRC there's a reason why MBHP cores don't support ICSP.... But uhm...I can't remember.... TK?

For a start, you'd want to avoid mounting R1, the #MCLR pull-up.

As it is only 100R, you'd find you have some power supply issues if you feed the #MCLR pin 12.5 volts...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...