- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- 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.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page