Service

https//www.racom.eu/eng/support/firmware/mr400/serv.html

Print version

16. Service

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
>>

16.1. (h)eap info

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 
>>

16.2. (V) (v)ersion

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)

16.3. RF service (R)X

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
>>
(a)dj

(a)djust de(f)ault — calibration setting for measuring the RSS level, for production purposes

(s)ta

modem (s)tatus — informations about RF channel state

>>
RF modem status C0h
FX919 status    00h
idle errors 0  period 0 s
noise syncs 679  period 128 s
noise level -125 dBm
Rf

Rf modem status C0h — status byte

FX

FX919 status 00h — contents of the status register in the FX919 modem IC

idle

idle errors 0 — The main processor administers supervision over the processor in the modem IC. If the modem do not carry out the instructions, a reset is performed and this counter is incremented

per

period 0s — how often idle errors occur

sync

noise sync 679 — a counter of modem false synchronisation events (to noise or interference on the RF channel)

per

period 128s — how often noise sync occurs

nois

noise level -125 dBm — the average noise level on the RF channel. The first 3 ms of each received packet and the alien packets weaker then RSS treshold are included in the noise. The value is integrated in the time, the influence of disturbing signal expires after about 10 sec.

e(y)e

RX e(y)e — This function is used for diagnostic purposes in the modem part (in production only).

fr(e)

fr(e)q. step — Function used to switch channels in the set grid (25kHz). Both receiver and transmitter frequencies are changed using the (u)p or (d)own command.

Freq. (s)tep: 25 (u)p (d)own
(q)uit
(R)es

modem (R)eset — RF modem reset performed. Any service function on the RF channel is completed by performing a reset of the RF modem.

16.4. RFservice (T)X

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

16.5. (e)cho

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 Setr.exe

(e)cho

ECHO ON now — the keyboard characters are displayed

16.6. unit (s)tatus

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 (s)ervice (t)ime (d)ay time with suffix LOC for local time (winter) or LTS for local summer time

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 (U)nit (e)dit

log

log write at 86400s — time counted from hw reset in which the next log write will occur, see (U)nit (e)dit (l)og period

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.

16.7. (t)ime

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 file Morse.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 (hh:mm:ss.ms)

21:17:25.85

(s)ec

(s)econds — the number of seconds which have run since the last hardware reset

9731

(n)ew

set (n)ew time — to insert time 9h 15m 00s type:

n09:15:00 Enter, inserting is acknowledged by the message:

New time accepted

dat(e)

dat(e) — date information

07.09.2005

ne(w)

set ne(w) date — to insert date 1. 10. 2005 type:

w01.10.2005 Enter

New time accepted

16.8. (g)o

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

16.9. (c)lock info

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
>>

16.10. loop (i)nfo

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
>>

16.11. (r)adio mem c(o)mp ch(k)

Parameters for production purposes.

16.12. (m)obil

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 ==
>>
CnfTim

— maximal time of record validity according to Ne1v parameter in the Center CU

Timeout

— actual time of record validity

stored:

— number of stored records (number of active Mobiles)

send:

— number of sent records is limited, if number of stored Mobiles is bigger then number of sent, then use the filter

(a)ddr:00000000h (m)ask:00000000h
which brings the chosen Mobile addresses only

(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
>>
base 690FC000

— the current Base station which mediates the connection to Center

RSSI -70 dBm

— received signal strength from Base CU

©  2024 RACOM s.r.o. All Rights Reserved.