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 support@ccsinfo.com

ICD-U40 and PIC18F452 Development Kit
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
MAKInnovation



Joined: 16 Nov 2010
Posts: 61

View user's profile Send private message

PostPosted: Thu Dec 16, 2010 11:29 am     Reply with quote

Thanks alot PCM for your keypad program
Ash
miji88



Joined: 06 Apr 2011
Posts: 25
Location: Malaysia

View user's profile Send private message Yahoo Messenger

PostPosted: Sat May 07, 2011 2:18 am     Reply with quote

may i ask question.. if i'm using this code, it can be used with the keypad encoder?? or it can be connected direct to the PIC?
_________________
i'm student that realy need help to learn
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat May 07, 2011 12:01 pm     Reply with quote

The code discussed in this thread is for a keypad that is directly
connected to the PIC pins.
miji88



Joined: 06 Apr 2011
Posts: 25
Location: Malaysia

View user's profile Send private message Yahoo Messenger

PostPosted: Sun May 08, 2011 11:55 am     Reply with quote

thanks pcm
_________________
i'm student that realy need help to learn
miji88



Joined: 06 Apr 2011
Posts: 25
Location: Malaysia

View user's profile Send private message Yahoo Messenger

PostPosted: Sun May 08, 2011 11:23 pm     Reply with quote

hi all.. I just want to ask.
When I want to burn my hex file into pic using mplab ide.
Mplab ide state that "target power no detected". What does it mean??
_________________
i'm student that realy need help to learn
newguy



Joined: 24 Jun 2004
Posts: 1900

View user's profile Send private message

PostPosted: Mon May 09, 2011 7:48 am     Reply with quote

miji88 wrote:
hi all.. I just want to ask.
When I want to burn my hex file into pic using mplab ide.
Mplab ide state that "target power no detected". What does it mean??


"Target Power Not Detected"
Target: the PIC you're trying to program.
Power Not Detected: the programmer doesn't "see" the supply voltage (Vdd) applied to the PIC.
gogutier



Joined: 12 Jul 2011
Posts: 4

View user's profile Send private message

PostPosted: Wed Aug 09, 2017 10:09 pm     Reply with quote

edp2009 wrote:
PCM programmer wrote:
Quote:
In terms of hardware, I have read that I need to pull up the rows.

Those are pull-down resistors. Pull-up resistors connect to the Vdd
voltage.

Also the resistors are on the wrong pins. They should be on the row pins
(like you said in your post). Also, 1K will work but there is no need for
such a low value. 10K would be better.


I changed to 10K and pullups on rows.

Works flawlessly.

Thanks so much for your help! Smile


Had the same problem, thanks! Weirdly enough it didn't work on simulation but it did in real life.
Ttelmah



Joined: 11 Mar 2010
Posts: 19215

View user's profile Send private message

PostPosted: Thu Aug 10, 2017 12:22 am     Reply with quote

Not weird at all.
See the sticky at the head of the forum about Proteus simulator.
Same applies to any other simulator really....

As I (repeatedly) say, the problem is that simulators do not simulate the PIC variants at all well. Think for a moment about a couple of different PIC18's for example. Unless they are variants of the same 'core' (so 2520, 4520 etc.), there will be tiny variations in their behaviour. Some errata (I don't think there is any PIC without at least one erratum), but also just tiny timing differences etc.. The simulators know nothing about these.
You can develop a program in the simulator, and then have to start development again when you start with the real chip....

This is why you will repeatedly see the 'old hands' here (try not to emphasise the first word in this...), will say 'test in the real chip'. Unfortunately some of the 'newcomers', will think "old fogies, they don't know anything", but then a few months later discover as you have, 'why'....
temtronic



Joined: 01 Jul 2010
Posts: 9097
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Thu Aug 10, 2017 5:54 am     Reply with quote

re: 'old hands', 'old fogies'

Well you put a smile AND a frown on my face.
Yes, I'm one of them...... Very Happy
Sigh, I've spent HALF my life 'playing with PICs' Smile
That's like 3 decades....
Still have 16C71s with quartz windows here, WORKING though where the UV eraser is...hmmm.. that I have to find, one day....
Sad thing is I'm almost ready to toss out all my 7400 and 4000 series chips, 1000s of $ worth of parts as a 50c PIC will replace them.
I do remember when th ul914s came out and pop was amazed,signalled the end of vacuum tubes...

Jay
Ttelmah



Joined: 11 Mar 2010
Posts: 19215

View user's profile Send private message

PostPosted: Thu Aug 10, 2017 7:23 am     Reply with quote

As I said "try not to emphasise the first word in this..." Smile
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
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