> 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-fr/questions-frequemment-posees/stack-bytecode-error.md).

# Erreur de pile / bytecode

#### Question :

***

Comment corriger une erreur de pile (Stack) ou de bytecode ?

#### Réponse :

***

Une erreur de pile ou de bytecode indique une mémoire corrompue, un script invalide ou un processus de programmation échoué.

Ceci est généralement causé par :

• Interruption de la programmation\
• Perte d'alimentation lors du flash\
• Un GamePack ou script corrompu

### Solution – Effectuer une réinitialisation d'usine

1. Déconnectez tous les câbles du Zen.
2. Appuyez et maintenez **P1 + P2**.
3. Tout en maintenant les deux boutons, connectez le Zen en utilisant le **port USB CONSOLE/PC**.
4. Maintenez enfoncé pendant au moins 4 secondes jusqu'à ce que les LED RVB clignotent **Rouge → Vert → Bleu**.
5. Relâchez lorsque le logo apparaît.

### Réinstaller le micrologiciel

1. Connectez-vous au PC via le **port USB PROG**.
2. Ouvrir **Zen Studio → Outils → Mise à jour du micrologiciel en ligne**.
3. Installez le dernier micrologiciel.

### Important

Après la réinitialisation, réinstallez vos scripts.\
Si l'erreur réapparaît immédiatement après l'installation d'un script spécifique, ce script est probablement corrompu ou incompatible.


---

# 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-fr/questions-frequemment-posees/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.
