The crystal stuff is true for high value on some breadboard and on some circumstances. Wires must be keep short between crystal and PIC. Crystal pins must be as short as possible, capacitor too. On breadboard i usually use ceramic resonnator with built-in caps. In this case Flotulopex use the internal OSC so it's not the main cause.
If the PIC heat.. it's probably because he's burn, died, Kaput. I would try to remove all extra hardware attach to, check the Vd/Vss wiring (maybe it's reverted) and see if it's still heat. If not, do a led blink on all i/o to be sure every i/o are still working.
Maybe the config fuses are bad, maybe the LCD need special timing/start up delay. LCD_COMMANDUS, LCD_DATAUS could help.
When you do ICSP, PGM pin should be pulled low to prevent interference caused by the high voltage on MCLR pin. Place a 1-10K resistor between this pin and GND. Also, have a look bellow
http://www.melabs.com/support/icsp.htm
Once you have program your PIC, you MUST remove at least, the MCLR/Vpp wire from your board as the programmer hold the pin to GND at the end of the process. a While back i did a ICSP switch box like...
<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=163&d=1104851398">
It's pretty handy!
Be sure the Low Voltage Programming mode is disable in your config fuses. Try
Code:
'
' Pic Configuration
' =================
' Program Configuration Register 1
@ __CONFIG _CONFIG1, _CP_OFF & _CCP1_RB0 & _DEBUG_OFF & _WRT_PROTECT_OFF & _CPD_OFF & _LVP_OFF & _BODEN_ON & _MCLR_ON & _PWRTE_ON & _WDT_ON & _INTRC_IO
' Program Configuration Register 2
@ __CONFIG _CONFIG2, _IESO_OFF & _FCMEN_OFF
Also allow the internal OSC to settle (stabilise). Give a 50mSec (or more) delay at the top may help.
Last edited by mister_e; - 14th September 2006 at 15:52.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks