AnsweredAssumed Answered

mpc8260A FCC做网口时,什么情况下会停止发送数据呢?

Question asked by ding ding on Jun 9, 2015
Latest reply on Jun 17, 2015 by Yiping Wang

1.       FCC在什么情况下会停止发送?

2.       FCC在停止发送的时候可能报告什么错误信息?

3.       FCC的收发是否会受到MCC的影响?

下面是日志:

 

-> dxfDebugShow

unit 0 bds status

     tx bd:

 

 

     NO.     addr   length   buffer   status

 

 

     _______________________________________

 

 

     15   8000078       36  8019d04     7c00 (PAD,Wrap,Int,Last,Tx CRC)

 

 

 

 

 

     rx bd:

 

 

     NO.     addr   length   buffer   status

 

 

     _______________________________________

 

 

     31   8000178        0  8012740     a000 (Empty,Wrap)

 

 

unit 1 bds status

 

 

 

 

 

     tx bd:

 

 

     NO.     addr   length   buffer   status

 

 

     _______________________________________

 

 

     00   80c9000       4a  80cb2a0     dc00 (Ready,PAD,Int,Last,Tx CRC)

 

 

     01   80c9008       4a  80cac6c     dc00 (Ready,PAD,Int,Last,Tx CRC)

 

 

     02   80c9010       4a  80ca638     dc00 (Ready,PAD,Int,Last,Tx CRC)

 

 

     03   80c9018       4a  80d6cb8     dc00 (Ready,PAD,Int,Last,Tx CRC)

 

 

     04   80c9020       3c  80d6684     dc00 (Ready,PAD,Int,Last,Tx CRC)

 

 

     05   80c9028       3c  80d6050     dc00 (Ready,PAD,Int,Last,Tx CRC)

 

 

     06   80c9030       4a  80d5a1c     dc00 (Ready,PAD,Int,Last,Tx CRC)

 

 

    07   80c9038       3c  80d8588     dc00 (Ready,PAD,Int,Last,Tx CRC)

 

 

     08   80c9040       3c  80d4780     dc00 (Ready,PAD,Int,Last,Tx CRC)

 

 

     09   80c9048       3c  80d3b18     dc00 (Ready,PAD,Int,Last,Tx CRC)

 

 

     10   80c9050       3c  80d34e4     dc00 (Ready,PAD,Int,Last,Tx CRC)

 

 

     11   80c9058       3c  80d2eb0     dc00 (Ready,PAD,Int,Last,Tx CRC)

 

 

     12   80c9060       4a  80cea74     dc00 (Ready,PAD,Int,Last,Tx CRC)

 

 

     13   80c9068       4a  80cf0a8     dc00 (Ready,PAD,Int,Last,Tx CRC)

 

 

     14   80c9070       4a  80cc53c     dc00 (Ready,PAD,Int,Last,Tx CRC)

 

 

     15   80c9078       4a  80d72ec     fc00 (Ready,PAD,Wrap,Int,Last,Tx CRC)

 

 

 

 

 

     rx bd:

 

 

     NO.     addr   length   buffer   status

 

 

     _______________________________________

 

 

     31   80c9178        0  80e07e0     a000 (Empty,Wrap)

 

 

value = 0 = 0x0

 

 

 

 

 

-> motFccDrvShow 1

 

 

 

 

 

unit 1 drv ctrl show

 

 

                      pDrvCtrl = 0x77b5168

 

 

                      pNetPool = 0x77b50b0

 

 

                     pClPoolId = 0x77f89f0

 

 

                       pBdBase = 0x80c9000

 

 

                        bdSize = 0x1000

 

 

                      pBufBase = 0x80ca000

 

 

                       bufSize = 0xc8000

 

 

                     pMBlkArea = 0x77b2e78

 

 

                      mBlkSize = 0x222c

 

 

                 fccIntPending = 0

 

 

                  fccRxPending = 0

 

 

                  fccTxPending = 0

 

 

 

 

 

                       tbdBase = 0x80c9000

 

 

                        tbdNum = 16

 

 

                      tbdIndex = 12

 

 

                  usedTbdIndex = 12

 

 

                   cleanTbdNum = 0

 

 

                       txStall = 0

 

 

 

 

 

                       rbdBase = 0x80c9080

 

 

                        rbdNum = 32

 

 

                      rbdIndex = 11

 

 

                   fccIramAddr = 0x47011340

 

 

                   fccPramAddr = 0x47008600

 

 

                        fccNum = 3

 

 

 

 

 

