Hi,
I think I already have seen something like that on the Forum ...
So ...
1) Which is the programmer ???
2) Is it "up to date" for soft version ???
Alain
Hi,
I think I already have seen something like that on the Forum ...
So ...
1) Which is the programmer ???
2) Is it "up to date" for soft version ???
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
OK, I think I've found the problem. The voltage pins are in odd places on this IC, so I may have to do in-circuit programming; something else that I've never done. I'm going to figure out how to do that next and I'll get back with any results.
Here's the code that I'll be using for a test:
I'm using the old serial programmer and my first problem was not having the cable plugged into the correct header and the IC pin 1 was in the wrong place. Even now with the cable plugged into the correct header and the IC in the ZIF socket correctly, I'm getting a code programming error at 0000.Code:@ device pic16F57, hs_osc, wdt_off, protect_off main: high portA.0 pause 500 low portA.0 pause 500 goto main
Last edited by yankee; - 23rd February 2009 at 16:22. Reason: A better reply.
The 16F57 is laid out really funky with Vdd on pin #2, Vss on pin #4, Vpp, pgmdata, pgmclock, etc all in odd places, so there's probably not any ZIF adapter compatible with this one.
Wire it for in-circuit like shown here: http://melabs.com/support/icsp.htm
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Hi Alain,
Yep. That would do it, but it might be easier and a lot cheaper to just wire his PIC for in-circuit directly to his MeLabs serial programmer..;o}
OK, I made up an adapter cable and programmed the IC. I can't get it to run and I suspect the resonator or the way that I have the resonator setup. I read the data sheet and I'm thoroughly confused. I'm using Murata CSTLS20M0X53-B0 20 MHZ resonators. Is this an OK resonator and if so, how should it be connected?
~ Dave
3-pin resonators normally have built-in caps. The center pin goes to ground. The remaining two pins go to the PIC external osc pins. For 20MHz you'll want HS_OSC.
It's a lot easier for folks here to help if you show all your code & config settings.
Bookmarks