Maniac
- 22nd September 2005, 16:56
Hello
I've been reading the posts for quite a while. I hoped that I can figure some stuff out by myself... that didn't happen.
I am trying to program an 18f452, with no luck do far. I have PBP, and a picstart+ programmer. Also, I used a bootloader from Martin Dubuc's site. (http://mdubuc.freeshell.org/) I insert the bootloader's hex file using the picstart+ in MPlab, then using the Colt bootloader to program the chip in the circuit. I can load the sample blink.hex file (Martins) no problem, and it works.
When I try to load the hex file generated by pbp, it doesn't.
I checked my .int files, and changed XT to HS, since I am using a 20MHz crystal. I chaned this at the programmer settings as well. I used the code for the blinking led from a book (PIC robotics), from the PBP manual, and from this site. I added the line: define loader_used 1, so the bootloader code is (or should be) protected.
Anyone would have any ideas what else should I try? I don't have much experience with programming or PICs.
thanks, and sorry for an other blinky problem
Attila
I've been reading the posts for quite a while. I hoped that I can figure some stuff out by myself... that didn't happen.
I am trying to program an 18f452, with no luck do far. I have PBP, and a picstart+ programmer. Also, I used a bootloader from Martin Dubuc's site. (http://mdubuc.freeshell.org/) I insert the bootloader's hex file using the picstart+ in MPlab, then using the Colt bootloader to program the chip in the circuit. I can load the sample blink.hex file (Martins) no problem, and it works.
When I try to load the hex file generated by pbp, it doesn't.
I checked my .int files, and changed XT to HS, since I am using a 20MHz crystal. I chaned this at the programmer settings as well. I used the code for the blinking led from a book (PIC robotics), from the PBP manual, and from this site. I added the line: define loader_used 1, so the bootloader code is (or should be) protected.
Anyone would have any ideas what else should I try? I don't have much experience with programming or PICs.
thanks, and sorry for an other blinky problem
Attila