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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/22/03 18:21
Read: times


 
#43940 - RE: atmel 89c2051 programmer
Responding to: ???'s previous message
Ashwin Nayak wrote:
-------------------------------
i have made my own programmer using 74hc373 latch for control signals and one transistor for changing between programming voltage and reading voltage; for programming the at89c2051. could someone suggest me how to create exact time delays (between 1 micro-second to 110 micro second) for the negative going programming pulse on P3.2.

A simple and (in-efficient) way is to use a for loop doing nothing. But if you need accurate timing the software will have to run in DOS. What I have sometimes done is run through a (very) large loop noting the time before and after entering the loop. Then if you know that a loop running 1000000 times takes 10 sec. to run, you can easily figure out how many runs you need for 100µs.

also could someone suggest some sorce code examples in C not pascal.

For what parts of the software?

Best regards,

Mikkel C. Simonsen

List of 10 messages in thread
TopicAuthorDate
atmel 89c2051 programmer            01/01/70 00:00      
   RE: atmel 89c2051 programmer            01/01/70 00:00      
      RE: atmel 89c2051 programmer            01/01/70 00:00      
         RE: atmel 89c2051 programmer            01/01/70 00:00      
      RE: atmel 89c2051 programmer            01/01/70 00:00      
   RE: atmel 89c2051 programmer            01/01/70 00:00      
      RE: atmel 89c2051 programmer            01/01/70 00:00      
   RE: atmel 89c2051 programmer            01/01/70 00:00      
      RE: atmel 89c2051 programmer            01/01/70 00:00      
   RE: atmel 89c2051 programmer            01/01/70 00:00      

Back to Subject List