利用计算机仿真调试pdp电视芯片程序的方法

文档序号:6426099阅读:152来源:国知局

专利名称::利用计算机仿真调试pdp电视芯片程序的方法
技术领域
:本发明属于电子和电视机
技术领域
,更明确地说涉及利用计算机仿真调试PDP电视芯片程序的方法的设计。
背景技术
:任何一个系统的开发都需要硬件和软件系统,且其大多数软件开发平台都各不相同,取决于主处理芯片的不同。因此,在系统仿真和调试时需要用专用的软件开发平台,通过修改程序,编译后再烧写进芯片。不但操作麻烦、生产成本高,而且其适应性通用性差。PDP电视机的仿真和调试也是这样。每当更换不同生产厂家的不同芯片时,都需要用专用的软件开发平台,通过修改程序,编译后再烧写进芯片。
发明内容本发明的目的,就在于克服上述缺点和不足,提供一种利用计算机仿真调试PDP电视芯片程序的方法。它通过在FLASH中写入和WINDOWS进行通讯的驱动程序,利用一根特制的串口连接线,便可以方便使用WINDOWS的超级终端(计算机)进行系统的仿真,大大方便了操作,降低了生产成本。它可以利用任何一台计算机和一条RS232线,不需要安装专用的软件便可以实现。为了达到上述目的,本发明包括以下步骤(1)将一台计算机的串口通过特制的连接线与PDP电视机的信号处理单元的RS232口连接;(2)进行串口通讯配置,分别按下列设置串口通讯参数每秒位数115200;数据位8;奇偶检验无;停止位1;数据流控制无;(3)利用计算机超级终端显示电路板的状态信息,包括各个芯片的运行状态,检测出芯片是否工作正常和当前的程序运行情况;(4)通过写入FLASH的与RS232接口通讯的程序,实现系统中芯片寄存器的实时更改;(5)实时读取遥控的控制情况以及搜台的跟踪情况。步骤(1)中所说的的串口连接线为3股线配置。它分别与计算机的串口端子RXD、TXD和GND相连,再分别与PDP电视机的RS232口TXD、RXD和GND端子相连。串口连接线可以为3股耳机线。标准的RS232连接线为7根线配置。本发明的串口连接线价格便宜,使用效果良好。本发明的任务就是这样完成的。本发明提供了一种利用计算机超级终端调试PDP电视芯片程序的方法。它通过在FLASH中写入和WINDOWS进行通讯的驱动程序,利用一根特制的串口连接线,便可以方便使用WINDOWS的超级终端(计算机)进行系统的仿真,大大方便了操作,降低了生产成本。它可以利用任何一台计算机和一条RS232线,不需要安装专用的软件便可以实现。它极大地提高了开发的方便性,可以大大缩短开发周期。可广泛应用于PDP电视机及各种无线系统芯片程序的仿真调试中。图1为标准的RS232连接线与PC、FLASH和PDP的连接图。图2为本发明的串口连接线与PC、FLASH和PDP的连接图。图3为步骤(2)串口通讯参数配置的显示图。图4为电路板的状态信息显示图。具体实施例方式实施例1。一种利用计算机超级终端仿真调试PDP电视芯片程序的方法。它包括以下步骤(1)将一台计算机的串口通过特制的连接线与PDP电视机的信号处理单元的RS232口连接;(2)进行串口通讯配置,分别按下列设置串口通讯参数每秒位数115200;数据位8;奇偶检验无;停止位1;数据流控制无;(3)利用计算机超级终端显示电路板的状态信息,包括各个芯片的运行状态,检测出芯片是否工作正常和当前的程序运行情况;(4)通过写入FLASH的与RS232接口通讯的程序,实现系统中芯片寄存器的实时更改;(5)实时读取遥控的控制情况以及搜台的跟踪情况。其中步骤(1)的串口连接线与PC、FLASH和PDP的连接如图2所示。步骤(2)的串口通讯参数配置如图3所示。步骤(3)的电路板的状态信息如图4所示。步骤(1)中所说的的串口连接线为3股线配置,它分别与计算机的串口端子RXD、TXD和GND相连,再分别与PDP电视机的TXD、RXD和GND端子相连。本发明的串口连接线为3股耳机线。实施例1系统打开时的运行信息为[TF5X0power-onselftest][Memorytest(0x0000~0x3FFF)]writing0xAAtomemory->reading0xAAfrommemory->pass!!writing0x55tomemory->reading0x55frommemory->pass!!TF5X0FUcheckMagicCode...[ok]TFBIOSBIOSinitdone.Jumptoaddress0x10000TF5X0UIPBIOSinitialBitset000000000010000000000100ff000300HisenseWirelessAVTransmitter2004.10.07MPEG-64Mrelease,version0.975packet,3.6,5.4,7.2MBitRate,VideoPort48688,CommandPort48689,sys_tick1FirmwareforRev.D1boardAT24C16Inita022status=1EEPROMDrivrInitial,sys_tick3OK!CheckEEPROMandreadLANInfomationNOMACInformation!!EEPROMInitialID=1LANMAC00:0b:78:ff:ff:fdMY_WLAN_IP192.168.1.21MY_LAN_IP192.168.1.21Web=1,DHCPenable=1MyWLANMAC00:00:00:00:00:00TF530-WLANMAC00:0b:78:ff:ff:fcVIDEODEFAULTPORTMAC00:0b:78:ff:ff:f0DefaultOtherLANMAC00:0b:78:ff:ff:feDefaultOtherWLANMAC00:05:c9:80:03:ccDefaultOtherIP192.168.001.022TF5X0UIPinitialUIP0.9isrunning[AVtransportFunctionSelection]1.AVtransportserver[transmitter].2.Debugconsole.remain0sec.selectGoesintodefaultsetting[1]...BeginProcess,sys_tick118PhyStatusff,count65534TF5X0gointoAuto-negotiationmode...TF5X0configPHY&&LinkPartnerin100Mbpsfullduplexmode!!MyLanGateway192.168.1.1[LaunchAVTransportfirmware(transmitter),sys_tick131InitTVTuner6b1aok!!initvideodecoder[PHILIPSSAA7115]RegsiterInitialok!!initAudioProcessor(MSP3455G)...ok!!initMPEG2Encoder,sys_tick173UPD61051microcodedownloading...MicrocodeDownloading...[100%]...Done.MicrocodeDownloadsuccess!!EnbaleinternalCPU0x3E=0x00interruptstatus(0x31)=0x10,count=1initializationnoticereceived...initok!!uPD61051goesintoINITSTATE...ok!!uPD61051goesintoSTANDBYSTATE...ok!!CheckEEPROMandreaddata,sys_tick463SetAV_Controlbycode!!SavetoEEPROMsrc=2,TV=1,max=0CheckTunerTablefromEEPROMOK!!IRTransmiteInitialCurrentLAN/WLANChannelis13,sys_tick598pc_card_initpccardtype=MINIPCI[initTF5X0PCCardInterface]pc_card_initpccardtype=MINIPCIpc_card_initattrspacebaseaddr.0x00000000pc_card_initiospacebaseaddr.0x00000000pc_card_initmemspacebaseaddr.0x10000000pc_card_inithostmembaseaddr.0x20000000Resetpccardinterface...ok!!getpccardvendoridgetpccarddeviceidMiniPCIWlanCardconnected[configparametersforISL3890(IntersilPrismGT)][initTF5X0PCCardInterface]pc_card_initpccardtype=MINIPCIpc_card_initattrspacebaseaddr.0x00000000pc_card_initiospacebaseaddr.0x00000000pc_card_initmemspacebaseaddr.0x10000000pc_card_inithostmembaseaddr.0x20000000Resetpccardinterface...ok!!getpccardvendoridgetpccarddeviceid[IOMCUfirmwaredownloading]IOMCUmicrocodelocateat0x00048ff0IOMCUmicrocodepointeratc048ff0IOMCUmicrocodesize0x00008000IOMCUMicrocodeDownloading...[100%]initISL38xx(IntersilPrismGT)][ISL38xxfirmwaredownload]microcodelocateat0x00050ff0pointerofmicrocodeatc050ff0microcodesize0x00017000MicrocodeDownloading......Done.resethostinterface...ok!!enableinterruptbitsofISL3890....ok!![initqueue][configMODEofWLANmoduleISL38xx]turnonIOMCU...ok!!initisl38xxgetdevicemac...ok!!initisl38xxconfigoutputpowerto80...ok!!initisl38xxconfigtomenurunmode...ok!!initisl38xxstopingthedevice...ok!!wlan_mgt_process,id=0wlan_mgt_process,id=ff02000fwlan_mgt_process,id=ff020008wlan_mgt_process,id=ff020003initisl38xxsetphyprofileGONLY...ok!!initisl38xx[Ahocmode]configdevicetoAPmode...ok!!initisl38xx[Ahocmode]setchannelto13!!mitisl38xx[Ahocmode]setmode1BSSID565461694661!!initisl38xxsetSSIDtonHISENSE_AV_DEVELOP_PARTY..ok!!initisl38xx[Ahocmode]setPSMbufobjectat0x20002db0...ok!!initisl38xxsettheauthenticationenable1...ok!!initisl38xxsettheprivacyinyokedmode0...ok!!initisl38xxsettheexunencryptedobject0...ok!!initisl38xxsetdefaultkey1-64656661756c745f6b65795f31...ok!!initisl38xxsetdefaultkey2-64656661756c745f6b65795f32...ok!!initisl38xxsetdefaultkey3-64656661756c745f6b65795f33...ok!!initisl38xxsetdefaultkey4-64656661756c745f6b65795f34...ok!!initisl38xxsetthedefaultkeyid0...ok!!initisl38xx[Ahocmode]setrates...ok!!mitisl38xxsetdot1xenableobject...ok!!initisl38xxstartingthedevice...ok!!TheWLANSSIDisnHISENSE_AV_DEVELOP_PARTYlen=25wlan_mgt_process,id=17000019wlan_mgt_process,id=10000000wlan_mgt_process,id=17000007wlan_mgt_process,id=10000001wlan_mgt_process,id=10000002wlan_mgt_process,id=19000004wlan_mgt_process,id=12000000wlan_mgt_process,id=12000001wlan_mgt_process,id=12000002wlan_mgt_process,id=12000004wlan_mgt_process,id=12000005wlan_mgt_process,id=12000006wlanmgt_process,id=12000007wlan_mgt_process,id=12000003wlan_mgt_process,id=1700000awlan_mgt_process,id=17000020wlan_mgt_process,id=10000002wlan_mgt_process,id=1d000004wlan_mgt_process,id=17000006wlan_mgt_process,id=150007e0wlan_mgt_process,id=ff020003wlan_mgt_process,id=17000004wlan_mgt_process,id=17000006wlan_mgt_process,id=17000006wlan_mgt_process,id=13000003wlan_mgt_process,id=13000003MyWLANMAC00:05:c9:80:03:cbuPD61051EncodergoesintoSTARTSTATE...uPD61051EncodeBitRate=54,val=28ok!!DHCprequest,sys_tick1297eth_sendinWLANpatheth_sendinLANpatheth_sendinWLANpath*eth_sendinLANpathDhcpgetIPfail!!!set_my_uipTF5X0myipis192.168.1.21.IP192.168.1.21waitforReceiverLogin,sys_tick1599rcv.CommandCode=0x02SendAVNetrequest0124msp3455GType06MTS00uPD61051ChangeModeEnbaleinternalCPU0x3E=0x00uPD61051standbyok!!uPD61051EncodeBitRate=54,val=28uPD61051encodubgok!!NewSignalType82SendAVNetrequest0102SendAVNetrequest0123currenttick00000021sec-005390a020000MainEther_Rcv294currenttick00000025sec-005370a020000ReceiveAVNetcommand030412ReceiveAVNetcommand030412ReceiveAVNetcommand030412currenttick00000026sec-005240a020000ReceiveAVNetcommand030412ReceiveAVNetcommand030412ReceiveAVNetcommand030412currenttick00000027sec-005240a020000ReceiveAVNetcommand030412ReceiyeAVNetcommand030412NetSearchReplyinWLANC13SendAVNetTransfer41ReceiveAVNetcommand030412NetSearchReplyinWLANC13SendAVNetTransfer41ReceiveAVNetcommand030412NetSearchReplyinWLANC13SendAVNetTransfer41ReceiveAVNetcommand030412NetSearchReplyinWLANC13SendAVNetTransfer41currenttick00000029sec-005370a020000ReceiveAVNetcommand030a29PairCommand000b78fffffe0005c98003ccc0a80116c0a8011554462d0000010d0400SendAVNetTransfer100ReceiveAVNetcommand030212Connectionno=0,alreadyhave0DisableTransportStreamLanType=90MPEGTSmac00:05:c9:80:03:ccMPEGTSIP192.168.1.22MPEG-TSpacketsizeis940initTF530videoportfortransmitTS...ok!!AVtransporttransmitterisrunning...SendAVNetrequest0302SendAVNetrequest030aSendAVNetrequest0102ReceiverBecomeAlive!!!EnableTransportStreamReceiveAVNetcommand030710currenttick00000044sec-005270c020200ReceiveAVNetcommand030710currenttick00000050sec-005270a020000各个部分的修改命令帮助菜单[TF5X0Debuger][taifatechdebuger]helpdisp.availableconsolecmd.resetresetsystem.gpioGPIO(P0~P4r/w)*configconfigIP,MAC,SNM...loadloadmicrocodetoMPEGEn/Decoderrdrd.aTF5X0reg.wrwr.datatoaTF5X0reg.dmpdmp.extl.mem.ofTF5X0.fillfillextl.mem.ofTF5X0.*rtprecev.&retxmitpkt.*rxrecev.pkt.*txtxmitonepkt.ii2cread/writeoperation.eio0externalIO0rd/wr.eio1extemalIO1rd/wr.dcdebugcounterdumping.timertimertest.phyPHYstatus/config.nMPEG2En/Decoderdebugger(uPD61051).iei2cEEPROMdebugger(ATM24C16).tbTF5X0FiltertableaccessfufirmwareupdateUtilityvdVideodecoderdebugger.mAudioProcessordebugger.TSdirectMPEG-TStransmittesting.exitExitDebugConsole.对EEPROM进行清空;重新装载初始化的信息AV-TX>ief02048ffAT24C16fill......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................清空完成后可以读取检查是否成功AV-TX>ied02048AT24C16dumpffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffAV-TX>eixtBadcommand!!type′help′toknowdetails...AV-TX>exitReceiveAVNetcommand030710ReceiveAVNetcommand030710ReceiveAVNetcommand030710ReceiveAVNetcommand030710ReceiveAVNetcommand01030遥控的状态信息rcv.CommandCode=0x03msp3455GType06MTS00SendAVNetrequest0122SendAVNetrequest0102SendAVNetrequest0123ReceiveAVNetcommand01030rcv.CommandCode=0x03msp3455GType06MTS00SendAVNetrequest0122SendAVNetrequest0102SendAVNetrequest0123ReceiveAVNetcommand01030rcv.CommandCode=0x03msp3455GType06MTS00SendAVNetrequest0122SendAVNetrequest0102SendAVNetrequest0123ReceiveAVNetcommand01030rcv.CommandCode=0x03msp3455GType06MTS00SendAVNetrequest0122SendAVNetrequest0102SendAVNetrequest0123ReceiveAVNetcommand01030rcv.CommandCode=0x03msp3455GType06MTS00SendAVNetrequest0122SendAVNetrequest0102SendAVNetrequest0123ReceiveAVNetcommand01030rcv.CommandCode=0x03msp3455GType06MTS00SendAVNetrequest0122SendAVNetrequest0102SendAVNetrequest0123ReceiveAVNetcommand01040rcv.CommandCode=0x04msp3455GType06MTS00SendAVNetrequest0122SendAVNetrequest0102SendAVNetrequest0123ReceiveAVNetcommand030710ReceiveAVNetcommand030710currenttick00000149sec-005270a020000ReceiveAVNetcommand030710currenttick00000152sec-005260a020000ReceiveAVNetcommand01030rcv.CommandCode=0x03msp3455GType06MTS00SendAVNetrequest0122SendAVNetrequest0102SendAVNetrequest0123currenttick00000155sec-005140a020000ReceiveAVNetcommand01040rcv.CommandCode=0x04msp3455GType06MTS00SendAVNetrequest0122SendAVNetrequest0102SendAVNetrequest0123currenttick00000164sec-005270b020000ReceiveAVNetcommand030710currenttick00000179sec-005270b020000搜台信息;Channel6default0xe24fmetune0xe641videomode=82PAL0x4system_init=31,audio=4system=51SendAVNetrequest0102SendAVNetrequest0203实施例1利用一根特制的串口连接线,便可以方便使用WINDOWS的超级终端(计算机)进行系统的仿真,大大方便了操作,降低了生产成本。它可以利用任何一台计算机和一条RS232线,不需要安装专用的软件,极大地提高了开发的方便性,可以大大缩短开发周期。它可广泛应用于PDP电视机及各种无线系统芯片程序的仿真调试中。权利要求1.一种利用计算机仿真调试PDP电视芯片程序的方法,其特征在于它包括以下步骤(1)将一台计算机与一个FLASH存储器连接,再将其经串口连接线与PDP电视机连接;(2)进行串口通讯配置,分别按下列设置串口通讯参数每秒位数115200;数据位8;奇偶检验无;停止位1;数据流控制无;(3)利用计算机显示电路板的状态信息,包括各个芯片的运行状态,检测出芯片是否工作正常和当前的程序运行情况;(4)通过写入FLASH的与RS232接口通讯的程序,实现系统中芯片寄存器的实时更改;(5)实时读取遥控的控制情况以及搜台的跟踪情况。2.按照权利要求1所述的利用计算机仿真调试PDP电视芯片程序的方法,其特征在于步骤(1)中所说的的串口连接线为3股线配置,它分别与计算机的串口端子RXD、TXD和GND相连,再分别与PDP电视机的TXD、RXD和GND端子相连。3.按照权利要求2所述的利用计算机仿真调试PDP电视芯片程序的方法,其特征在于所说的串口连接线为3股耳机线。全文摘要一种利用计算机超级终端仿真调试PDP电视芯片程序的方法,属于电子和电视机技术。它包括将计算机与FLASH连接,再将PC经串口连接线与PDP电视机连接;进行串口通讯参数配置每秒位数-115200、数据位-8、奇偶检验-无、停止位-1、数据流控制-无;利用计算机显示电路板的状态信息,包括各芯片的运行状态,检测出芯片是否工作正常和当前的程序运行情况;通过写入FLASH的与RS232接口通讯的程序,实现系统中芯片寄存器的实时更改;实时读取遥控的控制情况以及搜台的跟踪情况等五个步骤。它利用计算机和RS232线,不需专用软件,提高了开发的方便性,缩短了开发周期。可广泛应用于PDP及各种无线系统芯片程序的仿真调试中。文档编号G06F9/455GK1622642SQ20041007550公开日2005年6月1日申请日期2004年12月11日优先权日2004年12月11日发明者马楔,菅怀刚,龚连发,邢胜春,黄海华申请人:海信集团有限公司,青岛海信电器股份有限公司
网友询问留言 已有0条留言
  • 还没有人留言评论。精彩留言会获得点赞!
1