- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
Currently I'm developing a gigabit ethernet interface project on Stratix IV. The FPGA has to receive data continuously from a DSP board and transmit them to PC. The connection between the FPGA and the PC is via TCP/IP. So it means the FPGA has to send data via TCP/IP in repetition (transmitting data for each data packet). I have written the C code based on the SimpleSocketServer, and the current design can transmit the data discretely (not continuous data). However, when I tried to make it transmit the continuous data (just adding iteration in the TCP/IP transmisiion process), I got the following error :
dtrap - needs breakpoint
dtrap - needs breakpoint
From this forum, somebody ever said that this "dtrap - needs breakpoint" error may happen when we use superloop niche mode. However, in my design I think I don't use the superloop niche because my design use uCOS-II. So anyone, please help me to figure out how to solve this problem... Or if anyone ever develop a system that transmit continuous data like me, please kindly give me an example of the appropriate way in C code to handle this thing. :( Thanks
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
like the name says, to find out what is happening you need to run your application with a debugger and put a breakpoint on dtrap(). Then when the debugger stops, go up in the function call list and find out where dtrap() was called. If you are lucky you'll find a comment next to the call saying what the problem is. The Interniche stack developers were too lazy to write real error messages.

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