FAQFAQ   GalleryGallery   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   Forum RSS Feed   Hacked Gadgets Main Site 

Can't program PIC18F452

 
Post new topic   Reply to topic    Hacked Gadgets Forum Index -> Microcontroller Resources
View previous topic :: View next topic  
Author Message
lumstar
Newbie


Joined: 11 Nov 2009
Posts: 1

PostPosted: Wed Nov 11, 2009 9:49 am    Post subject: Can't program PIC18F452 Reply with quote

Hello everyone,

I am unable to program a PIC18f452 with a jdm programmer (http://www.obddiag.net/prog2455.html).

I have succesfully programmed a pic16f84a using this programmer and PicPgm spftware, but cannot program an 18f452 chip with it.

The circuit I have connected the icsp to is as follows:

ICSP --> Pic18f452
------------------------
MCLR --> MCLR
VDD --> VDD1 and VDD2
GND --> VSS1 and VSS2
PGD --> RB7
PDC --> RB6
PGM --> Floating

I also connected RB5(pgm) and VSS on the pic to ground in series with a 10K resistor.

With this setup, PicPgm cannot identify the pic or program it. Using IC-Prog, verify fails at 0000h meaning nothing was programmed.

Any ideas? What am I doing wrong here? MCLR seems to be above 12V and I have tried and external supply for the VDD (+5V) voltage. Does the PIC18F452 have stricter MCLR voltage requirements than something like the PIC16F84a?

Thanks for your time!

Stephen
Back to top
View user's profile Send private message

Alan
Site Admin


Joined: 29 Jan 2006
Posts: 1399
Location: Winnipeg, MB

PostPosted: Sat Nov 14, 2009 1:41 pm    Post subject: Reply with quote

I have not used that chip. I am not sure if this demo from Sparkfun will be applicable. (it isn't the same chip but the connection may be the same).
http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=75
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Hacked Gadgets Forum Index -> Microcontroller Resources 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