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

Cant program PIC18F2331 and 4331!!!

 
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go
View previous topic :: View next topic  
Author Message
daviz



Joined: 19 Nov 2004
Posts: 11

View user's profile Send private message MSN Messenger ICQ Number

Cant program PIC18F2331 and 4331!!!
PostPosted: Wed Dec 22, 2004 2:23 am     Reply with quote

Hi,

I have just upgraded the C complier software.
I am new, can someone help me in getting my PIC18F2331 to work?

I have CCS C complier + ICD-U40. I am sure that I wire the programming pins correctly.
But I could not program the chip.
I tried to press "Test Target", it shows
"Unknown PIC18 device, ID: 0101 if there is a valid id, then make sure algorithm inside is set correct."

what should i do now?

Thanks alot

Regards,
Daviz Crying or Very sad
Guest
Guest







PostPosted: Tue May 03, 2005 11:57 am     Reply with quote

There is additional pin #7 (AVdd) on this device. You should tie this pin to +5v in order to program correctly your device.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue May 03, 2005 12:21 pm     Reply with quote

It's not just the AVdd pin which must go to +5v. There is also an AVss
pin which must be connected to ground.

Go into MPLAB vs. 7.10 Help, for the ICD2. Buried deep within the
help file is a section on limitations:
Quote:
PIC18FXX20/XX31 Limitations
You must connect the AVDD and AVSS pins for the device to program.

Yes, this is for ICD2, but this is a hardware limitation of the PIC,
and thus it will also apply to the CCS ICD.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go 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