CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

ICSP based programmer works only with 16F628 and nt 16F877 ?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
arunb



Joined: 08 Sep 2003
Posts: 492
Location: India

View user's profile Send private message Send e-mail

ICSP based programmer works only with 16F628 and nt 16F877 ?
PostPosted: Wed Jul 05, 2006 6:43 am     Reply with quote

Hi,

I have managed to make an ICSP based programmer for 16F628, 16F877, 16F628A and 16F877A mcus. I find that the programmer is able to program (High Voltage programming only), read only the 16F628 mcu, whereas it does not program the 16F877/16F877A, nor am i abe to read it correctly..

I sending the correct signals to the MCLR, PGC, PGD pins. These I have checked with a scope.

Please advise if the programming sequence of the 16F628 is the same as for the 16F877/16F877A mcus ?? Or is there any other mistake i am making??

Note: I also used a a 16F648A mcu and found that this did not work as well..

I could post the code if required??

thanks
arunb
Ttelmah
Guest







PostPosted: Wed Jul 05, 2006 6:57 am     Reply with quote

On the 628, you load one word, and then program. On the 877, you load eight words, and then program. Pull the respective programming data sheets, the flowchart will probably show what is wrong.

Best Wishes
arunb



Joined: 08 Sep 2003
Posts: 492
Location: India

View user's profile Send private message Send e-mail

RE:
PostPosted: Wed Jul 05, 2006 7:23 am     Reply with quote

Hi,

Thank you for the quick reply, I was not aware that the 16F877 required 8 words at a time, is the programming methods different for each of the 16F628 Ics ??

Please also send me the link (or article number) for the programming specifications of the 16F877 Ics.

thanks
arunb
Ttelmah
Guest







PostPosted: Wed Jul 05, 2006 8:27 am     Reply with quote

39025F for the 877
39589b f the 877A
The 'eight cycle' change, was for the A.
Generally, there are small changes (timings, number of cycles etc.), for every chip model.

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group