Thanks a lot Acetronics!!!
what do you mean with "programmer". I have used the MPLAB IDE.
How do i program the boot loader?? and how do i use the hyperterminal??You program a boot loader WITH the Programmer ... then you use Hyperterm, i.e.
Thanks a lot Acetronics!!!
what do you mean with "programmer". I have used the MPLAB IDE.
How do i program the boot loader?? and how do i use the hyperterminal??You program a boot loader WITH the Programmer ... then you use Hyperterm, i.e.
MPLAB is an IDE. It is a place to write the code.
When the code is made into a HEX file a compiler is used, MPASM is the one MPLAB uses.
A programmer is hardware to place the code on the chip. Certain voltage levels have to be met on certain pins for the chip to accept the file.
Like Alan said, look at the PicKit2. Very nice.
http://www.microchip.com/stellent/id...cName=en023805
Dave
Always wear safety glasses while programming.
Thanks mackrackit.
i understand it, but i have in the board an integrated circuit to implement it. This is: the MAX232, and then i have configured ports number 6 and 7 as input and output.
with this, i suppose that i can communicate the pic with the pc to load the hex file...
but how do i do this?
Read How easily to build your own programmer @ this link:
http://www.rentron.com/Myke4.htm
This will help you in understanding the programmer subject.
Al.
All progress began with an idea
You have two pins on the pic labeled PGD and PGC, these are the pins the programmer uses to communicate with the chip. If these are the pins the 232 is connected to you are probably OK. You will need to "bug in" a connection of some kind between the PIC and the 232 to go to the programmer.
The other pin used by the programmer is labeled MCLR. It is best not to have this pin connected to anything during programming. If it is connected to something it will need to be isolated with a diode. Higher voltage is applied to this pin to place the PIC in programming mode.
So what you have is not going to work to get the first program into the chip as Alan mentioned. It might work after a boot loader is used.
Read the link Al provided but I do not recommend building one. Unless you are wanting to build programmers. If you want to write code and program a chip then buy a programmer.
Beware of the ebay stuff though. The money you save will be made up for in time and headaches.
Dave
Always wear safety glasses while programming.
thanks a lot to everybody!!
finally, i have achieved it!! mackrackit, your explanation has been very useful because now i have a better idea of how the pic works.
i must say that the pic i am using has been programmed before, so it has installed the boot loader inside. I haven't done it, my colleage did some months ago!. so, now, with the hyperterminal i can load new versions of the code!!
COOL!!!!thanks a lot to everybody!!
finally, i have achieved it!! mackrackit, your explanation has been very useful because now i have a better idea of how the pic works.
i must say that the pic i am using has been programmed before, so it has installed the boot loader inside. I haven't done it, my colleage did some months ago!. so, now, with the hyperterminal i can load new versions of the code!!
Have fun!
Dave
Always wear safety glasses while programming.
Bookmarks