fcc tx and rx error show

 

 

                        nTxErr = 0x0

 

 

                         RxBsy = 0x4

 

 

                         nTxLc = 0x0

 

 

                          TxUr = 0x0

 

 

                         TxCsl = 0x0

 

 

                          TxRl = 0x0

 

 

                         nRxLg = 0x0

 

 

                          RxNo = 0x0

 

 

                         RxCrc = 0x0

 

 

                          RxOv = 0x0

 

 

                          RxLc = 0x0

 

 

                          RxSh = 0x0

 

 

                        nRxMem = 0x6eb96

 

 

 

 

 

-> motFccRamShow 1

 

 

 

 

 

unit 1 Iram show

 

 

                          gfmr = 0x2000003c

 

 

                         fpsmr = 0x14000080

 

 

                         ftodr = 0x1400

 

 

                          fdsr = 0xd555

 

 

                         fccer = 0x0

 

 

                         fccmr = 0xfe

 

 

 

 

 

unit 1 Pram show

 

 

                         RIPTR = 0xb0a0

 

 

                         TIPTR = 0xb040

 

 

                         MRBLR = 0x5ee

 

 

                        RSTATE = 0x13810000

 

 

                         RBASE = 0x80c9080

 

 

                        RBDLEN = 0x0

 

 

                         RDPTR = 0x80d7f60

 

 

                        TSTATE = 0x1340001d

 

 

                         TBASE = 0x80c9000

 

 

                        TBDLEN = 0x4a

 

 

                         TDPTR = 0x80db728

 

 

                         RBPTR = 0x80c90c0

 

 

                         TBPTR = 0x80c9068

 

 

                   retry limit = 0xf

 

 

 

 

 

-> motFccRamShow 1

 

 

 

 

 

unit 1 Iram show

 

 

                          gfmr = 0x2000003c

 

 

                         fpsmr = 0x14000080

 

 

                         ftodr = 0x1400

 

 

                          fdsr = 0xd555

 

 

                         fccer = 0x0

 

 

                         fccmr = 0xfe

 

 

 

 

 

unit 1 Pram show

 

 

                         RIPTR = 0xb0a0

 

 

                         TIPTR = 0xb040

 

 

                         MRBLR = 0x5ee

 

 

                        RSTATE = 0x13a00000

 

 

                         RBASE = 0x80c9080

 

 

                        RBDLEN = 0x5a

 

 

                         RDPTR = 0x80e45e0

 

 

                        TSTATE = 0x1340001d

 

 

                         TBASE = 0x80c9000

 

 

                        TBDLEN = 0x4a

 

 

                         TDPTR = 0x80db728

 

 

                         RBPTR = 0x80c90f8

 

 

                         TBPTR = 0x80c9068

 

 

                   retry limit = 0xf

 

 

 

 

 

-> motFccRamShow 1

 

 

 

 

 

unit 1 Iram show

 

 

                          gfmr = 0x2000003c

 

 

                         fpsmr = 0x14000080

 

 

                         ftodr = 0x1400

 

 

                          fdsr = 0xd555

 

 

                         fccer = 0x0

 

 

                         fccmr = 0xfe

 

 

 

 

 

unit 1 Pram show

 

 

                         RIPTR = 0xb0a0

 

 

                         TIPTR = 0xb040

 

 

                         MRBLR = 0x5ee

 

 

                        RSTATE = 0x13a00000

 

 

                         RBASE = 0x80c9080

 

 

                        RBDLEN = 0x9a

 

 

                         RDPTR = 0x80e7dc0

 

 

                        TSTATE = 0x1340001d

 

 

                         TBASE = 0x80c9000

 

 

                        TBDLEN = 0x4a

 

 

                         TDPTR = 0x80db728

 

 

                         RBPTR = 0x80c90c8

 

 

                         TBPTR = 0x80c9068

 

 

                   retry limit = 0xf

 

 

 

 

 

 

 

 

 

 

 

_________________________________

 

 

邸学锋

Outcomes