Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
4865 Discussions

DM9000A problem

Altera_Forum
Honored Contributor II
1,161 Views

Hi, 

 

I have a problem with DM9000A. 

 

I am using DE2_NET system and its NIOS II program with a little change. I change the program to show every packets it receives by triggering an interrupt. But after a while maybe 5 or 6 packets it stops to show packets. I make sure that my program is still running with some simple changes in LEDs and also make sure that I have packets in Ethernet with programs like wireshark. 

 

Can you help me? I am thinking it is a problem with internal memory of DM9000A or some stack problem. (I am using the header and source file which Altera has provided with DE2_NET version 1.6)
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
286 Views

What do you mean with 'show packets' ? 

Are you displaying it in jtag uart terminal window, blinking a LED, routing them to a serial port or whatever ? 

In case you are using jtag uart terminal, please note that this is a very slow output port, so using it in an interrupt handler can lead to strong delays.  

Moreover, IIRC printf is not thread safe,so you can have some problems if you are using it with a OS.
0 Kudos
Altera_Forum
Honored Contributor II
286 Views

 

--- Quote Start ---  

What do you mean with 'show packets' ? 

Are you displaying it in jtag uart terminal window, blinking a LED, routing them to a serial port or whatever ? 

In case you are using jtag uart terminal, please note that this is a very slow output port, so using it in an interrupt handler can lead to strong delays.  

Moreover, IIRC printf is not thread safe,so you can have some problems if you are using it with a OS. 

--- Quote End ---  

 

 

Yes, thank you 

 

I was using jtag uart terminal for displaying my packets. And because it was slow after a while everything stop working. I am using another method now.
0 Kudos
Reply