Invoking the MDB

Use the Command Prompt to invoke MDB.

In Windows® 7, the Command Prompt must be opened in Administrator mode:

Start>All Programs>Accessories>Command Prompt, right click and select “Run as Administrator.” This opens the Administrator: Command Prompt.

The path to the MDB may vary depending on where the MPLAB X IDE is installed and which operating system is installed. See the following table for the various operating systems and paths. The vn.nn in the path represents the version number, for example v3.00. These paths are long so you may want to add them to your path variable.

Table 1. Paths to the MDB by Operating System
Windows® 32-bit Operating System
c:\Program Files\Microchip\MPLABX\vn.nn\mplab_platform\bin>mdb.bat
Windows 64-bit Operating System
c:\Program Files (x86)\Microchip\MPLABX\vn.nn\mplab_platform\bin>mdb.bat
Linux® Operating System
macOS™ Operating System
Note: The mdb.bat and scripts do not need to be run from the directory where they were installed. If the directory where these scripts are installed is added to the system path, then mdb.bat and may run from any directory.