- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using Nios II 8.1 IDE
I've got a Custom CPU board with a Cyclone III and the National Semiconductor triple speed ethernet chip. I have the Niche Stack license. I've successfully run code with the simple socket server as the basis. For my final delivery I needed to add the Remote Config capability, so I "married" the two features (I tried this first on a NEEK development board and a subset of my code and was successful). The way I did this was make a project based on the "Remote Configuration" and added the Simple Socket Server Code I needed. I start the ssstask after the rctask - code snipet follows: /* Create the main remote configuration task. */ TK_NEWTASK(&rctask); printf("\nSimple Socket Server starting up\n"); /* Create NicheStack Tasks. */ TK_NEWTASK(&ssstask); TK_NEWTASK(&EnetTask); /* Application Specific Task Launching Code Block End */ /*This task is deleted because there is no need for it to run again */ error_code = OSTaskDel(OS_PRIO_SELF); alt_uCOSIIErrorHandler(error_code, 0); # ############################################### My new code runs just fine when I run from the IDE. When I burn the program into flash and I try to connect to the server I get the following error: ****************************************** panic: tcp_out - packet ptr underflow dtrap - needs breakpoint netclose: closing iface Altera TSE MAC ethernet ****************************************** A bit more information. I do have other tasks and here are the priorities I've selected: # define LOGIC1553_PRIORITY 10# define SENDENET_PRIORITY 12 //Send 1553 Data# define VFD_PRIORITY 14 # define SSS_PRIORITY 4# define TEN_FOUR_ENET_PIO 13# define DISCONN_CHECK 15 //// ADDED for remote configuration# define REMOTE_CONFIG_PRIORITY 5 // was 4 and hard coded My simple socket server is Priority 4 Can anyone help me ?Link Copied
0 Replies

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