PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Gegen Auslesen schützen



filth
29.06.2009, 17:44
Hallo,

könnte mir jemand sagen, wie ich einen Atmega8 gegen Auslesen schützen kann? Was muss ich in BASCOM-AVR setzen?

Danke!

Willa
29.06.2009, 18:29
Du musst wohl die Lockbits setzen. Hier findest du die:
http://www.rn-wissen.de/index.php/Bild:Avarnmega128fusebits.gif

filth
29.06.2009, 18:35
Jap, aber welche? ;)

Willa
29.06.2009, 18:42
Hab grad keinen µC am Laptop um nachzusehen, was gibt es denn für Auswahlmöglichkeiten...?

Thomas$
29.06.2009, 18:50
was passiert wenn man den reset eingang zerlegt?

filth
29.06.2009, 18:54
Further programming of the Flash and EEPROM is
disabled in parallel and serial programming mode. The
Fuse bits are locked in both serial and parallel
programming mode.

Further programming and verification of the Flash and
EEPROM is disabled in parallel and serial programming
mode. The Fuse bits are locked in both serial and parallel
programming modes.

No restrictions for SPM or LPM accessing the Application
section.

SPM is not allowed to write to the Application section.

SPM is not allowed to write to the Application section, and
LPM executing from the Boot Loader section is not
allowed to read from the Application section. If interrupt
vectors are placed in the Boot Loader section, interrupts
are disabled while executing from the Application section.

LPM executing from the Boot Loader section is not
allowed to read from the Application section. If interrupt
vectors are placed in the Boot Loader section, interrupts
are disabled while executing from the Application section

Willa
30.06.2009, 07:36
Da müsstest du wohl oder übel das zweite nehmen. Denn nur das verhindert ein Auslesen/ Überprüfen des Flash. Programmieren ist dann aber auch nicht mehr... Dazu musst du vorher einen ChipErase ausführen, angeblich werden die Lockbits dann auch zurückgesetzt.

thewulf00
30.06.2009, 08:25
Das ist auch so @Willa.
Die Lockbits verhindern ein Auslesen der Daten aus dem Flahsh/EEprom und nur das globale ChipErase löscht diese Bits wieder (aber eben inklusive des Programmes :) )

filth
30.06.2009, 09:48
Vielen Dank euch!