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?

Subscribe to Our Youtube Channel

Table of Contents