UG_6612_ 017 6612_OMU_S2+2_URT_V1_14 Firmware Description Document
Rev. 1.0 7
4 Command Line Interface
Firmware 6612_OMU_S2+2_URT_V1_14 implements an instruction set called the Command Line
Interface (CLI), which facilitates communication via UART between the 78M6612 and the host processor.
The CLI provides a set of commands which are used by the host to configure and to obtain information
from the 78M6612.
4.1 Identification and Information Commands
The I command is used to identify the revisions of Demo Code and the contained CE code. The host
sends the I command to the 78M6612 as follows:
>I<CR>
The 78M6612 will send back to the host the following:
TSC 78M6612 OMU S2+2 URT v1.14, Feb 09 2010(c)2009 Teridian Semiconductor Corp.
All Rights Reserved
CE6612_OMU_S2+2_A01_V1_4
>
4.2 Reset Commands
A soft reset of the 78M6612 can be performed by using the Z command. The soft reset restarts code
execution at addr 0000 but does not alter flash contents. To issue a soft reset to the 78M6612, the host
sends the following:
>Z<CR>
The W command acts like a hardware reset. The energy accumulators in XRAM will retain their values.
Z Reset
Description: Allows the user to cause soft resets.
Usage: Z Soft reset.
W Simulates watchdog reset.
6612_OMU_S2+2_URT_V1_14 Firmware Description Document UG_6612_017
8 Rev. 1.0
4.3 MPU Data Access Command
The most pertinent is the MPU data access command. All the measurement calculations are stored in the
MPU data addresses of the 78M6612. The host requests measurement information using the MPU data
access command which is a right parenthesis
)
To request information, the host sends the MPU data access command, the address (in hex) which is
requested, the format in which the data is desired (Hex or Decimal) and a carriage return. The contents
of the addresses that would be requested by the host are contained in Section 5.
4.3.1 Individual Address Read
The host can request the information in hex or decimal format. $ requests information in hex, and ?
requests information in decimal. When requesting information in decimal, the data is preceded by a + or
a -. The exception is )AB? which returns a string (see the AB description).
An example of a command requesting the measured power in Watts from Outlet 1 (located at address
0x08) in decimal is as follows:
>)08?<CR>
An example of a command requesting the measured power in Watts from Outlet 1 (located at address
0x08) in hex is as follows:
>)08$<CR>
4.3.2 Consecutive Read
The host can request information from consecutive addresses by adding additional ? for decimal or
additional $ for hex.
An example of requests for the contents in decimal of ten consecutive addresses starting with 0x12 is:
>)12??????????<CR>
An example of requests for the contents in hex of ten consecutive addresses starting with 0x12 would be:
>)12$$$$$$$$$$<CR>
Note: The number of characters per line is limited to no more than 60.
UG_6612_ 017 6612_OMU_S2+2_URT_V1_14 Firmware Description Document
Rev. 1.0 9
4.3.3 Block Reads
The block read command can also be used to read consecutive registers: )saddr:eaddr? For decimal
format or )saddr:eaddr$ for hex format where saddr is the start address and eaddr is the final address.
The following block read command requests the Outlet 1 wideband information contained in Table 4 in
decimal format:
>)20:3D?<CR>
4.3.4 Concatenated Reads
Multiple commands can also be added on a single line. Requesting information in decimal from two
locations and the block command from above are given below:
>)12?)15?)20:3D?<CR>
Note: The number of characters per line is limited to no more than 60.

78M6612-DB/OMU-USB

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Power Management IC Development Tools Omu Demo Kit
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet