Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/25/03 12:38
Read: times


 
#46596 - RE: AT89Cx051 programming questions
Responding to: ???'s previous message
Kai Klaas wrote:
-------------------------------
> After some tests I determined that I have to insert a
> 2.5ms break after powering up the chip before
> programming the first byte. Why should that be
> nescessary?

As long as I don't know more about your circuit, I can only guess: There can be some time 'constants' in your ciruit, needing this few milliseconds.


Here is the schematic - complete with XTAL pin error: Schematic

The 7407 doesn't really serve any purpose BTW - except for the "E" gate. I put it there to be able to get non-totempole outputs (PB is a 574 latch), but that's not nescessary it turns out.

I guess there could be "constants" somewhere, but I can't figure out why they would only apply when programming the chip...

Another guess: When using built-in oscillator in combination with quartz, mcu is allowed to need some milliseconds for stabilizing. May be that mcu needs this time for some other stuff, also? Sometimes in datasheet such a minimum time needed for being ready for programming after power-up is specified. I cannot remember where I saw this, but I did.

I have seen it in Infineon datasheets, but the oscillator is given as the only reason for the delay.

It's a only a feeling, but I would insert even a longer break for stabilizing: Something arround 10...20msec.

I probably should. I will test the circuit with different chips to find the minimum value, and then set the time three or four times higher.

Best regards,

Mikkel C. Simonsen


List of 7 messages in thread
TopicAuthorDate
AT89Cx051 programming questions            01/01/70 00:00      
   RE: AT89Cx051 programming questions            01/01/70 00:00      
   RE: AT89Cx051 programming questions            01/01/70 00:00      
      RE: AT89Cx051 programming questions            01/01/70 00:00      
         RE: AT89Cx051 programming questions            01/01/70 00:00      
            RE: AT89Cx051 programming questions            01/01/70 00:00      
               RE: AT89Cx051 programming questions            01/01/70 00:00      

Back to Subject List