Exact match. Not showing close matches.
'[PIC:] writing a icsp for the 16F818'
I'm wondering if anyone out there has written an icsp program for the
16f818. I am currently working on this project, but I've run into a snag.
You first have to issue a chip erase command, then you load 4 words of data,
and then you begin programming.
Well, all this works just fine, the whole .hex file is loaded to memory, but
it is shifted by 4 memory locations. 0000 to 0003 are still 0x03FFF and the
program starts at 0004.
I've tried resetting the chip between the erase command and the programming
phase to reset the PC to 0000, but this doesn't do anything.
Does anyone have any ideas?
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads
>Well, all this works just fine, the whole .hex file is loaded to memory,
>it is shifted by 4 memory locations. 0000 to 0003 are still 0x03FFF and
>program starts at 0004.
Does it work if you have the chip set to XTAL oscillator mode, and no
present (or RC with no R, for that matter)?
IIRC, that sounds like the VPP not coming up fast enough. The chip executes
a few steps, then enters programming mode. Any thoughts?
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email mitvma.mit.edu with SET PICList DIGEST in the body listserv
More... (looser matching)
- Last day of these posts
- In 2003
, 2004 only
- New search...