NNDK 2.4 RC2 (BETA) Now Available

Discussion to talk about software related topics only.
Post Reply
User avatar
Forrest
Posts: 288
Joined: Wed Apr 23, 2008 10:05 am

NNDK 2.4 RC2 (BETA) Now Available

Post by Forrest »

Hello all,

The latest (beta) release for the tools is now available to download from http://support.netburner.com

Changes in 2.4 RC2:
----------------------------

Code: Select all

New in Release 24 RC2

    * CAN
          o Added method to send RTR (CanSentRTR)
    * EFFS
          o Support for Compact Flash cards up to 128GB
    * MAIL
          o Added date/time stamps to outgoing email messages
    * NETBIOS
          o Added NETBIOS nameing and example program
    * SB700EX
          o Added support for new platform
    * SBL2e
          o Added support for new platform
    * STDIO
          o Added function to return current FD mapped to stdio (int CurrentStdioFD( int stdio_fd ))
    * TCP
          o Added keep-alive functionality and example
          o Added extra parameter to Connect() function allowing specification of interface
    * uC/OS
          o Added post to front of queue & example (OSQPostFirst)
    * WIFI IEEE802.11b/g Network Interface Controller (NIC)
          o WIFIUG-200CR (RealTek RTL8711 Wireless LAN NIC) released.
          o Added WIFIUG_200CR driver and support (rtl8711Library)
          o Added progress routine callback to support managing connection changes.

Updated in Release 24 RC2

    * Examples
          o CB34EX-SerialToEthernet - Added LED feedback
          o TestDHCP - Added state debugging messages
          o Multicast - Improved feedback messages
          o EFFS STD - new example for standard flash file system
          o UDP - Added Simple UDP to Serial example
    * Mail
          o Added SSL mail support & example (Requires Embedded SSL & SSH Security Suite license)
    * Real Time Clock (RTC)
          o Applies to hardware platforms that support a real-time clock. Added alarm and timer functions. Both of these functions use external IRQ 1
    * SSL
          o Increased key size to 4096. Large key size affects performance
          o Client authentication
    * Tools
          o Silent installation of USB driver for MOD-DEV-100(70), driver is digitally signed
    * WIFI
          o Removed WIFI_100CR driver (NetGear MA 701, Intersil PRISM) available through support
          o Removed NXP BGW211g driver
          o Added parameters to Wifi interfaces to support future devices

Corrections in Release 24 RC2

    * ARP
          o Fixed possible race condition in which an ARP entry could be aged out while being used
    * Debug
          o Fixed debug warm reboot bug with Micrel PHY
    * DHCP
          o Fixed problem with rebind, in which it was possible a DHCP rebind request would not request the previously assigned IP
    * EFFS
          o Fixed size reporting with large SD cards
    * Ethernet
          o Corrected PHY latching on soft reset on Modules with MICREL PHY
    * FTP
          o Increased FTP Buffers to support up to 256 byte paths and filenames
          o Fixed flowcontrol issue with f_read/f_write in FTP example applications
    * I2C
          o Improved reliability of receving bytes in I2C driver
    * HTTP
          o Corrected buffer overrun on post of large web pages
          o Fixed problem in which HTTP POSTs or GETs would fail if the data was received in more than one packet
    * Mail
          o SMTP: Corrected error condition in which SendMail() and SendMailEx() would not immediately release the TCP socket if the connection was refused by the SMTP Server
          o POP3: Modified function POP3_RetrieveMessage to return error if message is bigger than the given buffer size instead of stalling
    * PPP
          o Modified PPP LCP NAK and modem initialization to prevent deadlock conditions during multiple attempts to connect. Fixed changing of ACCM before and after LCP negotiation and after LCP negotiation
    * Serial
          o Corrected hardware (RTS/CTS) and software (XON/XOF) flow control issues
          o Merged serial software driver source code for similar platforms
    * SSL
          o Corrected multiple socket connection data contention
    * Tools
          o Corrected printf floating point reentrancy data contention


You can download this release now. Just log into http://support.netburner.com and click on "Get Latest Tools"
Forrest Stanley
Project Engineer
NetBurner, Inc

NetBurner Learn Articles: http://www.netburner.com/learn
thomastaranowski
Posts: 82
Joined: Sun May 11, 2008 2:17 pm
Location: Los Angeles, CA
Contact:

Re: NNDK 2.4 RC2 (BETA) Now Available

Post by thomastaranowski »

I like the new release for the most part, but my *compressed* image is now 80k larger than my 21_rc4a build, which makes me sad and. Is there some low hanging fruit I can disable to trim that down? My program is now 20k over my 512k limit :(
thomastaranowski
Posts: 82
Joined: Sun May 11, 2008 2:17 pm
Location: Los Angeles, CA
Contact:

Re: NNDK 2.4 RC2 (BETA) Now Available

Post by thomastaranowski »

Ok, my bad. There were some stale files in the html directory that got pulled in. It's still 20k larger though, so tips would be appreciated :)
User avatar
tod
Posts: 587
Joined: Sat Apr 26, 2008 8:27 am
Location: Southern California
Contact:

Re: NNDK 2.4 RC2 (BETA) Now Available

Post by tod »

Under the project compiler settings you could try the Optimize for Size (-Os) setting and see what happens. Also depending on the size of your HTML/CSS/Javascript files I've found that running the optimizers that strip out all the non-essential whitespace can have an effect. Of course then you have to keep two copies of those files around because they are VERY hard to work with once all the whitespace is gone. And in JS files some of the optimizers require that every line end with ; or the optimized code won't run correctly.

By default support for exceptions and RTTI is off, you can make sure those boxes aren't checked (Under the C++ Compiler settings Miscellaneous section).
thomastaranowski
Posts: 82
Joined: Sun May 11, 2008 2:17 pm
Location: Los Angeles, CA
Contact:

Re: NNDK 2.4 RC2 (BETA) Now Available

Post by thomastaranowski »

Tod,

Thanks for the reply. I'm already doing -Os :) If I recall, it made about a 10-15% difference at the time.

I was using the yuicompressor as part of my web development toolchain prior to building the netburner image, but I've switched to using htmlcompressor now, as it compresses the html as well (http://code.google.com/p/htmlcompressor ). The only issue I had was I had to disable comment compression, otherwise my <!-- FUNCTIONCALL --> tags would be stripped out. It's been working reliably for several months now, and saved me about 15-20k of space.
Post Reply