Cdma 1X 3
Cdma 1X 3
Ji-Young Hwang
Email : [email protected]
Associate Research Engineer
LG Electronics Inc.
LG Electronics Inc. 1
Contents
Introduction
Download Procedure
Initialization Procedure
Debugger Command
LG Electronics Inc. 2
Introduction
▶ 제공되는 기능
ATM 기반의 TCP/IP 기능을 제공
CSM5000 Modem 적용하여 IS-2000(1x) Full 기능 지원
6 Sector 의 Overhead Channel 과 최대 64 개의 Traffic Channel 를 지원
LG Electronics Inc. 4
DBC S/W Part
LG Electronics Inc. 5
RFC S/W Part
▶ BUDA 상태 관리
- BSP 로부터 받은 configuration 으로 PLL & Tx Gain Setting
- 상태 변경 check
▶ PACA 상태 관리
- BSP 로부터 받은 configuration 으로 PLL & Tx Gain Setting
- 상태 변경 check
- Current Tx Power Monitoring
▶ HPA/LPA 상태 관리
- 상태 변경 check
- 장애 처리 (VSWR, Disable, Over Temperature, Over Power)
▶ Tx Power Calibration 기능
- 현재 출력 power 를 user 가 원하는 power 로 맞춰 주기 위하여 BUDA 의
TxGain 조절
LG Electronics Inc. 6
Downloading Procedure
▶ RCCA
1. Request Socket connection to BSP
6. File downloading
LG Electronics Inc. 7
i960 Monitor for BTS RCP v1.0.0.
(compiled at Jan 30 2001 20:56:35)
The CPU version is i960 HD 02-step.
LG Electronics Inc. 8
RCP OS 1.2.5 warming up... (sleep 6sec)
LG Electronics Inc. 9
▶ DBPA
1. Request network address to RCP
2. Request Socket connection to RCP
3. Send Loading Table Request Message to RCP
4. Receive Loading Table from RCP
5. Send Session Open Request Message to RCP
6. Request file downloading to RCP
7. File downloading
8. Send loading confirm message to RCP
9. Decompress file code, ELF parsing
10. Send Session Close Request Message to RCP
11. Execute application
LG Electronics Inc. 10
i960 Monitor for BTS CHC v1.0.0.
(compiled at Feb 1 2001 16:07:53)
The CPU version is i960 HD 02-step.
LG Electronics Inc. 11
CHC OS 1.2.5 warming up... (sleep 6sec)
C h ip C f g R e q C H C D o w n lo a d
( C h ip T y p e / C a r d T y p e )
L D C o m p le te
( C h ip S t a te )
C h ip C f g M s g
C h ip C o n f ig A c k
D e v S ta tu s R p t
O H ch자 원 할 당
O / H c h M a jo r A llo c M s g
O / H c h M in o r A llo c M s g
C h A llo c C o n f ig
T a s k C re a te
O H c h C fg R e q C h A l l o c A c k( 종 류 / 갯 수 별 )
O /H c h C fg M s g
O /H c h R e a d y
D e v S ta tu s R p t
S ts U p d a te
LG Electronics Inc. 13
Debugger Command
▶ 호 설정 과정 , 호 설정 상태 , configuration 상태 및 부가적인
테스트
기능 제공
▶ 일반적인 규칙
CHC-APP : 채널 카드 application prompt
원하는 option 을 입력하면 그에 해당하는 기능 제공
option 중 # : decimal value
option 중 $ : hexadecimal value
각 option 들은 복합적으로 사용 가능
명령어를 다른 parameter 없이 입력하면 부가적인 option 을 출력
LG Electronics Inc. 14
Channel Main Control
▶ cmc
usage: cmc [options]
Option Function
-b #chipId modem test(#chipId : 0~1)
-c display channel type
-d display chip configuration
-D display TOD error count
-r display channel element
-s #sectorId #gain sector gain set(#gain : 0 ~ 4095)
-T Get modem system time
-V display CMC version & compile time
LG Electronics Inc. 15
Modem test
– Modem 의 하드웨어적인 이상 유무를 시험
– 특정 chip 에만 호 setup 이 되지 않을 경우에 해당 chip 을
테스트
– 소요 시간 : 10 초 /1chip
– 결과 : OK(0) or 해당 error code(0x01~0x40)
CHC-APP[3]# cmc -b 0
CHC-APP[3]# cmc -c
type number ceid
======================================
CPICH 3 0(UnBlock) 2(Block) 4(UnBlock)
SYCH 3 0(UnBlock) 2(Block) 4(UnBlock)
PCH 3 0(UnBlock) 2(Block) 4(UnBlock)
QPCH 3 0(UnBlock) 2(Block) 4(UnBlock)
ACH 3 0(UnBlock) 2(Block) 4(UnBlock)
Chip0 UnBlock, Chip1 UnBlock
LG Electronics Inc. 16
Display chip configuration
CHC-APP[3]# cmc -d
NumSector = 3, TxIOFormat = 3
TxDiversityMode = 0, CellRadius = 511
AntEnable[0] = 1, AntSource[0] = 24
AntEnable[1] = 1, AntSource[1] = 25
AntEnable[2] = 1, AntSource[2] = 26
AntEnable[3] = 1, AntSource[3] = 27
AntEnable[4] = 1, AntSource[4] = 28
AntEnable[5] = 1, AntSource[5] = 29
RevInputFormat = 0, RevCellMode = 0
MaxRachSrchFraction = 10, MaxRachSeparation = 80
EnableSearchWindowAdjust = 1
MaxFingerPerChannel95 = 6, MaxFingerPerChannel2000 = 8
DiversityScale = 3
PNOffset[0] = 204, SectorGain[0] = 208, DivSectorGain[0] =
0
TimingAdv[0] = 192, DivTimingAdv[0] = 0
PNOffset[1] = 208, SectorGain[1] = 208, DivSectorGain[1] =
0
TimingAdv[1] = 192, DivTimingAdv[1] = 0
PNOffset[2] = 212, SectorGain[2] = 208, DivSectorGain[2] =
0
TimingAdv[2] = 192, DivTimingAdv[2] = 0
LG Electronics
Chip0 Inc.
: Initialized BIT OK, Chip1 : Initialized BIT OK 17
Display channel element
– channel element 의 점유 상태 표시 (A : allocated, X : deallocated)
– channel type 은 color 로 구분
CHC-APP[7]# cmc -r
CPICH:Red/SYCH:Green/PCH:Yellow/QPCH:Magenta/ACH:Red/FCH:White/SCH:Cyan
============================ Resource Display ============================
================================== Chip 0 ================================
| 0 1 2 3 4 5 6 7 8 9 | 0 1 2 3 4 5 6 7 8 9 | 0 1 2 3 4 5 6 7 8 9
-------+---------------------+---------------------+----------------------
| A A A A A A A A A A | A A X X X X X X X X | X X X X X X X X X X |
Fwd Id | X X X X X X X X X X | X X X X X X X X X X | X X X X X X X X X X |
| X X X X
-------+---------------------+---------------------+----------------------
Rev Id | A A A X X X X X X X | X X X X X X X X X X | X X X X X X X X X X |
| X X
================================== Chip 1 ================================
| 0 1 2 3 4 5 6 7 8 9 | 0 1 2 3 4 5 6 7 8 9 | 0 1 2 3 4 5 6 7 8 9
-------+---------------------+---------------------+----------------------
| A X X X A A A A A A | A A A A A A A A A A | X X X X X X X X X X |
Fwd Id | X X X X X X X X X X | X X X X X X X X X X | X X X X X X X X X X |
| X X X X
-------+---------------------+---------------------+----------------------
Rev Id | A X X X X X X X X X | X X X X X X X X X X | X X X X X X X X X X |
| X X
LG Electronics Inc. 18
▶ oprt/oprthlp
Debug message 의 출력을 제어
usage: oprt [options] <#opt_num1 #opt_num2 ...>
Option Function
-r register debug options.
-u unregister debug options.
-s display registered debug options.
If <#opt_num1> not given, then ALL option changed
CHC-APP[14]# oprt -s
Reg Opt: 1 2 3 17 20 22 35 42 57 100
CHC-APP[15]# oprt -r 102
Reg Opt: 1 2 3 17 20 22 35 42 57 100 102
CHC-APP[15]# oprt -u 20 - 102
Reg Opt: 1 2 3 17
LG Electronics Inc. 19
▶ ver
모든 block 의 version 및 build 정보를 display
usage: ver
CHC-APP[9]# ver
CHC, CPU = i960 HD 02-step, Start=2001/02/08 21:44:11.00 (MMC)
LG Electronics Inc. 20
▶ pr
다른 processor 와 network 연결 상태를 표시
usage: pr <options>
Option Function
-a Network address display
CHC-APP[20]# pr -a
3: bsponm, addr=12800101, sockd=3, port=14000, prot=2, vpi=0x12, vci=0x21
udc=0x40000000, atmCh=1, state=3, suConnId=-3, rte=0x00000000
2: bsp, addr=12800101, sockd=2, port=12000, prot=1, vpi=0x12, vci=0x21
udc=0x40000000, atmCh=1, state=3, suConnId=0, rte=0x00000000
1: chc01, addr=12800801, sockd=-1, port=12000, prot=1, vpi=0x12, vci=0x21
udc=0x00000000, atmCh=-1, state=0, suConnId=0, rte=0x00000000
0: rcp0m, addr=1280080b, sockd=1, port=12000, prot=1, vpi=0x1, vci=0x21
udc=0x00500000, atmCh=2, state=3, suConnId=0, rte=0x00000000
LG Electronics Inc. 21
▶ ping
다른 processor 와 ipc 상태를 검증
usage: ping <options> [host]
Option Function
-c #n send count (default : 10)
LG Electronics Inc. 22
▶ arm
Modem 내부의 ARM Processor 를 debugging
usage: arm [options]
Option Function
-p #chipId ping message send (#chipId : 0~1)
LG Electronics Inc. 23
▶ rs
Board reset
usage: rs [options]
Option Function
-h hard reset
-s soft reset, branch application start address
-d #n delay (ms)
LG Electronics Inc. 24
Pilot Channel
▶ pilot
Pilot channel 의 상태의 display 및 변경
usage: pilot [options]
Option Function
-c #taskId display pilot channel configuration(#taskId : 0 ~ 5)
-d #taskId #gain data gain set(#gain : 0 ~ 255)
-V version display
CHC-APP[4]# pilot -c 0
--------------------- CPICH Task 0 ---------------------
pilot gain=234, current sector=ALPHA
cdma_ch_id=0, chip_id=0
num_resources=0, resource_id=0
walsh_channel=0, walsh_sequence=0, qof=0
CHC-APP[5]#
LG Electronics Inc. 25
Sync Channel
▶ sync
Sync channel 의 상태의 display 및 변경
usage: sync [options]
Option Function
-c #taskId display sync channel configuration(#taskId : 0 ~ 5)
-d #taskId #gain data gain set (#gain : 0 ~ 255)
-V version display
CHC-APP[11]# sync -c 0
--------------------- SYCH Task 0 ---------------------
sync gain=159, current sector=ALPHA
cdma ch id=0, chip id=0
num resources=0, resource id=1
system id=2222, network id=15
pilot pn=204
leap seconds=13, local time offset=18, daylight saving=0
cdma freq=25, ext cdma freq=25
LG Electronics Inc. 26
Paging Channel
▶ pc
All command about PC block
usage: pc [options]
Option Function
-d [p/q] #taskId #gain [p] : Set PCH data gain
[q] : Set QPCH data gain
(#taskId : 0 ~ 5, #gain : 0 ~ 255)
-p [p/q] #taskId [p] : display PCH configuration
[q] : display QPCH configuration
(#taskId : 0 ~ 5)
-V Display PCH version & date
LG Electronics Inc. 27
Display PCH/QPCH configuration
– PCH 와 QPCH 의 tx gain, walsh channel, sectorId 등의 configura
tion
정보를pc 표시
CHC-APP[6]$ -pp 0
--------------------- PC Task 0 ---------------------
LongCodeMask : hi=0x0319, lo=0xa0200018
Tx Gain = 217, Walsh = 1, Sector = ALPHA
Data rate = 3, CDMAChId = 0
Encoding rate = 0, ChipId = 0
QOFFunction = 0, FrameDuration = 2 ResourceId = 2, ResourceSize = 0
CHC-APP[6]$ pc -pq 0
--------------------- QPCH Task 0 ---------------------
Tx Gain = 0, Walsh = 80, Sector = ALPHA
Data rate = 3, CDMAChId = 0
Encoding rate = 0, ChipId = 0
QOFFunction = 0, FrameDuration = 2 ResourceId = 3, ResourceSize = 0
LG Electronics Inc. 28
Access Channel
▶ ac
Access channel 의 상태의 display 및 변경
usage: ac [options]
Option Function
-c #taskId display access channel configuration(#taskId : 0 ~5, all ce = 6)
-e <clear | #taskId> display access channel bad CRC status
-q display access channel queue count
-V version display
LG Electronics Inc. 29
display access channel configuration, status and bad CRC
CHC-APP[2]# ac -c 0
LG Electronics Inc. 31
display traffic channel configuration and status(1/2)
CHC-APP[7]# tc -d tc 33 0
********** TC 0 DB Display **********
CtlState = TS_CALL_IN_PROG
SftrCtlState = HO_IDLE
Call Sim Flag = FALSE
No Svc Mode = FALSE
Pwr Test Mode = FALSE
FCH Busy = TRUE
Rcvd Sftr Ctl = FALSE
Tx Call Rel = FALSE
Rx Call Rel = FALSE
Soft HO In Progress = FALSE
LG Electronics Inc. 32
display traffic channel configuration and status(2/2)
LG Electronics Inc. 33
display FER
– #ce 를 64 로 하면 현재 호 중인 모든 TC 에 대해 볼 수 있다 .
– 2 초 간격으로 display
– Ctrl+C 로 display 중단
CHC-APP[7]# tc -f 64
LG Electronics Inc. 34
display forward traffic channel power & gain
– channel gain = channel power + data gain
CHC-APP[4]# tc -p 33 0 (FCH)
ChannelPower = 224, Data Gain = 128, PC Gain = 128
CHC-APP[5]# .
tc -p 33 0
ChannelPower = 214, Data Gain = 92, PC Gain = 128
CHC-APP[5]# .
tc -p 33 0
ChannelPower = 224, Data Gain = 128, PC Gain = 128
CHC-APP[5]# .
LG Electronics Inc. 35
display forward tx gain
– forward tx gain 값과 power control set point 값을 표시
– toggle 형식
CHC-APP[15]# tc -D g 61 (FCH)
TC_GainDispFlag[61] is ON
LG Electronics Inc. 36
Radio Channel Control
▶ rccalm
Display Alarm Information
usage: rccalm [options]
Option Function
-t display alarm table
-m display DBPA alarm table
-l display init alarm list
-f display alarm variables
-a display open/fail status
-d detect first alarm
LG Electronics Inc. 37
display open/fail DB status
– 해당 Shelf 내의 Previous & Current open/fail DB status 를
출력
[RCCA:T1.0.0][4]$ rccalm –a
LG Electronics Inc. 38
▶ rcccdm
Display CDM Information
usage: rcccdm [options]
Option Function
-a display CDM address
-t [chcNum#] display CDM TxPerrFault information
-o [chcNum#] display CDM TxOvfFault information
-D display CDM TxM2rDerr information
-d display CDM TxR2b information
-b display CDM RxDerrFault information
-r display CDM RxPerrFault information
-v [chcNum#] display CDM Variables
-p [pahtNum#] Read CDM ports
-C Read All CDM Ch Combine port
-c Call CdmCtlChEnport
-e [pathNum#] Ch enable directioy
-s [en/dis][pahtNum#][chcNum#] Set Ch enable for pathNum and chcNum
-m display CdmBudaSlotMask, CdmTxSlotMask,
CdmChEnMask
LG Electronics Inc. 39
display CDM TxPerrFault information
– 해당 채널카드의 Tx Parity Fault information 을 출력
[RCCA:T1.0.0][15]$ rcccdm -t 2
* I-Ch -------------------------------------------------------------------------
Path# FstRpt FstRptCnt OccurCnt ClearCnt EndCnt TotalCnt Flt_F
--------------------------------------------------------------------------------
0 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0
1 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0
2 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0
3 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0
4 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0
5 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0
* Q-Ch -------------------------------------------------------------------------
Path# FstRpt FstRptCnt OccurCnt ClearCnt EndCnt TotalCnt Flt_F
--------------------------------------------------------------------------------
0 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0
1 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0
2 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0
3 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0
4 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0
5 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0
LG Electronics Inc. 40
read CDM ports
– 해당 path address 의 값을 읽음
[RCCA:T1.0.0][4]$ rcccdm -p 0
CDM PATH# : 0
CH_EN0_ADDR: 0x86000000, CH_EN1_ADDR: 0x86000001
FLT_STS : 0x0000
CH_EN : 0x0002
TXPI_STS : 0x0000, TXPQ_STS : 0x0000
OVFI_STS : 0x0000, OVFQ_STS : 0x0000
LG Electronics Inc. 41
read all CDM Ch Combine port
– 모든 path 의 channel combine port 값을 출력
[RCCA:T1.0.0][5]$ rcccdm -C
LG Electronics Inc. 42
▶ rcccfg
Display Configuration information
usage: rcccfg [options]
Option Function
-d display RCC Configuration Data
-c display Req Count
-s display Shelf Rcbu Configuration
-T display Configuration Req Timer Disable
-v display RCC Build & DBP Code Version
LG Electronics Inc. 43
display RCC Configuration Data
– RCC 가 BSP 로 받은 configuration Data 를 출력
[RCCA:T1.0.0][14]$ rcccfg -d
CHC#-->: 0 1 2 3 4 5 6 7 8 9 10
-----------------------------------------------------------------------------
PLD_STS: D_EQ D_EQ D_EQ D_EQ D_EQ D_EQ D_EQ D_EQ D_EQ D_EQ D_EQ
LG Electronics Inc. 44
▶ rccch
Display Ch State
usage: rccch [options]
Option Function
-de [chcNum#] display channel Status
-a [chcNum#] display Call Connection information
-o display ShelfType
LG Electronics Inc. 45
display Channel Status
– 해당 채널카드의 상태를 출력
[RCPA:DCN_TST][1]$ rccch -de 2
Option Function
-I display OVHD Slot
-d display OVHD Channel DB
LG Electronics Inc. 47
display OVHD Channel DB
– 해당 OVHD Channel 의 DB 를 출력
LG Electronics Inc. 48
▶ rccstm
Display STM information & Cmd
usage: rccstm [options]
Option Function
-a display STM address
-s display STM Status information
-f display STM Fault information
-p Read STM Port
LG Electronics Inc. 49
RF Device Control
▶ rfccfg
Display RFC Configuration Information
usage: rfccfg [options]
Option Function
-c display RFC Configuration Data
-g display RFC Main Global Variable Data
-a display Reported Initial Alarm List
LG Electronics Inc. 50
display RFC Configuration Data(1/2)
– RFC 가 BSP 로 부터 받은 Configuration Data 를 출력
[RCCA:T1.0.0][2]# rfccfg -c
SysType | 0x0
UseOfFA | 2FA_3Sectors( 0x1 )
BtsType | C_STANDARD_BTS( 0x1 )
RackType | PBMC_PBRC( 0x0 )
OvhdMode | 0x0(0: Dynamic, 1: Fixed)
--------------------------------------------------------------
AmpType | 0~2FA( MPD_25W ), 3~7FA( HPA )
AntType | ANT_NOT_EQUIPPED( 0x0 )
TxDiversity | 0x0(0: Not OTD Mode, 1: OTD Mode)
RxDuplex | SIMPLEX( 0x0 )
RxDiversity | NO DIVERSITY( 0x0 )
--------------------------------------------------------------
FaNum | 1
SectorNum | 3
SectorCfg | 1 1 1 0 0 0
--------------------------------------------------------------
FreqBand | 1800
--------------------------------------------------------------
LG Electronics Inc. 51
display RFC Configuration Data(2/2)
--------------------------------------------------------------
Index | CdmaChNumData TxGainData
[0][0] | 025, 0x900
[0][1] | 025, 0x900
[0][2] | 025, 0x900
[1][0] | 000, 0x000
[1][1] | 000, 0x000
[1][2] | 000, 0x000
[2][0] | 000, 0x000
[2][1] | 000, 0x000
[2][2] | 000, 0x000
[3][0] | 000, 0x000
[3][1] | 000, 0x000
[3][2] | 000, 0x000
[4][0] | 000, 0x000
[4][1] | 000, 0x000
[4][2] | 000, 0x000
[5][0] | 000, 0x000
[5][1] | 000, 0x000
[5][2] | 000, 0x000
--------------------------------------------------------------
BudaIsolat | 0 0 0 0 0 0
MrcaIsolat | 0 0 0 0 0 0
--------------------------------------------------------------
LG Electronics Inc. 52
▶ rfcdev
Display RF Device Status
usage: rfcdev [options]
Option Function
-A display RF All Device Status
-a display AMP Status
-b display BUDA Status
-p display PACA Status
LG Electronics Inc. 53
display RF All Device Status
– RFC 가 Control 하는 모든 Device 의 상태 출력
[RCCA:T1.0.0][2]# rfcdev -A
LG Electronics Inc. 54
display BUDA Status
– BUDA 의 상태 출력
[RCCA:T1.0.0][2]# rfcdev -b
Option Function
-t #fa #sector Change BUDA Tx Attenuation
-r #fa #sector Change BUDA Rx Attenuation
-c #fa #sector Change BUDA Channel Number
-R BUDA Reset Control
LG Electronics Inc. 56
Change BUDA Tx Attenuation
– BUDA 의 Tx Attenuation 값 변경
[RCCA:T1.0.0][2]# rfcbud -t 0 1
LG Electronics Inc. 57
Change BUDA Channel Number
– BUDA 의 PLL Channel Number 값 변경
[RCCA:T1.0.0][2]# rfcbud -c 0 1
LG Electronics Inc. 58
▶ rfcpac
PACA Control Command
usage: rfcpac [options]
Option Function
-C #fa Change PACA Channel Number
-p #fa #sector Display Current Tx Power
-R PACA Reset Control
-t Display Temperature
LG Electronics Inc. 59
Change PACA Channel Number
– PACA 의 PLL Channel Number 값 변경
[RCCA:T1.0.0][2]# rfcpac -C 0
[RCCA:T1.0.0][2]# rfcpac -p 0 0
LG Electronics Inc. 60