Datasheet

DMC60CSoftware Reference Manual
Page 7 of 16
1.4 Restore Defaults
You can restore the parameters to their default values by clicking the button. You can also
restore the default values by holding down the BRAKE/COAST CAL LED button when powering on the DMC60C.
1.5 Updating Firmware
The DMC60C comes pre-loaded with both bootloader and application firmware images. The bootloader firmware
version is fixed at version 1.9 (0x109) and is not meant to be updated. The application firmware should be 1.23
(0x117) out of the box. Updates found at the DMC60C product page on the reference website
(https://reference.digilentinc.com/dmc-60c/start).
To update the firmware of a DMC60C:
1. Download the latest application firmware .hex file.
2. Right click the DMC60C’s device card and click Update Firmware.
3. Select the downloaded firmware hex file.
4. Click update firmware.
If the update is successful, you will get an Update Successful message. If the firmware update is interrupted or
unsuccessful, the DMC60C will stay in bootloader mode and the application firmware version will show 0xFFFF. At
this point you should reattempt to update the firmware until it is successful.
1.6 Setting Brake/Coast
The Brake/Coast LED is located in the center of the triangle, which is located at the center of the housing, and is
used to indicate the current Brake/Coast setting. When the center LED is off, the device is operating in coast mode.
When the center LED is illuminated, the device is operating in brake mode. The Brake/Coast mode can be toggled
by pressing down on the center of the triangle, and then releasing the button.
2. Creating a DMC60C Object
Creating a DMC60C object is similar in each of the supported languages (C++/Java/Labview). The API uses the
DMC60C’s device ID to specify which DMC60C to instantiate. This means each DMC60C must have different device
IDs or there can be complications.
2.1 FRC VS Code 2019 (C++/Java)
1. In FRC VS Code 2019, create a new project or open an existing VSCode FRC project.