Zitat Zitat von thewulf00
@sdz55:
Die BrownOut hat nichts mit der Programmierung zu tun. Also erst überlegen, dann schreiben. Darüberhinaus schützt sie nicht.

Und mal ganz unter uns: Deine Antwort hat hier keinem was genützt.
Du hast gar keine Ahnung! Schau mal da:
Zitat Zitat von Atmel
9.4.2 [highlight=red:c15687c7f0]Brown-Out Detection[/highlight:c15687c7f0]
The Brown-Out Detection (BOD) circuit monitors that the VCC level is kept above a configurable
trigger level, VBOT. When the BOD is enabled, a BOD reset will be given if the VCC level falls bellow
the trigger level for a minimum time, tBOD. The reset is kept active until the VCC level rises
above the trigger level again. The trigger level has a hysteresis that ensures spike free
operation.
Figure 9-4. Brown-out Detection reset.
For characterization data on tBOD consult the device data sheet. The trigger level is determined
by [highlight=yellow:c15687c7f0]a programmable BODLEVEL setting[/highlight:c15687c7f0], see Table 9-2.
Note: 1. The values here are nominal values only. For typical, maximum and minimum numbers consult
the device data sheet.
The BOD circuit has 3 modes of operation:
• Disabled: In this mode there is no monitoring of the VCC level, and hence it is only
recommended for applications where the power supply is stable.
• Enabled: In this mode the VCC level is continuously monitored, and a drop in VCC below VBOT
for at least tBOD will give a brown-out reset.
Und jetzt schreibst du mal eine eMail an Atmel mit CC an mich, das die als Chip-Hersteller was falsches in dem XMega-Datenblatt schreiben!

Ach ja falls du kein Englisch sprichst:
Da steht: "eine programmierbare Brown-Out-Detektions-Level Einstellung"

@ikarus_177
Die BOD ist eine effektive Methode, da sie oft einstellbar ist und verhindert dass Kommandos des Mikrocontrollers überhaupt gesendet werden.