Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

weird problem with dm9000a on de2

Altera_Forum
Honored Contributor II
1,218 Views

my de2 stop responding shortly after boot up. 

 

Uncompressing Linux... Ok, booting the kernel. Linux version 2.6.19-uc1 (jwlam@localhost.localdomain) (gcc version 3.4.6)# 86 P REEMPT Sun Mar 25 18:49:14 MYT 2007 uClinux/Nios II Altera Nios II support (C) 2004 Microtronix Datacom Ltd. setup_arch: No persistant network settings signature at 003F0000 Built 1 zonelists.  Total pages: 2032 Kernel command line: PID hash table entries: 32 (order: 5, 128 bytes) Dentry cache hash table entries: 1024 (order: 0, 4096 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Memory available: 5560k/8192k RAM, 0k/0k ROM (1809k kernel code, 733k data) Mount-cache hash table entries: 512 NET: Registered protocol family 16 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 1024 (order: 0, 4096 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP reno registered io scheduler noop registered io scheduler deadline registered (default) Serial: JTAG UART driver $Revision: 1.3 $ ttyJ0 at MMIO 0x806810f0 (irq = 1) is a jtag_uart <DM9KS> I/O: 806810f8, VID: 90000a46 usbmon: debugfs is not available driver isp1362-hcd, 2005-04-04 isp1362-hcd isp1362-hcd: ISP1362 Host Controller isp1362-hcd isp1362-hcd: new USB bus registered, assigned bus number 1 isp1362_hc_reset: Clock not ready after 20ms isp1362-hcd isp1362-hcd: irq 7, io mem 0x806810a0 isp1362_hc_start: isp1362-hcd isp1362-hcd: ISP1362 Memory usage: isp1362-hcd isp1362-hcd:   ISTL:    2 *  256:      512 @ $0000:$0100 isp1362-hcd isp1362-hcd:   INTL:   16 * ( 64+8):  1152 @ $0200 isp1362-hcd isp1362-hcd:   ATL :   32 * ( 64+8):  2304 @ $0680 isp1362-hcd isp1362-hcd:   USED/FREE:   3968       128 usb usb1: configuration# 1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ISP1362 Host Controller, irq 7 Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 Freeing unused kernel memory: 600k freed (0x9d6000 - 0xa6b000) Shell invoked to run file: /etc/rc Command: hostname uClinux Command: mount -t proc proc /proc Command: mount -t sysfs sysfs /sys Command: mount -t usbfs none /proc/bus/usb Command: mkdir /var/tmp Command: mkdir /var/log Command: mkdir /var/run Command: mkdir /var/lock Command: mkdir /var/empty Command: ifconfig lo 127.0.0.1 Command: route add -net 127.0.0.0 netmask 255.0.0.0 lo Command: ifconfig eth0 192.168.1.12 netmask 255.255.255.0 Command: boa& Command: inetd& Command: cat /etc/motd Welcome to          ____ _  _         /  __| ||_|    _   _| |  | | _ ____  _   _  _  _   | | | | |  | || |  _ \| | | |\ \/ /   | |_| | |__| || | | | | |_| |/       |  ___\____|_||_|_| |_|\____|\_/\_/   | |   |_| For further information check: http://www.uclinux.org/ Execution Finished, Exiting Sash command shell (version 1.1.1) /> NETDEV WATCHDOG: eth0: transmit timed out TX time-out -- dmfe_timeout(). /> ifconfig eth0      Link encap:Ethernet  HWaddr 00:07:ED:00:00:00          inet addr:192.168.1.12  Bcast:192.168.1.255  Mask:255.255.255.0          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1          RX packets:26 errors:0 dropped:0 overruns:0 frame:0          TX packets:14 errors:1 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:1000          RX bytes:1962 (1.9 KiB)  TX bytes:812 (812.0 B)          Interrupt:6 Base address:0x10f8 lo        Link encap:Local Loopback          inet addr:127.0.0.1  Mask:255.0.0.0          UP LOOPBACK RUNNING  MTU:16436  Metric:1          RX packets:1 errors:0 dropped:0 overruns:0 frame:0          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0          RX bytes:88 (88.0 B)  TX bytes:88 (88.0 B) 

C:\Documents and Settings\SC>ping 192.168.1.12 -t Pinging 192.168.1.12 with 32 bytes of data: Request timed out. Request timed out. Reply from 192.168.1.12: bytes=32 time=8ms TTL=64 Reply from 192.168.1.12: bytes=32 time=2ms TTL=64 Reply from 192.168.1.12: bytes=32 time=2ms TTL=64 Reply from 192.168.1.12: bytes=32 time=2ms TTL=64 Reply from 192.168.1.12: bytes=32 time=2ms TTL=64 Reply from 192.168.1.12: bytes=32 time=2ms TTL=64 Request timed out. Request timed out. Request timed out. Request timed out. 

 

it did respond a few packets den went dead. 

 

this situation only appears if i used hardware design that i recompiled myself. i only add a custom hardware in the sopc builder, auto assign the addresses, irqs, generate, and recompile de2_net. i din touch anything else in the sopc builder. 

 

i am not having problem if i use the original de2_net. anyone has any idea? 

Thx.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
530 Views

i am also having the same problem. i used the same DM9000A and upgraded in sopc 9.0 and compiled. 

but the  

initialization fails. 

it could not change any of the DM9000A's registers 

if u have solved the problem, can u tell me how did u do it
0 Kudos
Reply