Hello Kiste! I try and check all of your ideas. And...dont work.
But then i put one 20MHZ XTAL, two 22pf capacitor, and change the source code to pragma target OSC HS --INTOSC_NOCLKOUT -- Oscilador interno pragma target clock 20_000_000 -- Frecuencia del oscilador and WORK FINE. Problem is over. Only remains the question: "¿Why?" :) :) :) :) Very very thanks! ;) -------------------------------------------------------------------------------------------------------------------------- Ariel Palazzesi *Web* <http://www.ucontrol.com.ar%20> y *Foro*<http://www.ucontrol.com.ar/forosmf/index.php> *“Si cualquier habilidad que aprende un niño será obsoleta antes de que la use, entonces, ¿qué es lo que tiene que aprender? La respuesta es obvia: La única habilidad competitiva a largo plazo es la habilidad para aprender*“. Seymour Papert On Thu, Jan 20, 2011 at 3:24 AM, Oliver Seitz <[email protected]> wrote: > Hi! > > >then, compile and send the HEX file to PIC. The (dammed) LED remains > always off :( > > >The PIC is NOT running. :( > > I'll put up a few possibilities. Some of them may be very obvious, but it's > better to check anyway... > > 1. Is the program really there? Try to read it back from the PIC! > > 2. Is Power working? I'm measuring directly at the pins of the controller. > (Pin5=GND, Pin14=5V) > > 3. If you haven't used pin RA6, and you have some means to detect a 1MHz > signal, look for the clock when defining INTOSC_CLKOUT. You can use a LED, > it should show that the pin RA6 has "both" Vdd and GND. > > 4. If Vdd rises at a very slow rate when switching on, the internal reset > logic may not work. Vdd should rise from 0V to 5V within 100ms max. You can > make it work even when Vdd is rising very slowly by defining "pragma target > BROWNOUT enabled". (brownout works only when Vdd=5V, not at e.g. 3.3V) I > would also recommend "pragma target PWRTE enabled" that will wait some > milliseconds before starting the PIC, to let the power stabilize. > > That are my first idears... > > Good luck! > > Kiste > > > -- > You received this message because you are subscribed to the Google Groups > "jallib" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<jallib%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/jallib?hl=en. > > -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
