2008-07-25 23:57:25     problem of DM9000 drviver in u-boot-1.1.6-2008R1 at bf533 ezkit lite rev2.2

Document created by Aaronwu Employee on Sep 18, 2013
Version 1Show Document
  • View in full screen mode

2008-07-25 23:57:25     problem of DM9000 drviver in u-boot-1.1.6-2008R1 at bf533 ezkit lite rev2.2

ke zhang (CHINA)

Message: 59426   

 

now  i alter u-boot-1.1.6-2008R1 for my board (which is bf533 ezkit lite rev2.2). pinging my host  is failed. DM9000 is  not work.(the driver of dm9000 which i use is in u-boot1.1.6/driver/dm9000x.c).please tell me where is the error.

 

thank you for your replay!

 

U-Boot 1.1.6 (ADI-2008R1) (Jul 26 2008 - 02:02:26)                                                

 

CPU:   ADSP bf533-0.3 (Detected Rev: 0.5)                                       

Board: ADI BF533 EZ-Kit Lite board                                

       Support: http://blackfin.uclinux.org/                                          

Clock: VCO: 594 MHz, Core: 594 MHz, System: 118 MHz                                                 

RAM:   32 MB          

Flash:  2.1 MB            

*** Warning - bad CRC, using default environment                                              

 

In:    serial           

Out:   serial           

Err:   serial           

Net:   MAC:   00:50:11:33:1E:AF                             

I2C:   ready          

Hit any key to stop autoboot:  0                              

bfin> ping 192.168.0.117                      

dm9000 i/o: 0x20320000, id: 0x90000a46                                    

MAC: 00:50:11:33:1e:af                    

operating at 100M full duplex mode                                

rx length too big               

rx fifo error           

rx length too big               

rx fifo error           

rx length too big               

rx fifo error           

rx length too big               

rx fifo error           

rx length too big               

 

QuoteReplyEditDelete

 

 

2008-07-26 01:15:18     Re: problem of DM9000 drviver in u-boot-1.1.6-2008R1 at bf533 ezkit lite rev2.2

Mike Frysinger (UNITED STATES)

Message: 59428   

 

what do you mean you altered for your board ?  the bf533-ezkit does not have an ethernet part and none of the addon cards released by ADI use a dm9000 part.  so what hardware exactly are you testing ?  we've never tested the dm9000 part.

QuoteReplyEditDelete

 

 

2008-07-27 20:03:58     Re: problem of DM9000 drviver in u-boot-1.1.6-2008R1 at bf533 ezkit lite rev2.2

Javier Herrero (SPAIN)

Message: 59453   

 

It seems that the DM9000 is recognized OK (id 0x90000a46 is read OK). We are using DM9000 in our BF532-based H8606 board, and works ok with U-boot, using the dm9000x.c driver I think that without any special modification. In our preliminary prototyping we have a similar error related to the DM9000 +2.5V line decoupling, so perhaps your problem is hardware related.

 

Regards,

 

Javier

QuoteReplyEditDelete

 

 

2008-07-29 04:12:50     Re: problem of DM9000 drviver in u-boot-1.1.6-2008R1 at bf533 ezkit lite rev2.2

ke zhang (CHINA)

Message: 59518   

 

Hi Javier

 

     I don't mean "DM9000 +2.5V line decoupling", can you explain it for me ? I want to find the error i meet.

 

     I am using a subboard producted by eastdima company with bf533 ezkit lite. I can't sure whether the DM9000 hardwear is OK, because they havn't a sample demo which can receive package .i have asked them through Email.

QuoteReplyEditDelete

 

 

2008-07-29 09:43:53     Re: problem of DM9000 drviver in u-boot-1.1.6-2008R1 at bf533 ezkit lite rev2.2

Javier Herrero (SPAIN)

Message: 59551   

 

Hello,

 

The DM9000A has an internal 2.5V voltage regulator, used for powering the analog section of the device. This analog voltage must be careful decoupled using a tantalum capacitor, or better a ceramic capacitor in parallel with a tantalum one. In one prototype, we failed to do that and we obtained weird errors, quite like yours, and that was the reason for my suggestion.

 

Regards,

 

Javier

QuoteReplyEditDelete

 

 

2008-07-30 20:48:43     Re: problem of DM9000 drviver in u-boot-1.1.6-2008R1 at bf533 ezkit lite rev2.2

ke zhang (CHINA)

Message: 59622   

 

Thank you!

QuoteReplyEditDelete

 

 

2008-08-29 01:02:26     回复: problem of DM9000 drviver in u-boot-1.1.6-2008R1 at bf533 ezkit lite rev2.2

fuxiong jiang (CHINA)

Message: 61306   

 

hello

 

i have got the same problem:

 

you should do this:

 

in function eth_rx(in dm9000x.c)

 

you should change 

 

"DM9000_ior(DM9000_MRCMDX); /* Dummy read */

rxbyte = DM9000_inb(DM9000_DATA); /* Got most updated data */"

 

to :

 

"

 

rxbyte = DM9000_ior(DM9000_ISR);

 

rxbyte = DM9000_ior(DM9000_MRCMDX); 

 

"

Attachments

    Outcomes