# X-TRAINER - PIC18F4550/45K50

1. Ejecuta el Software MICROSIDE v1.0.

{% hint style="warning" %}
**Requisitos:**

* Microcontrolador PIC18F4550 o PIC18F45K50 **precargado** con bootloader MICROSIDE en la tarjeta X-TRAINER.
* Sistema operativo Windows 8.1 o posterior.
  {% endhint %}

<figure><img src="/files/TzZ580XJuB7tUl4WRfJ9" alt="" width="384"><figcaption></figcaption></figure>

2. Conecta la tarjeta **X-TRAINER** a tu computadora a través del cable USB.
3. Marca la casilla ***X-TRAINER PIC18F4550/45K50*** y da clic en ***Iniciar***.\
   Una vez iniciado el programa se mostrará la siguiente ventana:

<figure><img src="/files/BeTJ4StFI8gUIjKokJNS" alt=""><figcaption></figcaption></figure>

4. En la tarjeta **X-TRAINER** presiona los botones “**RESET**" y “**BOOT**” **al mismo tiempo**, después suelta “**RESET**” y luego “**BOOT**” (Se escuchará un sonido en Windows de cuando es detectado un dispositivo USB).

<figure><img src="https://microside.com/wp-content/uploads/2022/11/Botones-programacion-X-TRAINER-350x161.png" alt="Botones-programacion-X-TRAINER" height="161" width="350"><figcaption></figcaption></figure>

5. En la ventana del software da clic en el botón ***Programar***. \
   Aparecerá “¡ **X-TRAINER detectado !**” en el cuadro de texto inferior como en la siguiente imagen:&#x20;

<figure><img src="/files/23xm9ZABwYR6jR1ZIctj" alt="" width="461"><figcaption></figcaption></figure>

6. Da clic en el botón pequeño con los tres puntos que se encuentra al lado derecho, se abrirá una ventana del explorador de archivos, selecciona el archivo .hex a programar en la tarjeta **X-TRAINER** y da clic nuevamente en el botón ***Programar***.&#x20;

{% hint style="info" %}
En el cuadro de texto inferior se podrá visualizar el proceso de programación.
{% endhint %}

<figure><img src="/files/9OIE9ZE6BnQ9vePIWrrH" alt="" width="463"><figcaption></figcaption></figure>

7. Cuando termine el proceso de programación y verificación aparecerá el mensaje\
   “**¡ Programación correcta !**”.

<figure><img src="/files/l5Jmvdamo7SZAeGpxEFR" alt="" width="463"><figcaption></figcaption></figure>

8. Por último, una vez terminado el proceso de forma exitosa, la tarjeta **X-TRAINER** se **reiniciará** automáticamente para ejecutar el código programado.&#x20;

<figure><img src="/files/jEQK8DypCFCMT4VHTDvT" alt="" width="461"><figcaption></figcaption></figure>

{% hint style="warning" %}
**Nota:** Una vez terminada la programación, en el software aparecerá "**X-TRAINER no detectado**" debido a que se ha reiniciado.

Esto **NO** significa que se haya interrumpido la programación.
{% endhint %}

{% hint style="info" %}
Para volver a programar se debe realizar nuevamente la secuencia de botones ("RESET" y "BOOT").
{% endhint %}


---

# Agent Instructions: 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://docs.microside.com/programadores-pics-and-avrs/software-microside-v1.0/x-trainer-pic18f4550-45k50.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.
