The Debug Module is a means of communicating with the DigiSnap Pro directly from a Windows PC. There are two parts to this, a custom USB/serial cable, and some custom software.
The Debug Module was used during development to test the DigiSnap Pro, and it could be useful for customers when configuring their systems, and for firmware updates. In general use however, a Bluetooth connection to a smartphone or tablet is prefered, as it will be less complex.
Let's start with the cable attached to the DigiSnap Pro, but not yet connected to the USB port of a on a Windows PC. If you run the program, it will check which serial ports are available. Take note of this, as we are going to look for the difference when we connect the USB cable. In this case, COM xxx is available. Close the program.
Now, connect the cable to the USB port on a Windows PC (sorry, Windows only), and run the program again. You can now see that COM xxx has been detected, which wasn't there earlier. This means that the computer has assigned this to the cable. You can skip the first step from here out, as this computer will always use this same COM port number for this cable.
Let's take a look at just the screen. As before, with the cables attached, let's run the program, and select COM6. Connect the battery to power on the DigiSnap Pro, and press the R key to register.
Registration tells the DigiSnap Pro what is attached, announces the new connection to other attached devices, and allows communication among them. There is a large document that describes the communication protocol and connected devices in detail, if you want to know more. For now, please think of the DigiSnap Pro as a collection of 'Modules', each of which perform a specialized set of operations.
If you notice, there are several Modules registered. The Control Module, Camera Module, and the Debug Module. Each Module may have an associated menu key. Entering C for instance takes us to the Camera module menu.
Each screen of the program will list a series of command letters that are available at any point. You simply type these keys to navigate through the program. Q for instance takes us back to the main menu.
You probably noticed the message that the registry has changed, as well as other notes. About 45 seconds after powering the unit on, the network hardware had booted, and registered. The network hardware is normally kept in a very low power state, and only awaken only when needed, for image transfer, sending status emails, and for configuration. If there are nothing for it to do, it will go back to sleep soon.
Let's go back to the Camera module menu. There are a host of parameters that can be configured, and they are all listed here. The Enter key will refresh the parameters. There are keys for setting parameters, requesting the module to perform a process, and other operations. Let's change the camera voltage for instance, by setting the parameter. Please note that the value used in the background isn't a voltage value, but a number. The correspondance between the parameter value, and the 'real world' effect is defined in the document mentioned earlier. While the Debug Module is very flexible, using it may require some additional reading to use effectively.
Let's take a look at one more menu, the Upgrade menu. This may be the most useful menu for early customers, to update the firmware in the DigiSnap Pro. Eventually we will incorporate other methods for upgrading the firmware, but this was the only method available when the DigiSnap Pro was released. Let's go through the process, just as an example. The new firmware will be provided in a file, that you place in the same folder as the Debug Module program. As you can see, the program will then list that file. Enter the file name, and the debug module will work with the DigiSnap Pro to load that new firmware.
Feel free to navigate through the various menus of the Debug Module, and discover some new features of the DigiSnap Pro.