uCon HomePage

MicroMonitor (i.e. uMon) Specifics


uCon has a few MicroMonitor-specific tricks up it's sleeve; however, this should in no way imply that uCon relies on MicroMonitor or that MicroMonitor relies on uCon. That being said, most of the uMon-specific features in uCon are either under the menu item uMon or they're script commands.

This help page primarily deals with the features provided under the uMon menu item. Refer to the newmon and moncmd script commands for more information on the uMon-specific script commands.

uMon Menu Sub Items:

Backup TFS:

This item brings up the TFS Backup dialog box as follows...

This facility in uCon takes advantage of uMon's tftp server, and it's ability to return the current list of files stored in TFS. If the uMon-based TFTP server recieves a read request for the filename '.', then it will return a file that contains a list of all files currently stored in TFS. This list will include filename, as well as info field and flags if applicable. With this list, uCon can then retrieve the entire list of files from a uMon based target, save them to a host-based directory, then at some later date restore that set of files back to the uMon based target.

Referring to the "TFS Backup..." dialog box above, the ListFile entry is the name of the file to be created on the host that will contain the full list of files currently stored in TFS. This file, along with all files in TFS, will then be copied to the directory under which the list file is created. The filename can be directly entered in the text box or the Browse button can be used to look for an existing list file or to create a new directory under which a new list file can be created. The Target IP entry is the IP address of the target running uMon. The Restore and Backup buttons allow the user to restore a set of files to the uMon based target or establish a new backup of files from a uMon based target respectively.

Finally, the Query checkbox is checked, then prior to each file transaction, uCon will ask the user if that file should be processed or skipped. This is handy for cases where a "partial" restore is to be done from host to target.

Moncmd:
This facility simply provides a user interactive means of issuing a command to a uMon client using the MONCMD UDP port connection. This is a very basic interface and assumes that the output of the command will be read from the uCon console window.

Edit TFS File:
This facility allows the user to pull a file up from the target (using TFTP), edit that file using the editor configured in uCon, then push that file back down to the target (once again using TFTP). It's just a convenient way to edit a target-resident ASCII file if the target is running uMon.

The expected sequence is as follows:

1. Enter the name of the file on the target
2. Specify the IP address of the target from which the file is to be transferred.
3. Click the "Get File" button (this retrieves the file and opens up an editor on that file).
4. Edit the file in the now-opened editor (refer to Miscellaneous Configuration for information on establishing your editor of choice).
5. Click the "Put File" button to transfer that edited temporary file back to the target.