Searching \ for '[PIC:] writing a icsp for the 16F818' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devprogs.htm?key=icsp
Search entire site for: 'writing a icsp for the 16F818'.

Exact match. Not showing close matches.
PICList Thread
'[PIC:] writing a icsp for the 16F818'
2003\08\15@111242 by Jim M

flavicon
face
Hi all,

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?

Thanks,

Jim Monteith

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

2003\08\18@171713 by Mike Hord

picon face
>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.
>
Does it work if you have the chip set to XTAL oscillator mode, and no
crystal
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?

Mike H.

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email spam_OUTlistservTakeThisOuTspammitvma.mit.edu with SET PICList DIGEST in the body

More... (looser matching)
- Last day of these posts
- In 2003 , 2004 only
- Today
- New search...