View previous topic :: View next topic |
Author |
Message |
wynnet
Joined: 02 Dec 2003 Posts: 15
|
start up too long issue |
Posted: Mon Apr 05, 2004 2:20 pm |
|
|
IC 18f452
I have two ICs identical part number and lot, identical program, download/programmed by one PICSTART Plus.
One IC starts up immediately.
The second one has about 11 to 12 seconds delay, (seconds not msec).
What do I do wrong?
May be I set some flag/bits wrong.
I use MPLab and Picstart and CCS to create my firmware.
I know that I do something wrong,
the IC runs OK/correctly after 10-12 seconds delay.
I can just remove the IC, but I also want to learn my mistake. |
|
|
Haplo
Joined: 06 Sep 2003 Posts: 659 Location: Sydney, Australia
|
|
Posted: Mon Apr 05, 2004 5:28 pm |
|
|
Are you using both ICs on the same board, or on different boards? And do you have any of these active:
Power-up timer
Oscillator Startup timer
Brown-out reset
One of your boards may have a problem with the power supply/crystal. This may keep the PIC in the reset state until all the power-up conditions are met. |
|
|
wynnet
Joined: 02 Dec 2003 Posts: 15
|
|
Posted: Tue Apr 06, 2004 6:15 am |
|
|
I place IC on socket on the same board. |
|
|
rnielsen
Joined: 23 Sep 2003 Posts: 852 Location: Utah
|
|
Posted: Tue Apr 06, 2004 9:29 am |
|
|
Bad PIC? Try using a third PIC and if it works fine, use the bad one take up space in your garbage can.
Ronald |
|
|
|