Re: Trouble With my PIC Programmer





Luhan wrote:

Brick wrote:
Hello,

I just purchased a baseline flash microcontroller programmer for

I had a problem with the PIC16F627A. It turns out the 'A' version is
not program compatable with the non-A part! I got all zero's all the
time until I updated my programming software for the newer part.

Luhan


Also some radical differences between respective FLASH prog. methodologies of
16F877 and 16F877A .... much to my surprise and annoyance. I learned this only
after repeated prog/verify failures at word 0x0000 of a handful of brand new
16F877A chips. Read the chip; "Chip seems to be erased". Program the chip;
ka-boom! Read the chip; "Chip is code protected". Say WHAT? Made no sense.
The free programming software I was trying to use wasn't telling me the whole
story. Decided to write my own &%$@! programming software! I D/L the latest
Flash Prog. Spec. for 16F877, which, it so happened, covered the 877A. Once I'd
digested that, the root cause of my problem was clear.

Code protected program memory reads out as zeros, but in my (admittedly limited)
experience w/ PICs, the device ID loc. (and user ID locs?) should read as what
they actually are, regardless of code protection. So if a programmer/software
shows you the actual ID loc. data as zeros, I would tend to suspect the
programmer and/or the software that runs it before suspecting the chip. Too, if
prog. software reports that it doesn't recognize the PIC and *does*not* report
the actual ID data that lead to its conclusion then you know only that something
is amiss; you haven't enough diagnostic data to decide, with certainty, whether
the PIC, the programmer, the software, or any adapter is at fault.

The 877A prog. s/w I ultimately wrote is very verbose! :-)

--
Michael
.



Relevant Pages

  • Re: Trouble With my PIC Programmer
    ... Brick wrote: ... I just purchased a baseline flash microcontroller programmer for ... time until I updated my programming software for the newer part. ...
    (sci.electronics.design)
  • Re: Learning Macromedia Flash
    ... Wow, Dan. ... Typical programmer mentality - overly judgemental. ... There are very few instances where Flash is the right ... >who have *no* skills in design, advertising, marketing or web development. ...
    (rec.music.makers.percussion)
  • Re: Programmer mood
    ... systems you people are using along with operating systems. ... flash because it is compatiable with every operating system and ... OS-specific programmer at all). ... I use Firefox as my browser. ...
    (comp.programming)
  • Re: Learning Macromedia Flash
    ... > Typical programmer mentality - overly judgemental. ... >>I'm coming from several positions on this one, Jim; as a graphic design, ... There are very few instances where Flash is the right ... That's like saying cocaine is a godsend (if you know what you're ...
    (rec.music.makers.percussion)
  • Re: how to write an image file into flash memory in linux
    ... > downloaded from a http server and to load it in the FLASH ... Into what flash memory? ... Put the flash chip in the programmer. ... Tell the programmer to load a hex file from the serial port. ...
    (comp.os.linux.embedded)

Quantcast