Page 1 of 1

NNDK Release 2.5.3

Posted: Mon Feb 06, 2012 1:23 pm
by Forrest
NDK 2.5.3 is now out and available for download at http://support.netburner.com. Please report any issues in this thread or directly to support by submitting a new ticket at http://support.netburner.com.

New versions of our NNDK are released for evaluation purposes only. We do not recommend using this release in an end product until it has been thoroughly tested. As with all new releases, this will be a beta for the first 8-12 weeks while we await feedback. If no major issues are present, we will upgrade this to an official release.


Please note, anyone running 2.5.2 release of our code are advised to update to this release. 2.5.2 contains significant TCP bugs that can cause your network connections to lock up after long periods of time. See the TCP section below for more details.

Code: Select all

Release 2.5.3 (Jan 2012)
 New in this version
	* New Platform
		o MOD54415 support added
		o PINK example added
	* EFFS
		o Upgraded EFFS-STD from 1.631 to 1.91.
			: With version change, you must reformat file systems using older versions. This does not apply to SD cards using the EFFS
		o Added multi-threading support
		o Wildcard searches now follow DOS conventions ( *.* for files, * for everything )
	* HTTP
		o Added 2 new globals for HTTP server
			#define MAX_HTTP_PENDING_SOCKETS (5) // Number of sockets allowed to be pending on listening socket, performance will degrade < 3
			#define MAX_HTTP_CONNECTED_SOCKETS (3) // Number of sockets allowed to be connected to http server simultaneously 
	* I2C
		o Added slave i2c callback functions		
	* Mail
		o Added port parameter option to SendMailAuth 
	* PC Tools
		o Added java version of autoupdate and ipsetup for upcoming OSX release
		o Added command line interface to ipsetup. Allows for script support
	* System
		o Added dual boot and ABOOT commands
		
 Corrections in this version
	* Ethernet
		o Fixed IP source address error in Ping and SendICMPError. These functions could generate corrupt 	packets when programmed incorrectly.
		o Debug ethernet driver functions pulled out to allow changing of system constants in the debug ethernet driver
		o Fixed rare soft reboot lockup on MOD5272 micrel PHY
		o Fixed problem with MOD5272 failing to communicate with PHY after soft reboot
		o Fixed some newtork code flow to remove confusing conditionals
		o Modified checking of PHY ID to focus on OUI ID so most Micrel, Davicom, National and AMD PHYs should now work without any software modification. 
	* HTTP
		o Fixed IE9 issue in which IE9 opens 2 sockets for every web page and handles all communication on the second socket, leaving the first socket hanging. All open sockets are now placed in a select statement to handle this situation properly
	* L2e Platform
		o Fixed sprintf error case
		o Fixed PostHandler bug that occurs when searching through multiple filenames 
		o Fixed Get handler to not capatilize all url encodiing 
		o Fixed bad timeout in connect 
		o Fixed bad pointer on failed connect
	* MCF5272
		o Fixed Flash size error in monitor ld file
		o Fixed UDP error in which network driver would sometimes deliver out of order or duplicate packets when receiving full size ethernet frames
	* PC Tools
		o Improved network communication on Win7/Vista
		o Fixed clinetool for script support of autoupdate
		o Fixed pythonfind example to work with 3.0 release of Python
		o Fixed socket open error in TCPUpdate
		o Fixed javascript MIME encoding in comphtml
	* RTOS
		o Fixed trap occuring when UCOS_TASKLIST was enabled
		o Increased performance for applications using atomicity macros
	* Serial
		o Fixed SendBreak() function for use with RS-422/485 mode
		o Added custom baud rate support for MCF5272 processors
	* SNMP
		o Fixed case when SNMP task is stuck in a loop when a string larger than 254 chars is written.
	* SSH/SSL
		o Fixed memory leak/cleanup support in TCP error state
	* System
		o Fixed itoa library function for large hex values
		o Fixed printf bug, not printing all characters of an unsigned long decimal (5213/L2e Devices)
	* TCP
		o TCP errors in Release 2.5.2 are significant and can the TCP stack and/or user tasks to permanently hang up..
			Symptoms include:
			o Locking TCP connections
			o Freezing web pages after consecutive reloads
			o Freezing web pages after days of idle time. 
		o Fixed TCP timeout processing of closed sockets
		o Fixed TCP hangup and half closed sockets memory leak
		o Performace imporvement  
		o Fixed incorrect arp caching scenario
		o Fixed Accept close race in TCP 
		o Fixed bug that can cause TCP task to remain in infinite loop.

Re: NNDK Release 2.5.3

Posted: Sat Feb 11, 2012 5:49 am
by greengene
There was much dancing in the aisles when I passed along this info up our food chain.
I look forward to giving this a go - hopefully our jubilation will be justified.
This issue alone, TCP, has had a significant impact on our product roadmap.

Re: NNDK Release 2.5.3

Posted: Thu Mar 08, 2012 2:18 pm
by greengene
it doesn't appear that the code change related to ticket #30711 for
ProcessTaskPacket() in taskmon.cpp was included. this relates to
more than 20 tasks. should we just still include the mods given
for that ticket?

Re: NNDK Release 2.5.3

Posted: Mon Apr 30, 2012 1:51 pm
by greengene
Well, it's been 12 weeks. Is 2.5.3 the "official" release now? :?

Have there been _any_ problems reported? :evil:

TIA :D

Re: NNDK Release 2.5.3

Posted: Thu Jun 07, 2012 2:04 pm
by cnth98
After seeing all the good comment, I finally loaded the NNDK Release 2.5.3 and tested it with our about-to-release product. But I found a problem:
Our board has a RTC real time clock chip. One of the web pages is to display the RTC and allow the user to set it up. I had the ajax code to request the NB module and update the clock on every second. Under 2.5.2, the clock updated ok. But not with 2.5.3. If the page is inactive for 16 seconds or more, i.e. not clicking on any of the links, the web page locks up. The application is still running, but the NB web server doesn't response. Or takes a long time that the Web browser has timed out on it. I have to slow the RTC update rate to 5 seconds for this 2.5.3. to avoid the lock up. Not sure we like that.