# PIC18F4550/45K50

{% embed url="<https://www.tiktok.com/@microside.com/video/7327758783956995333?is_from_webapp=1&sender_device=pc&web_id=7299528151892362758>" %}

{% hint style="warning" %}
Esta herramienta solo es compatible con los microcontroladores **PIC18F4550** y **PIC18F45K50** precargados con el **Bootloader Microside**.
{% endhint %}

1. Abre el apartado ***PIC18F4550/45K50*** en el software X-TRAINER Suite.

<figure><img src="/files/ws9CiVdrBue74pzLG35g" alt="" width="474"><figcaption></figcaption></figure>

2. Se mostrará la siguiente ventana:

<figure><img src="/files/0esfxrkfnZOwiWy13y9a" alt="" width="544"><figcaption></figcaption></figure>

3. Conecta la tarjeta **X-TRAINER** con **PIC18F4550/45K50** a tu computadora por medio del cable USB.
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="/files/4HnhdwxAXKn6Cb1wZmS9" alt="Botones-programacion-X-TRAINER" width="563"><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/x9HnZMY9y95crOOrbmlN" alt="" width="543"><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/dU6VOIjG8JohQ8AFVUrF" alt="" width="542"><figcaption></figcaption></figure>

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

<figure><img src="/files/37KvdPydYLaiqMFmZAp3" alt="" width="545"><figcaption></figcaption></figure>

8. Por último, una vez terminada la programación de manera correcta, la tarjeta **X-TRAINER** se **reiniciará** automáticamente para ejecutar el código programado.&#x20;

<figure><img src="/files/2qh4R2kNtc42SPucDXak" alt="" width="544"><figcaption></figcaption></figure>

{% hint style="warning" %}
**Nota:** Una vez terminado el proceso aparecerá el texto "**X-TRAINER no detectado**", esto debido a que la tarjeta X-TRAINER se ha reiniciado.

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

{% hint style="success" %}
Para volver a programar la tarjeta X-TRAINER es necesario **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/tarjetas-de-desarrollo-pics/software-x-trainer-suite/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.
