Skip to content

Instantly share code, notes, and snippets.

@swiftgeek
Last active August 29, 2015 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save swiftgeek/09489e0007537c5a4fc3 to your computer and use it in GitHub Desktop.
Save swiftgeek/09489e0007537c5a4fc3 to your computer and use it in GitHub Desktop.
P2270HD, Firmware T-E22PEUC-2001.2 , Uses SEMS12-LF SoC (Saturn4) and WT61P8 MCU. 38400 baud
DBG#> app
Help for Debug Menu
==============================================================================
0x01 : Help Message
0x02 : Current Application Info
0x03 : Auto Remocon Test
0x04 : MApp_CheckStringCPIndex
0x05 : Anynet+ Info.
0x06 : App. Temp Var
0x07 : Print Status Info
0x08 : Show/Hide OSD GWIN
0x09 : Pause System
0x0d : ProcessAVControl(U8 u8Command, WORD wValue, WORD wValue1)
[Channel] [tvsChDb_GetPchInfoDataByPchIndex] bPchInfoIndex = 6
tvsModuleCi_Finalize
tvsModuleMheg_Finalize
MAppMHEG_Finalize
tvsModuleDownload_Finalize
BinInfo b000
gMp3intr 1
u32Mp3 652408 u32ReqA 3df7800 BinInfo b000
hPSOff
MWPOP
RUNTIME DeBuGger Ver. 1.2.0 (c) Samsung Electronics Co., 2003.01
==============================================================================
STP2
Lzss O(0)
DS!
STP3
STP4
DevNtp3200Init
BinInfo b000
gMp3intr 1
u32Mp3 646c08 u32ReqA 3df7800 BinInfo b000
STP5
[SIM] [SIM] [SIM_Initialize]
[SIM] [Channel] [tvsChDb_GetPchInfoDataByPchIndex] bPchInfoIndex = 6
STP6
STP7
Lzss O(0)
DS!
BmpDCend
Lzss O(0)
DS!
tvsModuleTtx_Initialize
tvsModuleSubTitle_Initialize
tvsModuleMheg_Initialize
MAppMHEG_Initialize
Lzss O(47)
DS!
Wait AEON
AEON finish init MMAP:3 ms
STP8
enInputSourceType = 10
Hierarchy Priority Unknown... : [3]
STP9
STP11
STPFINAL
1 7072
start while loop
source state: new = 2, old = 1, app = 1
dev enum start
source state: new = 17, old = 2, app = 1
no signal check: source = 5, state = 17, app = 1
check hdmi input is ChangeHDMI
source state: new = 4, old = 17, app = 1
no signal check: source = 5, state = 4, app = 1
Help for DD Debug Menu
=============================
0x00 : Help
0x01 : GpioList
0x02 : Gpio_PortWrite
0x03 : Gpio_PortRead
0x04 : SRAM Debug
0xff : Exit DD Debug Menu
=============================
DBG#> debug
argument number is differnt <needed:256 taken:2>
DBG#> help
Help for RUNTIME DeBuGger Ver.1.2.0 (c) Samsung Electronics Co., 2003
==============================================================================
help : Help Message
debug : Switch Debugging Mode ex> debug on/off
flag : Debug Flag On/Off ex> flag dbg_aft on/off, flag dbg_all clear
flaglist : ***Display all flags info
iictx : I2C TX Data Debugging ex> iictx 0x0160 , iictx 0 (disable)
iicrx : I2C RX Data Debugging ex> iicrx 0x0160 , iicrx 0 (disable)
iiclist : ***Display all iic controlled device info
iicbus : I2C Bus Stop On/Off ex> iicbus stop/start
dumpeeprom: Dump EEPROM ex> dumpeeprom 0[StartPage] 1[NumOfPage]
fd : Dump FBE ex> fd 0[StartPage] 1[NumOfPage]
fw : Write FBE ex> fw 0x0106[Reg. Addr] 0x0001[Reg. Data]
auto : Auto remocon test ex> auto 0x00[AutoIndex] 0x80[AutoData]
rr : Read RAM ex> rr Addr
rw : Write RAM ex> rw Addr Data
dtms : Select Dtms Debug Menu
mwi : Select MWI Debug Menu
epg : Select EPG Debug Menu
app : Select APP Debug Menu
dd : Select DD Debug Menu
mstar : Select MStar Debug Menu
wc1411 : Write 1411 (0x32) ex> wc1411 0x00 0x1234
rc1411 : read 1411 (0x32) ex> rc1411 0x00
wq1411 : Write 1411 (0x34) ex> wq1411 0x00 0x1234
rq1411 : read 1411 (0x34) ex> rq1411 0x00
ddcr : Read Ddc (0x34) ex> ddcr [Type:0(hdmi1),1(hdmi2),2(hdmi3),3(pc)]
ddcw : Write Ddc (0x34) ex> ddcw [Type:0(hdmi1),1(hdmi2),2(hdmi3),3(pc)] Addr Data
initeep : Init EEPROM ex> initeep [Type:0(WB_ID),1(SVC_ID),2(DL_ID),3(EEP_CHKSUM),4(All)]
babellist : ***Display all Babel DebugID
setbabel : Set Babel DebugID ex> setbabel 0(DebugID) 0/1(Off/On)
psize : Change P.size(0-Auto Wide,1-WIDE,2-16:9,3-WIDE4:3,4-ZOOM,5-4:3,6-ZOOMUP, 7-ZOOMDOWM
ex> psize 0
MANUAL TIME: SET MANUAL TIME(ex. 08�3��1�0:00->timeset 8 3 1 10 0)
ONOFFTIMER: TEST SLEEPTIME(ex. onofftimer)
OAD TIME : SET OAD TIME(ex. setoadtime)
settable : SET PTABLE
printptable: PRINT PTABLE
ptabledef : SET DEF PTABLE
readmem : Read Memory(readmem calib x y)
read2165 : Read Si2165 Tuner
ex> read2165 addr(High) addr(Low)
write2165 : Write Si2165 Tuner
ex> read2165 addr(High) addr(Low) data(High) data(Low)
readpanel : Read PDP Logic
ex> readpanel addr(High) addr(Low)
writepanel: Write PDP Logic
ex> readpanel addr(High) addr(Low) data(High) data(Low)
usbclone : Test USB Clone
loopstop : Main Loop Stop
ex> loopstop 1 = main loop Stop
ex> loopstop 0 = main loop Release
==============================================================================
DBG#>
Help for MStar Debug Menu:2009/01/24 11:10
==============================================================================
0x0000 : Help Message
0x0001 : CPU Information
0x0002 : Mem Status: 0xFF:All, 0x01:Pool, 0x02:W1 Stack, 0x04:Stack, 0x08:Memory Layout
0x0003 : Mem Alloc: Size, ID
0x0004 : Mem Free: Addr, ID
0x0006 : Check Ver
0x0007 : Change CPU clock: 0:XTAL, 1:144Mhz, 2:172.8Mhz
0x0008 : Get GOP Framebuffer usage
0x0009 : Get GOP available Framebuffer size
0x000A : Set Performance Check Items
0x000B : Standard UART Control
------- Scaler -------------------
0x0010 : PQ
0x0011 : PQ
0x0012 : ARC
0x0013 : FE Calibration
0x0014 : BE Calibration
0x0015 : Fast Input source switch: En, SRC, Res
0x0016 : Pixel shift
0x0017 : Fine Tune Window Timing
0x0018 : HD Panel : Freerun and skip set Panel Timing
------- Video -----------------
0x0020 : MVD/SVD: 0x00:Play, 0x01:Pause, 0x02:Reset, 0x03:Stop, 0x05:Freerun
0x0021 : Get Error/Picture Count: para1:?second check
0x0022 : Err Pause VID: para1:?ms check, para2:Reset or not
0x0023 : Err Freeze VID: para1:?ms check, para2:Freeze ?ms
0x0024 : Set Error TH
0x0025 : Get Bitrate/MVD Information
0x0026 : Set Digital Video Decode Delay Tick(90K/Sec)
0x0027 : HW Skip Slice Error Concealment: 0:Disable, 1:Enable
0x0028 : SVD or MVD
------- Middleware -----------
0x0060 : MW Information, MHEG5/Subtitle Variable
0x0061 : CI Information
0x0062 : GOP OutputLayer
------- USB -----------
0x0070 : Clone Function Test
0x0075 : Start JPEG show
0x0076 : Stop JPEG show
------- DMX -----------
0x0080 : Polling Times, ID
0x0081 : num1, num2 (num1 x num2 = Count time), Timer ID
0x0082 : MHEG5 boot status
------- Skin Tone -----------
0x0090 : Skin Tone Adj
------- Multi-Media -----------
0x00E0 : Mount Dev 0x00~0x03 0x00~0x03
0x00E1 : Select Mp3 0x00~0x02 DirIdx Odd/Even(1/0)
0x00E2 : Select Jpg 0x03 DirIdx Odd/Even(1/0)
0x00E3 : Play Sel Mp3
0x00E4 : Play Mp3
0x00E5 : Play Sel JPG
0x00E6 : Play JPG
0x00E7 : Set Effect On(1)/Off(0)
0x00E8 : Set Speed Slow(0)/Normal(1)/Fast(others)
0x00E9 : Set BG Mp3 On(1)/Off(0)
0x00EA : Thumbnail
0x00EB : Umount
0x00EC : Show Name 0x00~0x03
0x00ED : Del File 0x00~0x03 FileIdx
-------------------------------
0x00FD : Dump Pattern
0x00FE : Control Debug Flag
0x00FF : Exit Debug Menu
==============================================================================
MStar DBG#>
MStar DBG#> 0x0001
CPU Freq:1, AC3E:0
UART0:0x0373
UART1:0x01CD
Timer0:0xC7C0
Timer2:0x1F00
MStar DBG#> 0x0006
Syetem:T-E22PEUC-2001.2
Audio: MSVC00A200000400147520AAB000000
DLC:0x1A
WBLE:0x0A
MVD:0xD4F5
DMXFW: ư
DMXISR: C01600A200000400147520AAB000000
DMXDrv: C07100A200000400147520AAB000000
DMXAPI: C06600A200000400147520AAB000000
CILib: MSVC00I2V09214C0110604B40000000
Subtitle: MSVC00Z300003D00083028AA0000000
OAD: MSVC00O200003000097641AAB000000
Bootloader: MSVC00Z9N00028LCDPlutoAAB000000
MStar DBG#> 0x00fe
Press 0x00FE command value
--------------------------
Command:
0x00 Help
0x01 Enable value
0x02 Disable value
0x03 Enable all
0x04 Disalbe all
--------------------------
Value:
Bit 0:CPU
Bit 1:Video
Bit 2:Audio
Bit 3:Scaler
Bit 4:TTX
Bit 5:SubTitle
Bit 6:MHEG5
Bit 7:OAD
Bit 8:DTV CH CHANGE
Bit 9:Power Saving
Bit10:Memory
Bit11:State
Bit12:OSD
Bit13:Caption
Bit14:Performance
Bit15:MVDTiming
Bit16:Demux
Bit17:M5 VID
Bit18:Memory Pool
Bit19:Demux Single
Bit20:Use Average to check performance
...
Bit28:GE
Bit29:GOP
Bit30:TEST
Bit31:Error
--------------------------
Mask:0xC0000000-->0xC0000000
MStar DBG#> 0x000b
Standard UART:0
::Standard UART Disable
=============================
GuideLine for MWI Debug On/Off
=============================
1 : [OFF] AutoStore
2 : [OFF] Channel
3 : [OFF] ChannelList
4 : [OFF] Clock
5 : [OFF] Database
6 : [OFF] Display
7 : [OFF] EventManager
8 : [OFF] Factory
9 : [OFF] FrequecnyList
10 : [OFF] ManualStore
11 : [OFF] Program
12 : [OFF] ProgramList
13 : [OFF] Screen
14 : [OFF] Source
15 : [OFF] Speaker
16 : [OFF] TV
17 : [OFF] WallMount
18 : [OFF] AnalogTV
19 : [OFF] DigitalTv
20 : [OFF] CI
21 : [OFF] TvSource
22 : [OFF] PC
23 : [OFF] Util
32 : All MWI debug Print On/Off
(Examle)
: 2 6 1 --> MwDisplay print ON
: 2 6 0 --> MwDisplay print OFF
: 2 32 1 --> All print ON
: 2 32 0 --> All print OFF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment