# PIC16F877A/887

{% embed url="<https://www.tiktok.com/@microside.com/video/7328561566109011205>" %}

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

1. Abre el apartado ***PIC16F877A/887*** en el software X-TRAINER Suite.

<figure><img src="/files/V23q6lFQd039Rg2OlyXZ" alt="" width="473"><figcaption></figcaption></figure>

2. Se mostrará la siguiente ventana:

<figure><img src="/files/ll72dlCTYvr9GPYbByxn" alt="" width="562"><figcaption></figcaption></figure>

3. Da clic en ***Buscar COM*** y observa los puertos desplegados, después conecta la tarjeta **X-TRAINER** a la computadora, vuelve a dar clic en ***Buscar COM*** y selecciona el puerto habilitado por la tarjeta **X-TRAINER**.

{% hint style="warning" %}
Verifica que la tarjeta **X-TRAINER** haya sido **detectada** con éxito.
{% endhint %}

<figure><img src="/files/POJdGIRvjRnRP7XFWaPO" alt="" width="563"><figcaption></figcaption></figure>

4. 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 en el botón ***Programar***.&#x20;

{% hint style="warning" %}
**Antes de programar** tu tarjeta X-TRAINER es importante verificar que los pines de programación **C6** y **C7** **no estén conectados** a tu circuito. Una vez finalizado el proceso de programación podrás hacer uso de ellos.
{% endhint %}

<figure><img src="/files/IW9SlUanbMpALoKS42nH" alt="" width="562"><figcaption></figcaption></figure>

5. Por último, cuando termine el proceso de programación aparecerá el mensaje\
   “**¡ X-TRAINER Programado correctamente !**”.

<figure><img src="/files/GRSZYKkh2KTtGgEI5tNi" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="success" %}
Una vez programada la tarjeta **X-TRAINER**, es posible seguir programándola sin necesidad de volver a seleccionar el puerto COM solo si **no se cierra el software**, de lo contrario es necesario volver a seleccionar el puerto.
{% 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/pic16f877a-887.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.
