![]() |
|
|||||||
| Embedded Systems and Microcontrollers Discussion forum for projects and working with embedded systems and microcontrollers (FPGAs, PICs, AVRs). Get help with hardware issues and embedded programming. |
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
I'm just learning to program PICs; I have the PICkit2. Rather than use the LPC demo board with its F690, I opted to use a 16F54 baseline chip ( I just had one handy ) for which I made a breakout board. However, all this is academic for, when you open MPLAB and select this PIC, it tells you that you cannot use the PICkit2 programmer. This is odd: the microchip website states that the F54 is supported; also the PICkit2 menu shows the F54. PIC chips, huh! One part inspiration, 10 parts bloody frustration. Bruce |
|
#2
|
|||
|
|||
|
Yes I've noticed the same thing not that I have used any 16F5X chips so I'm not talking from experience.
I don't know why MPLAB does not support 16F5X chips under pickit2 since the chips do support ICSP so in theory the pickit2 should be able to program them. One solution could be to use the pickit2 stand-alone GUI to program the chips. Its not as convenient as programming from the PMLAB IDE but it might get you around the problem. The other solution is to cut your losses, ditch the 16F5X chips you have and get something a bit more powerful. The 16F5X series are pretty terrible chips and as you get deeper into programming you will find their lack of interrupts, absents of any useful peripherals, and a mere 2 level stack depth very limiting.
__________________
Alex "A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools."-Douglas Adams |
|
#3
|
||||
|
||||
|
Since the 16F54 doesn't support debug...
You can configure the PICKit2 software to automatically program on button or change of hex file. So after MPLAB creates the hex file the PICKit2 can program it. |
|
#4
|
|||
|
|||
|
Thank you guys. I know this is a crap chip, but I only want to get the feel of flashing a few LEDs and maybe a 7-seg display. I've gone to the trouble of making a breakout board, so....
Blueroom...I fear I dont really understand what you mean. I write the program in MPLAB, then what? I open the PIC kit2 menu, click on 'write on PICkit button' and then press the button. Is that it? Bruce |
|
#5
|
||||
|
||||
|
Quote:
The Pickit2 comes with its own standalone program for programming a hex file to a pic, you do not have to use it as a programmer right in MPLAB.... compile your code in MPLAB, close MPLAB, open the Pickit2 app, load the hex you just compiled and program that into the pic.... B. Morse
__________________
There is no spoon -Neo- ![]() Disclaimer: The example programs,circuits, projects and information I provide or post on this web site are for educational purposes only. By copying anything from this site posted by me, you agree to the "as is" nature of the programs, circuits, information and to the statements listed in this disclaimer.No warranty or liability is expressed or implied. Working with AC /DC voltages can be dangerous and even deadly. Proceed at your own risk! |
|
#6
|
||||
|
||||
|
Quote:
Last edited by t06afre; 03-10-2010 at 05:18 PM. |
|
#7
|
|||
|
|||
|
Thanks; I'll give it a go. BTW, I'm using PICkit2 ver2.5 and the F54 is right there!
Bruce |
|
#8
|
||||
|
||||
|
On this page click the link PICKIT2 V2.61 on the right hand side of the page.
http://www.microchip.com/stellent/id...irects=pickit2 |
|
#9
|
|||
|
|||
|
Quote:
__________________
Alex "A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools."-Douglas Adams |
|
#10
|
||||
|
||||
|
Yes you and BMorse are correct. And I am wrong. I have never used the the Pickit 2 software besides testing the programmer to go option once. So i should have done my homework much better before I gave a statement. I hope I did not cause any confusion for you Poriet
|
|
| Bookmarks |
| Tags |
| f54, pickit2, problem, programmerserial, programming |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem with USART Rs-232 PIC programming | walid el masry | Embedded Systems and Microcontrollers | 12 | 12-06-2009 05:32 PM |
| ASM Programming problem | Jakob90 | Embedded Systems and Microcontrollers | 2 | 01-14-2009 04:34 PM |
| Simple PIC programming problem | chrischristian | Embedded Systems and Microcontrollers | 2 | 05-16-2008 04:42 AM |
| PIC Programming Problem | m_mourad2008 | Embedded Systems and Microcontrollers | 1 | 03-08-2008 02:42 PM |
| 68000 Programming problem | JLam | Programmer's Corner | 0 | 02-15-2005 08:08 AM |