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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/08/05 06:53
Read: times


 
#91240 - which bits
Responding to: ???'s previous message
hi,

Peter Dannegger said:
This is not possible, because the lock bits are set from the factory.

Bill Houghton said:
The lock bits are not programmed from our factory, they are in the erased state.


I think Peter talks about Atmel.
Atmel xx2 devices have two groups of protection bits.

HSB
First group of protection bits is placed in Hardware Security Byte. There are User Memory Lock Bits LB2-0 in there. And these bits are factory programmed to level 4 (maximum security). These bits may be erased only by parallel programmer with Full Chip Erase sequence.

These security bits protect the code access through the parallel programming interface. They do "classic" protection levels, so level 4 means that neither parallel programming/verification, nor external execution are allowed by default from factory.

Nevertheless, these bits do not control chip access through the ISP. For this case, there are Software Security Bits which are stored in the extra Flash memory accessed by the ISP firmware.

SSB
Software Security Byte contains second group of protection bits. There are only two bits these, so only 3 levels defined:
1: No program lock features enabled;
2: ISP programming of the Flash is disabled;
3: Same as 2, also verify through ISP programming interface is disabled.
These bits are factory erased so chips are ISP unprotected.

--------
Finally: Atmel xx2 chips cannot execute program from external memory by default (when sold from factory) regardless of /EA pin level. To make it able you should perform full chip erase by parallel programmer. Make it able via ISP is not possible.

PS: Checked vith AT89C51ED2 and Phyton programmer some minutes before post.

Regards,
Oleg

List of 34 messages in thread
TopicAuthorDate
Philips p89c51RDx Programmer project            01/01/70 00:00      
   Useful Project            01/01/70 00:00      
   Useful Project. Count me in            01/01/70 00:00      
      lets try something....            01/01/70 00:00      
         No Go            01/01/70 00:00      
            see my "other things.."            01/01/70 00:00      
               bootrom code            01/01/70 00:00      
                  Jan, please email me at .....            01/01/70 00:00      
                  BootRom Code            01/01/70 00:00      
                     Boot ROM address range            01/01/70 00:00      
                        2kb boot code            01/01/70 00:00      
                           B oot from External Memory            01/01/70 00:00      
                              !EA/Vpp            01/01/70 00:00      
   why not the simple solution: NoTouch            01/01/70 00:00      
      Too Late            01/01/70 00:00      
         Try this, it has worked for some            01/01/70 00:00      
   Philips's angwer            01/01/70 00:00      
      the most often changed            01/01/70 00:00      
      an RX2 'fix' from the horse's mouth...            01/01/70 00:00      
         neat            01/01/70 00:00      
         Nice!            01/01/70 00:00      
            I'll look tomorrow...            01/01/70 00:00      
               I take it back            01/01/70 00:00      
                  you're NOT as stupid as you think.......            01/01/70 00:00      
         Not possible !!!            01/01/70 00:00      
            respectfully disagree...            01/01/70 00:00      
               Re: respectfully disagree...            01/01/70 00:00      
                  I didcussed it above earlier today...            01/01/70 00:00      
               difference Philips.vs.Atmel            01/01/70 00:00      
                  other things...            01/01/70 00:00      
                     lets make the ckt even simpler...            01/01/70 00:00      
                     maybe ?            01/01/70 00:00      
                        using the EA pin            01/01/70 00:00      
               which bits            01/01/70 00:00      

Back to Subject List