Security bit on ATMEGA128

General discussion on mikroC PRO for AVR.
Post Reply
Author
Message
diego pg
Posts: 1
Joined: 03 Dec 2014 21:22

Security bit on ATMEGA128

#1 Post by diego pg » 03 Dec 2014 21:36

Hello, i´m Diego from Mexico.
I was working with ATMEGA128 microcontroller for a project and i want to protect my code against reading from other people. I have selected the lock bits in the ATMEL STUDIO programming interface but i can still use the "read" option in the interface, i mean i can get the code programmed in the uC in an .hex archive.
¿how can i block the microcontroller from reading and verifying using the programming interface?
Thank you and i hope somebody can help me. :?

User avatar
marina.petrovic
Posts: 2986
Joined: 18 Apr 2013 08:11

Re: Security bit on ATMEGA128

#2 Post by marina.petrovic » 04 Dec 2014 13:26

Hi,

In AVRFLASH (compiler Tools -> mE Programmer) programming software which we provided,
you can set LOCK Bits for example on Mode 3:
Further programming and verification of the Flash and EEPROM is disable in Parallel and SPI/JTAG Serial Programming mode.
The Fuse bits are locked in both Serial and Parallel Programming mode.

Unfortunately, I don't know whether there is some additional settings of LOCK Bits in ATMEL STUDIO programming interface.

Best regards,
Marina

Post Reply

Return to “mikroC PRO for AVR General”