
dsPICDEM™ MCHV-3 Development Board User’s Guide
DS50002505A-page 26
2016 Microchip Technology Inc.
2.4
POWER SEQUENCES
The user should ensure that the following power sequences are adhered to.
2.4.1
Power-up Sequence
The unit is powered up when the power cable is connected to the AC mains. To verify
that the unit is powered, make sure that the LEDs D6, D13, D17 and D18 are on.
2.4.2
Power-Down Sequence
1. Stop firing all power devices by removing the PWM OUTPUTS shunt jumper.
2. Turn off the incoming AC supply by disconnecting the power cord from the mains.
3. Wait until the red DC bus LED indicator (D13), located next to the DC bus
connector, is no longer illuminated (this will take 5 minutes or less).
2.4.3
Programming/Debugging an Application Code Using the
Built-in Starter Kit on the Board Programmer/Debugger
The MPLAB
®
Starter Kit on-board programmer/debugger for the dsPICDEM™
MCHV-3 Development Board may be used with MPLAB X IDE, the free Integrated
Development Environment, which is available from Microchip’s web site
(
www.microchip.com
). MPLAB X IDE allows the Starter Kit on the board to be used as
an in-circuit debugger, as well as a programmer.
In-circuit debugging allows you to run, examine and modify your program using the
Starter Kit on-board hardware. This greatly assists you in debugging your firmware and
hardware together.
Special Starter Kit on-board software interacts with the MPLAB X IDE application to run,
stop and single step through programs. Breakpoints can be set and the processor can
be reset. Once the processor is stopped, the register’s contents can be examined and
modified.
2.4.4
Setting Up an Application for Debug
To prepare the application for debug:
1. Launch MPLAB X IDE and then open the application project. The related work-
space will be open. For information on projects and workspaces, refer to the
MPLAB X IDE documentation listed in the
section of
the
in this user’s guide.
2. In the toolbar, click
Debug Project
. The build progress will be visible in the Build
tab of the Output window.
3. Once the build sequence is complete, MPLAB X IDE will program the target
device and begin executing the application code in Debug mode, as shown in
Note:
The unit is designed to be connected to the AC mains supply via a standard
non-locking plug. As the unit has no mains switch, this plug constitutes the
means of disconnection from the supply and thus, the user must have
unobstructed access to this plug during operation.