> For the complete documentation index, see [llms.txt](https://guide.cronuszen.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.cronuszen.com/zen-de/haufig-gestellte-fragen/stack-bytecode-error.md).

# Stack-/Bytecode-Fehler

#### Frage:

***

Wie behebe ich einen Stack- oder Bytecode-Fehler?

#### Antwort:

***

Ein Stack- oder Bytecode-Fehler weist auf beschädigten Speicher, ein ungültiges Skript oder einen fehlgeschlagenen Programmierprozess hin.

Dies wird typischerweise verursacht durch:

• Unterbrechung der Programmierung\
• Stromausfall während des Flashens\
• Ein beschädigtes GamePack oder Skript

### Lösung – Werkseinstellungen zurücksetzen

1. Trennen Sie alle Kabel vom Zen.
2. Drücken und halten Sie **P1 + P2**.
3. Während Sie beide Tasten gedrückt halten, verbinden Sie das Zen über den **CONSOLE/PC USB-Anschluss**.
4. Halten Sie mindestens 4 Sekunden lang gedrückt, bis die RGB-LEDs blinken **Rot → Grün → Blau**.
5. Lassen Sie los, wenn das Logo erscheint.

### Firmware neu installieren

1. Verbinden Sie mit dem PC über den **PROG USB-Anschluss**.
2. Öffnen Sie **Zen Studio → Tools → Online Firmware Update**.
3. Installieren Sie die neueste Firmware.

### Wichtig

Nach dem Zurücksetzen installieren Sie Ihre Skripte erneut.\
Wenn der Fehler sofort nach der Installation eines bestimmten Skripts erneut auftritt, ist dieses Skript wahrscheinlich beschädigt oder inkompatibel.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide.cronuszen.com/zen-de/haufig-gestellte-fragen/stack-bytecode-error.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
