SSN - CSView 7.2
SSN - CSView 7.2
SSN - CSView 7.2
For
CSView
2 of 10
1. CSView Information
1.1. Minimum system requirements
266MHz processor
64 Megabytes of RAM
Win98/ME or WinNT4/2k/XP
RS-232 serial port
Modem OPTIONAL
Network interface card OPTIONAL
3 of 10
CSView SCR#214 fixed. The NULL pointer de-reference that caused CSView to crash has been
removed.
CSView SCR#217 and SCR#290 fixed. CSView uses a state machine to retrieve data from the
system. The frequency of the data requests and the packet retry timeout are based off the baud
rate of the connection. A three second timeout is used at 38400 baud. All other timeouts scale.
CSView SCR#252 fixed. Error checking return value of GetNodeIndex().
CSView SCR#268 fixed. Key commands properly parsed and processed.
CSView SCR#250 fixed. Event and Dump log files can no longer cause a crash on a buffer
overrun error. The overrun condition has been removed and checks have been added to prevent
overruns in the future.
CSView SCR#269 and UPS300 SCR#364 fixed. CSView will gracefully de-allocate the
operating parameter menu.
CSView SCR#270 fixed. CSView is not allowed to read-back data from the user interface of the
series 1200 UPS.
CSView SCR#285 fixed. CSView will display the “processing calibration” dialog when the abort
is pressed.
CSView SCR#288 fixed. The MMS/SMS user defined messages are displayed properly.
CSView SCR#296 fixed. The dump and event logs now report the proper time-stamp in each file.
CSView SCR#298 fixed. The op params menu gets updated properly when toggling between
CSHVs over a UI connection (series 1200 ups).
CSView SCR#303 fixed. The pager interface code has been updated to conform with the haze AT
command specification.
UPS300 SCR#405B fixed. CSView generated acknowledge packets no longer interfere with the
program FLASH state machine.
CSView SCR#306 fixed. CSView will close the modem port properly if a page attempt fails.
CSView SCR#307 fixed. Fixed errors in system data request state machine.
CSView SCR#308 fixed. Receiving data out of order will not interfere with system data request
state machine.
CSView SCR#309 fixed. CSView now uses an editable modem string to configure the modem.
CSView SCR#310 fixed. Device menu is no longer de-allocated on a UI connection.
CSView SCR#311 fixed. The modem string is error checked (for 0 byte buffers and NULL
pointers) before being used, and is properly delivered to the communications thread.
Fixed bug in the P3 C4 D10, P3 C4 D11, and P3 C4 D14 support of the SNMP configuration code.
I had skipped past the two port numbers when filling the packet.
Fixed a bug where if the system acks back a flash packet with the abort flag set, UPS View will
display the proper message.
Added the calibrate wait dialog for when waiting for the abort to be processed. This applies to all
PCDs.
Added error message to SMTP support.
Fixed a bug in the key stroke handler that would corrupt non-alpha-character ALT keys (i.e ALT-1,
ALT-!, etc...).
Fixed a bug in the keystroke handler that allows NULL commands to be executed (NULL key-
strokes still work).
Fixed bug that allowed the ENTER key to be parsed as a CTRL-M. The bug was that my
CtrlDown flag was not being cleared on a consistent basis (i.e. ATL-CTRL would set the flag,
but not clear it when the CTRL key was lifted).
Fixed a bug that prevented the menu to be reset when the password had expired AND the user had
opened the menu. The result was a menu that would cause CSView to crash if any menu
options were selected. All product support is affected by this fix.
Fixed a bug that prevented the factory email dialog from opening after the dialog had been closed
once.
Fixed a bug that allowed the EVENT and DUMP log files to crash UPS View due to an index
exceeding the buffer.
4 of 10
Fixed a bug where UPS View could continue to request data from the boot monitor when it should
not (i.e. the system name).
If a ping fails due to admin issues, the user will be notified.
Fixed bug that would allow the op param dlg to stay open even after the password expired.
Fixed a bug where an unknown packet type being sent by UPS View would cause UPS View to
never send another packet out.
Fixed a bug that prevented UPS View from reading back the flash contents IF the readback button
was selected.
Made an attempt at fixing the odd bug where UPS View can program a cashed version of firmware
from over the network. Basically, I just turned the buffering off from the source firmware file.
Fixed bug all P2 support, P3 C2 D3 (SMS/MMS) and P3 C2 D6 (CS-2) that would prevent the
user from requesting the User Defined Messages from the system. If blue messages are on, an
unknown packet type error is printed.
Modified the graphics master interface dialogs to be more consistent with the UI.
Fixed a bug where the user could load display settings before UPS View had any tiles to display,
causing UPS View to crash.
Fixed a bug in protocol 3 support that would not display the correct number of calibration defs in
the blue messages.
Added a blue message to op param, calibrate, and command definition packets to indicate if a zero
def count packet had been received. If a zero count definition is received, UPS View will free
all memory associated with the definition. I.E. if zero op params, then free the op params menu.
3. Software Regeneration
All project and source files are located in the following directory in Visual Source Safe:
$/Software/68019-1_68028-1_View/
5 of 10
bits.c 4
X Comm_app.c 7
X comm_c1.c 7
X comm_flash.c 9
X comm_flash_atmel.c 7
X comm_flash_gui.c 7
X comm_flash_srec.c 6
X comm_flash_util.c 6
X comm_network.c 5
X comm_p2.c 8
X comm_p2_c2_d3.c 4
X comm_p2_c2_d4.c 4
X comm_p3.c 10
X comm_p3_c2_d255.c 5
X comm_p3_c2_d3.c 4
X comm_p3_c2_d4.c 6
X comm_p3_c2_d5.c 1
X comm_p3_c2_d6.c 4
X comm_p3_c2_d7.c 1
X comm_p3_c3_d255.c 5
X comm_p3_c3_d5.c 7
X comm_p3_c4_d10.c 5
X comm_p3_c4_d11.c 4
X comm_p3_c4_d14.c 4
X comm_p3_c4_d255.c 4
X comm_p3_c5_d1.c 4
X comm_p3_c5_d255.c 4
comm_ping.c 5
X comm_proc.c 5
X comm_protocol.c 7
X comm_serial.c 7
comm_smtp.c 5
comm_thread.c 5
comm_timer.c 5
comm_user.c 5
crc.c 4
deflate.c 4
gzip.c 5
inflate.c 4
X Main_app.c 8
X Main_c1.c 9
X main_c1_p1.c 8
X main_c1_p2.c 8
Main_cal.c 8
X main_command.c 7
main_dialog.c 4
X main_file.c 5
main_graphics.c 5
X Main_log.c 6
X main_menu.c 7
main_mouse.c 4
X Main_p2.c 9
X main_p2_c2_d3.c 9
X main_p2_c2_d4.c 9
6 of 10
X Main_p3.c 10
X main_p3_c2_d255.c 9
X main_p3_c2_d3.c 10
X main_p3_c2_d4.c 10
X main_p3_c2_d5.c 1
X main_p3_c2_d6.c 10
X main_p3_c2_d7.c 1
X main_p3_c3_d255.c 9
X main_p3_c3_d5.c 10
X main_p3_c4.c 8
X main_p3_c4_d10.c 10
X main_p3_c4_d11.c 10
X main_p3_c4_d14.c 10
X main_p3_c4_d255.c 10
X main_p3_c5_d.c 1
X main_p3_c5_d255.c 1
X main_proc.c 6
X main_protocol.c 8
main_reg.c 4
main_sw_options.c 6
X main_thread.c 5
X main_timer.c 7
X main_user.c 5
X main_util.c 7
X telem_graphics.c 5
telem_mouse.c 4
telem_proc.c 4
X telem_update.c 5
telem_user.c 4
X telem_util.c 5
X tlog_graphics.c 5
tlog_proc.c 4
tlog_util.c 5
trees.c 4
unzip.c 4
zip.c 4
zip_util.c 4
7 of 10
3.4. Regeneration instructions
4. Revision History
4.1. Rev. 7.1 Enhancements
Re-designed the structure of CSView into two threads (communications thread and user interface
thread)
All source files have been renamed and have had their file version reset to 1
Layered out product support into a protocol engine
Menu options are specific to the product
Added APS 250 protocol 1 support (P1 C1 D2)
Added APS 250 protocol 2 support (P2 C1 D2)
Added UPS300 protocol 2 support (P2 C2 D3)
Added CS-2 protocol 2 support (P2 C2 D4)
Added UPS300 protocol 3 support (P3 C2 D3)
Added CSHV protocol 3 support (P3 C2 D4)
Added CS-2 Protocol 3 support (P3 C2 D6)
Added APC boot monitor protocol 3 support (P3 C2 D255)
Added UPS1200 protocol 3 support (P3 C3 D5)
Added APC2 boot monitor protocol 3 support (P3 C3 D255)
Added UPS1200 via Graphics Master protocol 3 support (P3 C4 D10)
Added CSHV via Graphics Master protocol 3 support (P3 C4 D11)
Added System Summary via Graphics Master protocol 3 support (P3 C4 D14)
Added Graphics Master protocol 3 support (P3 C4 D255)
Added Software Only Options support to UPS300 protocol 2
Added Software Only Options support to UPS300 protocol 3
Added Software Only Options support to CS-2 protocol 3
Added text color tags to the text log file
Modified the log file name format: SN-NODE_YEAR-MONTH-DAY_TYPE_NUM.EXT. Valid
TYPE fields include: telem, 3ph, misc, tlog, user-*, dump-*, and event-*
Default log file extension is CSV (comma separated variable)
Creating user defined log files has been greatly simplified. Hold the Shift key down and right-
click the tiles of interest (these tiles will highlight in blue). Once all tiles have been selected,
left-click the telemetry window. A menu will pop-up. Select “Add selected tiles to user log
file” to create the user log file. At any time left-clicking the telemetry window and selecting the
“Select all tiles in the user log file” can select the tiles being logged to the user files. Individual
tiles may be removed from the log file in a similar fashion as they are added.
Event logging on Alarm is enabled by default
View has a new field in the PC Email Settings called Mail From Address. This is the address from
which the email is to have been sent from (replaces the old from address of mail@bogus.com, or
something like that).
PC paging on Alarm/Notice will only page once instead of continuously (until the event cleared).
Operating parameter menu now displays the value of the operating parameter next to the name.
Op param dialog now has Apply button. This will apply the change to the system without closing
the dialog. Multiple op param dialogs can be open at the same time.
8 of 10
Greatly improved the modem support. Any Hayes AT Command compatible modem should work
with CSView for modem connections and paging capability.
Debug messages (blue text in the text log) is accessible by pressing shift+insert (communications
related debug messages) and/or shift+delete (view related debug messages).
9 of 10
Changed the Calibration dialog. The Cancel button has been replaced with an Abort button. Abort
will send the abort request to the system. The ‘x’ box in the upper right hand corner will close
the dialog without sending the abort request.
10 of 10