Altera_Forum
Honored Contributor
14 years agoentering superloop niche while using uCOS ?
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