The Service part contains unit diagnostic tools, used mainly during the production process.
From MORSE main menu type s Enter
Service: (h)eap info (V)(v)ersion RF service (R)X/(T)X (e)cho unit (s)tatus (t)ime (g)o (c)lock info loop (i)nfo (r)adio mem c(o)mp ch(k) (m)obil (q)uit >>
Up-to-date information about auxiliary buffers – address/size, useful for software debugging.
type h Enter
Addr/size ... 1C464h/ 1602 1CB04h/ 1602 1D1B4h/ 1602 1D864h/ 1602 1DEAEh/ 2058 1E6BEh/ 2060 1EECEh/ 2062 1F6DEh/ 2064 1FEFEh/ 2050 2070Eh/ 2052 20F1Eh/ 2054 2172Eh/ 2056 21F3Eh/ 2058 2274Eh/ 2060 22F5Ah/ 144 22FEAh/ 1602 >>
If the capital letter V is chosen the following info is provided:
type V Enter
RACOM s.r.o. Nove Mesto na Morave Czech Republic MR900 firmware : D 726 issued at : Aug 15 2005 21:00:18 serial : 4857383 HW version: 3.00 >>
If the lower case v is chosen this info is given:
type v Enter
>>D 726 B 726
D 726 | – firmware version of MORSE D (main software module E or D,G H…, 726 is the FW number) |
B 726 | – firmware version of MORSE B (base loader module) |
Information from the RF receiver channel (mainly for production and debugging purposes)
type R Enter
Service RX: RSSI constants: (a)djust de(f)ault modem (s)tatus RX e(y)e fr(e)q. step modem (R)eset (q)uit >>
Services of the RF transmitter channel for production purposes.
type T Enter
Service TX: (c)arrier (r)andom (s)ync (dNNNNNNNN) hex data (p):5000ms fr(e)q. step modem (R)eset (q)uit
(c)ar | (c)arrier — Radio part transmits unmodulated carrier. |
(r)an | (r)andom — Continuous transmission of random data. Used in production to judge the signal with the RX eye at the receiving station. |
(s)yn | (s)ync — Transmits the RF data frame synchronisation sequence. |
(dNN) | (dNNNNNNNN) — Repeated transmission of four bytes. From these, each is assigned another pair of NN. This enables measurements with an arbitrary setting. |
(p): 5 | hex data (p): 5000ms — transmission duration, max. selectable time is 65 535 ms |
fr(e) | fr(e)q. step — see RF service (R)X above |
(R)es | modem (R)eset — see RF service (R)X above |
Toggles the keyboard echo off/on.
type e Enter
(e)cho | ECHO OFF now — the keyboard characters are not displayed now To switch ECHO ON again, type e Enter
here or from anywhere press Esc Enter se Enter
or restart |
(e)cho | ECHO ON now — the keyboard characters are displayed |
type s Enter
local time:2005-09-01 15:12:45 LOC/daylight savings; uptime:537 sec day time:2005-09-01 13:12:45 GMT; log write at:86400 B0 30001014; CNFDB use:81.3%;size:4076;items:71;banks:1; All transmitting disabled! Test active on Node 1 Binmon: SCC2 HEAP: 12/640 objs, 1034632 bytes free DBUFS: 18/64 objs, 35840 bytes free STACK: 2565 bytes free?; Cold Start |SCC |RFC |ETH |0 1 2 3|0 1 2 3 4|0 ret 0 0 0 0 0 0 0 0 0 0 - - user 0 0 0 0 0 0 0 0 0 0 - - Qbuf 1 0 0 0 TX 0 0 0 0 0 RX 1 0 0 0 0 flTX 1 1 1 1 flRX 1 1 1 1 RTS 0 0 0 0 DTR 0 0 0 0 err buf 0; Service mode. >>
local | local time: 2005-09-01 15:12:45 LOC — value according to
menu |
uptime | uptime: 537 sec — time elapsed from hw reset, see sts menu |
day | day time:2005-09-01 13:12:45 GMT — GMT time maintained in
Communication Unit, see |
log | log write at 86400s — time counted from hw reset in
which the next log write will occur, see |
The unit status would also display warnings when the CU is in some exceptional state, e.g.: | |
All | All transmitting disabled! — non standard states messages |
Test | Test active on Node 1 — message about running some of tests on the node 1 |
Binmon: SCC2 | Binmon: SCC2 — monitoring of serial channel |
HEAP | remaining free space for auxiliary buffers. The table displayed shows the number of packets (buffers) waiting in different queues throughout the CU. |
There are three sort of time used:
The GMT
is used in the CU and is kept with a lithium battery. Effective life of the battery is minimally 15 years under normal operation. The life at disconnected supply is however 3 years only.The local time
valid on the CU station. This time is set by(s)ervice (t)ime
. It is corrected by(U)nit (e)dit DI(F)F
parameter to get the GMT, which is kept in the CU.The distant operator time
jis used by the operator, which can be situated in different time zone. It is obtained from GMT by subtracting of parameter-t
, kwhich is found in the fileMorse.par
in the operator’s PC.
The local time us used in (s)ervice (t)ime
menu and
in transmitted old monitoring, which creates the monitoring message
completely in the source node. The GMT is used in all other functions
inside the CU, like saving time of logs, Events or time synchronization
by (U)nit (e)dit Time sync
.
The distant operator time is used for display of logs, Events and (new) Monitoring messages.
type t Enter
Time: (d)ay time (s)econds set (n)ew time dat(e) set ne(w) date (q)uit >>
(d)ay | (d)ay time — 24h time information
|
(s)ec | (s)econds — the number of seconds which have run since the last hardware reset
|
(n)ew | set (n)ew time — to insert time 9h 15m 00s type: n09:15:00 Enter, inserting is acknowledged by the message:
|
dat(e) | dat(e) — date information
|
ne(w) | set ne(w) date — to insert date 1. 10. 2005 type: w01.10.2005 Enter
|
Starts one of the CU software modules.
type g Enter
go MORSE (E) | — restarts the main module (warm start) |
go MORSE (B) | — starts the base loader module the same way as during a cold start (equal to switching on the power supply) |
go MORSE (A) | — starts the air loader module (if present) used for remote loading of the main module via the RF channel |
go MORSE (W) | — starts the wire loader module (if present) used for remote loading of the main module via the SCC channel |
power supply (S)hutdown | — switch off the power supply for 15 seconds, then switch on again – obsolete, not used |
The system clock frequency is measured in the course of four seconds with resolution in kHz. Caution! The CU is “dead” for these four seconds. In real operation, this action will cause an CU failure for four seconds. The signal from the on-board RTC (Real Time Clock) is used for measurement, so the accuracy of the clock value obtained cannot be better than the RTC accuracy.
type c Enter
System clocks - configured value: 66666667 Hz measured by on board RTC: 66662400 Hz >>
The time duration for running the program main loop.
type i Enter
main loop time statistics for last 23 seconds: longest run 3 ms average run 0.053 ms >>
The current state of mobile connection.
type m Enter
Mobile stuff Center: (a)ddr:00000000h (m)ask:00000000h (c)enter status Mobiles at RF: (0) (1) (2) (3) (4) (q)uit >>
(c)en | (c)enter status — in Mobile Center available only, offers the list of the active Mobile stations and the Base stations currently belonging to each Mobile station >> Nr Addr Base Timeout CnfTim 1 690F1001 690FC000 0294 0304 == send:1 stored:1 mobiles == >>
| ||||||||
(1) | Mobiles at RF: (0) (1) (2) (3) (4) — in Mobile CU only, choose the number of RFC running in Mobile mode Mob >> RF protocol HCSMA (Hruska's Carrier Sense Multiple Access) mobile info on RF channel 1: RSSI -70 dBm base 690FC000 >>
|