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.

What process ?

Status
Not open for further replies.

williB

New Member
just a quick general question.
on a Pic like the 16F874A
1) what process is required to get a program into it. ie is the bootloader built in ?
or
2)do you have to load the bootloader in the usual ICSP method ?
or
3) can you just hook it up to your PC's serial port with MPLAB and load the program from there.

enquiring minds need to know
 
1. The bootloader is not built in, it's a piece of software code that can read serial port data and write it into all the rest of the code space (you must also add a voltage converter chip, MAX232 usually, since the RS232 port doesn't use 0/5 volt logic).
You might find somebody who will program the bootloader in before sending them to you. Big vendors don't do this.
2. Either ICSP, or you can put the chip in a programmer's socket, provided your programmer is equipped with one (most are). Note that if you have ICSP wired up, you can do all your programming this way and you won't need to put the MAX232 or serial port jack onto your project, but you'll need to use your external programmer hardwardware every time you need to program it.
3. No. Bootloader must be installed before you can do this.
 
thanks Oznog :D
cuz i ordered one from microchip when i got the 16F84A and have been reading about them but wasnt sure of how they worked..
i also got a 18F2220 all free of course :twisted:
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top