Programming Basics - Digilent Basys MX3 Reference Manual

Hide thumbs Also See for Basys MX3:
Table of Contents

Advertisement

7/30/2019
2. Select the programming tool named Basys MX3 corresponding to the board you want to program, under Licensed Debugger group.
3. Select the compiler you want to use.
Another useful tool included with MPLAB X is MPLAB X IPE. This tool allows the direct programming/erasing of the microcontroller,
but it does not provide an environment for writing, compiling, and debugging the code. Please see Microchip documentation for
instructions on using this tool.

1.2. Programming Basics

It is often very helpful to include the xc.h header when writing code for the Basys MX3:
#include <xc.h>
This further provides the inclusion of another header (p32mx370f512l.h) into the project that provides useful definitions such as:
Register names
example (register LATA is set to 0):
LATA = 0;
Specific register bits that can be accessed using a structure having the name of the register suffixed by "bits".
https://reference.digilentinc.com/reference/microprocessor/basys-mx3/reference-manual?_ga=2.68739409.1349070004.1564406803-1961480359.1...
Basys MX3 Reference Manual [Reference.Digilentinc]
8/52

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Basys MX3 and is the answer not in the manual?

Questions and answers

Daniel Gaucher
March 28, 2025

I m not able to use the basys mx3 with recent version of mplabx (6.x). The debugging tool does not show in the list. U of Sherbrooke

1 comments:
Mr. Anderson
March 28, 2025

If the Digilent Basys MX3 board does not appear in the list of debugging tools in MPLAB X version 6.x, you can try the following steps:

1. Ensure the board is connected via the DEBUG USB connector.
2. Verify that the correct device (PIC32MX370F512L) is selected during project setup.
3. Make sure all required drivers are installed for the Basys MX3 board.
4. If the tool still does not appear, manually select it under the Licensed Debugger group.
5. If unavailable, consider using MPLAB X IPE to program/erase the microcontroller, though it does not support debugging.

If the problem persists, the version of MPLAB X may not fully support the Basys MX3 debugger integration. In this case, try using a different MPLAB X version or contact support for updates.

This answer is automatically generated

Table of Contents