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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/07/13 00:17
Read: times


 
#189883 - Bugs...
Responding to: ???'s previous message
Mikkel C. Simonsen said:
And with the SS pin connected, programming works!

Spoke a bit too soon. Not only the (supplied) documentation is buggy - I think the software is also.

When you use the "Auto Program" feature of the software, the steps are in the wrong order. The lockbits are written before the fusebits, meaning that the fusebits aren't actually written. I discovered this because the code was running about 4 times too fast. It should run on the 2MHz ceramic resonator, but it was actually running on the internal 8MHz oscillator.

When you reverse the lockbits/fusebits steps, the software runs at (almost) the correct speed. The "almost" part is my own fault - the software was originally written for the AT89C2051, and it needs a bit more tweaking.

Mikkel

List of 18 messages in thread
TopicAuthorDate
Programming AT89LP214            01/01/70 00:00      
   easily            01/01/70 00:00      
      Not so easy with an Arghmel            01/01/70 00:00      
   How certain are you of the applicability of your cable?            01/01/70 00:00      
      Correct, ancient, cable            01/01/70 00:00      
         No Crystal needed            01/01/70 00:00      
            More testing            01/01/70 00:00      
               SS is needed            01/01/70 00:00      
                  The secret SS pin            01/01/70 00:00      
                     Secret SS            01/01/70 00:00      
                        Parallel ports are easy to find...            01/01/70 00:00      
                           Bugs...            01/01/70 00:00      
                               Bugs...            01/01/70 00:00      
                                 Size matters            01/01/70 00:00      
                                    with all this stupid stuff I would immediately ...            01/01/70 00:00      
                                       Alternatives            01/01/70 00:00      
                              What do you expect ... it's ATMEL            01/01/70 00:00      
                     this is ATMEL ... what do you expect?            01/01/70 00:00      

Back to Subject List