2_c_digi_logo_10K

NET+OS 7.4.2 Updates

 

Last updated: 02/22/10

 

 

 

Package Manager Update

Last updated 07/01/09

 

Customers behind a proxy server will need to install the update found here to make other packages accessible: http://ftp1.digi.com/support/patches/Package_Manager_NETOS.zip

 

Unzip it to a temporary directory.  Open Digi ESP and select Package Manager -> Package Manager Settings.

 

Select Repositories and add your temporary folder to the List of local folders.

 

Run Package Manager and install the update.  A reset of the ESP environment will be initiated upon completion.

 

All NET+OS 7.4.2 packages will now be accessible from behind the proxy server.

 

 

BSP Updates
Last updated 02/22/10

Version 1.0

Serial Driver - case 30221

Removed extra stop bit that was added between characters.

RTS was incorrectly being deasserted for 1us before transmitting each character in RS485 mode.

The serial driver was incorrectly using the CPU clock instead of the PLL for baud rate calculations.

Serial Driver - case 30049

serial_channel() now returns minor as the channel number.

max_serial_ports() now uses SERIAL_MAX rather than a hard coded value.

Serial Driver - case 29973

Fixed select() implementation.  We did not notify the Treck stack about event changes.  Added ioctl option TCGETSIGCHANGE

 

USB Driver

Updated ISR to call narm_read_reg and narm_write_reg.

See latest API Reference for updates to naUsbDevQueue about zero-length packets.

 

Wireless Driver - case 29954

Updated Japanese channels for 802.11a

Wireless Driver

Fixed Cisco LEAP+WEP problem.

 

SPI MMC Driver - case 28537

Fixes to SPI SD card driver to address SD cards that do not respond for various reasons. (usually timeouts)

Version 1.1
Wireless Driver - case 30378

Fixed a problem that could cause the WIEM9210 to sleep forever when an application changes duty cycle time on the fly.

Fixed a problem with high packet loss on the WiWM9210 using AES on b-g WLAN with protection enabled. Protection mode allows a mix of B and G devices  on the same channel.  It sends a CTS frame (at a B rate) before every G frame.  The CTS frame tells B-only devices to stay off the air until the G frame is complete.  Protection mode is enabled by the access point.

The problem our driver had was that the CTS and the DATA frames are not in the same FIFO so the AP thought they were invalid.

 

I2C – case 30378

In customizeBootloader.c, we overwrote the preconfigured GPIO line to check forced recovery status. This would cause problems with I2C when run from flash.  We now restore the GPIO line after checking status.

 

Version 1.2

Error building NET+OS examples caused by missing file.  Added usbreg_def.h

Version 1.3

Fixed a problem that would cause cout to stop working after any change to the dialog was made. Case 30472

Changed error checking code for BSP_GPIO_MUX_IOP_1_CAN_TXD and BSP_GPIO_MUX_IOP_1_CAN_TXD in gpio.h to allow the 2nd alternative path, which is a valid choice.

Added  A band  channels (52, 56, 60, 64, 100, 104, 108, 112,116, 120, 124, 128, 132, 136, 140) to Japanese support.

Inside the routine SetChannel() there was missing a setting of the global_channel.  Also added the file mac_11j.o to Makefile.files  (case 30569)

 

Version 1.4

Corrected bug in NAMCWait which declared the timer handle to be static, thereby making it possible for one thread to alter the variable while a second thread is using it if both threads call into the function simultaneously.

Corrected dialog behavior when APP_USE_NETWORK_TIME_PROTOCOL was TRUE and the primary NVRAM SNTP address was 0.0.0.0.   In that case, the dialog never displayed the SNTP addresses and the operator would not know they can update it at that time.

Fixed incorrect size used in memcpy call in na_pton.

 

Version 1.5

Changed the receive gain table for airoha chips.

Version 1.6

Implemented max gain control to improve receive sensitivity.

Version 1.7

Fix to update the status when we set the tx power.  wln_get_status was not returning the correct value for tx power.

 

Version 1.8

Fixed alignment issue in MacBuffer that could cause Wi-Fi to crash when using Green Hills Tools.

 

Version 1.9

Fix for Ethernet receive stall after a soft reset under heavy network load on ARM9 based chips. Case: 29694
Masked off interrupt for 9215 & 9210. This is needed since the hardware doesn't handle heavy nesting of interrupts correctly. Case: 30345

Version 2.0

Implemented automatic adjustment of the MAX AGC setting based on the receive strength of received frames. 

Added firmware to enable the second DC block HP bit in the transceiver.  Case 31462.

 

Version 2.1

Wireless change that will wait for an ack after sending a probe_response before setting the tx state to idle.

Moved min and max from fwtypes.h to minmax.h.   Define was causing build errors in C++ when using STL containers; vector, map and string. Case 31471.

Version 2.2

Fixed problem where data overflow error was occurring when the camry serial driver is flow controlled. When the driver receives a XOFF it disables the transmitter, at this time it is unable to send XOFF to the peer if need be, resulting in data overflow. Case: 31720

Updated readme files to match FIM Application Kit H/W Reference.

Fixed Pll clk calls and updated FIM code in onewire driver.

Updated FIM1 1WIRE and FIM0 UART settings in bsp_iop.h for 9210 based platforms.

Fixed tx fifo underrun problem on Connectcorewi9c_a.

FPGA file modified to utilize the 4096 byte depth of the recv fifo on Connectcorewi9c_a.
Fixed tx fifo reset problem on piper with new macassist code
Changed RF register 0xC's setting from 0xA3 to 0x2B for al7230
Limited Connectcorewi9p9215 operational max PSK/CCK power to 16dbm

 

Version 2.3

Moved naValidateIpv6Information to nainet.c, renamed validateIpAddress to naValidateIpAddress, Updated API Reference to add documentation to naValidateIpv6Information (case 31920)

Fixed a problem caused when there was a low heap situation. (case 31856)

Changed the MAX_CODE_SIZE for the WiEM, WiSP, WiEM9210, and CCWi9P9215 platforms to 3.5M.  Note that all these platforms already have the  APP_MAX_SIZE_IN_FLASH set to 1856K.  It's only natural that the MAX_CODE_SIZE (in RAM) should be about double the SIZE_IN_FLASH due to the compression mechanism. (case 31850)

Now checking the NVRAM backup copy once, every time the unit comes up, to address the possibility of a corrupted/stale backup sector.  (case 31747)

 

Version 2.4

Updated file system interface files to use an event flag instead of polling for the result to speed up file transfer. (case 32017)

Version 2.5

Corrected a problem that could cause the I2C bus to hang if a reset is issued during active I2C communications. (case 32488)
Corrected a problem with size check when downloading backup image, and increased the backup image size in the ConnectME and ConnectME9210 to 512K.  (case 32530)

 

Version 2.6

Set RTC device count to 0 in all ARM7, ns9750 and ns9210 based platforms. (case 32478)

Fixed a problem in the Ethernet driver.  The stack can sometimes send the driver Ethernet packets that are spread out across more than one buffer.  Apparently this happens a lot when using IPSEC, and often 3 buffers are sent for a single packet. The driver was not handling that well, and was getting confused.

Fixed customer reported rounding error in NATimerPeriod2Raw.  Error was about (5/100) of one percent. (case 32430)
Fixed a memory leak in firmware download process. (case 32636)

Fixed problem with lock mechanism in spimaster routine.

 

Version 2.7

Wireless Updates

Now allow duty cycling while scanning.

Added LINKUP and LINKDOWN events. Updated mwifimac for LINKUP and LINKDOWN event and added naWlnSetEvent for wpa to setup linkup/linkdown event and startMultiScan for multiple channel mask scan.                                        

Added naEkahauSetBatteryCallback prototype and naEkahauSetStatusCallback API.

Added naWlnIsWirelessUp function to see whether wireless is ready to transmit. We now make a call to naWlnIsWirelessUp if no LINKUP event is received from the wifi driver to verify wifi is up before sending ELP.

wlnNullFramePtrPS and wln_make_null_frame_ps are added for background scans while staying associated.  The unit sends a NULL frame with the power-save bit set, so that the AP knows to buffer data for us. The unit sends a NULL frame with the power-save bit clear when the scan is done.                   
Multipath problem fixed by resetting the transceiver before changing channels.

Fixed problem when in A band and in ad-hoc mode that caused the unit to send out tons of RTS.

Fixed (Authentication type = WEP (802.1x))

Fixed a bug that was causing units to occasionally skip association to the nearest AP because the MacTimer() wasn't allowing enough time for a beacon to come in before it tried the next AP.                                                       

 

Version 2.8

Wireless Updates

FPGA file updated, for connectcorewi9c_a platform.

For Al2236 transceiver -
Config 7 = RSSI = default value
Original Setting: 0x05B688
New Recommended Setting: 0x0A8688
Note that the Airoha-recommended setting is dependent on the supply voltage: 0x05B688 for 2.8v, 0x0E4688 for 3.0v. The Piper WiEm voltage is actually around 2.88v, so the new value is consistent with the Airoha-recommended values (between the two settings). (case 32800)
Serial Updates

The multiplexor that controls the output enable for gpio[29] is being controlled the control register for gpio[28]. The work around and limitation is that gpio[28] and gpio[29] must always be configured to the same functional mode. (case 1284328)

 

Version 2.9

Wireless Updates

Fixed problem that casued WiEM 9210 to crash when naPdSleep() was called. (case 33148)
Fixed problem where after waking up, the device did not detect it was disassociated from its AP (case 33149)
Changed wireless driver so that when we fail EAP FAST authentication two times in a row, we will delay 1 minute before trying again.  We do this because the EAP FAST negotiation is CPU intensive and interferes with other processes. (case 33239)

 

Documentation Updates
Last updated 11/12/09

Version 1.0
Updated naUsbDevQueue regarding zero-length packets.

 

Version 1.1
Added support for IPv4 filtering.

 

Version 1.2

Updated USB Host error codes.

Updated getaddrinfo and ethernet multicast in bypass mode.

 

Version 1.3

Corrected description of serial and SPI signals.

 

Version 1.4

Added new API naIpsecIkeSendSaLifetimes which lets users determine if SA lifetime information should be included in the initial IKE message.

 

Version 1.5

Updated information exception codes.

 

Version 1.6

Updated information on IPv4 automatic collision detection.

 

Version 1.7

Added an API that allows users to install callback functions which are invoked by the kernel whenever it enters an idle state, or switches to a new thread.

Version 1.8

The following white papers have been added to the Documentation Updates for NET+OS 7.4.2.  They can be found under the Documentation\white_papers directory in your NET+OS 7.4.2 installation tree.

Application Note: Ajax programming using Digi’s Advanced Web Server
Application Note: Combining CLib and Native File System APIs
Application Note: Controlling Page Changes in AWS
Application Note: Creating SSL Certificates
Application Note: Javascript Forms Processing with AWS
Application Note: Using the Advanced Web Server
Application Note: Adding custom MIBs to NET+OS 7.x projects
Application Note: Real-time Device Monitoring Using AWS
Application Note: Accessing NET+OS's SNMP agent using MGSoft's SNMP management Software
Application Note: Enabling SNMPv3 Security Features in NET+OS V7.X
Application Note: Generating HTML content on the fly with AWS
Application Note: Adding DHCP options to NET+OS 7.x

Version 1.9

Updated API Reference for new link layer status callback flag for serial link down (PPP_LL_LINK_DOWN)

Added documentation to naValidateIpv6Information.

 

Version 2.0

Updated API Reference to clarify the usage of the NOR Flash functions.  These functions were shown available for all platforms but are not available on NAND-based platforms (CC9P 9360).  This is now clarified, plus some clean up indicating the topic is Flash and subtopic is either NOR or serial. Case 32268.

 

Version 2.1

Added LINKUP and LINKDOWN events. Updated mwifimac for LINKUP and LINKDOWN event and added naWlnSetEvent for wpa to setup linkup/linkdown event and startMultiScan for multiple channel mask scan.                                         

Added naEkahauSetBatteryCallback prototype and naEkahauSetStatusCallback API.

Added naWlnIsWirelessUp function to see whether wireless is ready to transmit.

wlnNullFramePtrPS and wln_make_null_frame_ps are added for background scans while staying associated.

 

FileSystem Updates

Last updated 09/04/09

 

Version 1.0

Fixed a crash when issuing FTP get command twice for a non-existent file name on a NAND flash file system. Case 31491.

 

Version 1.1

Fixed NULL pointers. Case 31558.

 

 

Flash Updates

Last updated 08/26/09

 

Version 1.0

Added support for M29W640GH flash parts.

 

 

FTP Updates

Last updated 08/05/09

 

Version 1.0

Fixed a problem where we returned the wrong error when select times out due to no data on the data socket. (case 31281)

 

 

PPP Updates

Last updated 11/02/09

 

Version 1.0

Changed PPP read thread to wait on serial select() for incoming read data instead of polling the serial driver for read data. (case 29900)
Fixed error where fd=0 was not allowed, causing an error whenever we wrapped around after 128 sockets were used. (case 30832)

 

Version 1.1

Fixed a race condition in PPPCloseInterface().

 

Version 1.2

Added new link layer status callback flag for serial link down (PPP_LL_LINK_DOWN)

Passed the new status to application level so that it can close the session gracefully, and updated the application files to handle this condition.

Updated API Reference (case 31873)

 

Version 1.3

Reworked a condition check in PPPCloseInterface() that hits when close is called before open completes. This check was incorrectly determining the interface state based on the current PPP link level state.



Realport Updates

Last updated 05/26/09

 

Version 1.0

A pointer to the realport configuration structure is passed as a parameter to a threads operation function which uses that pointer to create another thread. If the configuration structure is a local variable on the stack, we have a problem after the first call returns. The solution is to save a copy of the configuration structure when RealPortStartServer is called.  Case 30485

 


SNMP Updates
Last updated 01/28/10

Version 1.0
Calls to function naSnmpGetSysName() fail consistently with a return code of NA_SNMP_NO_MEMORY due to a typo in the source code. The function now returns NA_SUCCESS on success and NA_SNMP_NO_MEMORY on failure. (case 30083)

Added fflush() after fputs() to flush out the STDOUT writes in the SNMPv3 example apps CLI.

 

Version 1.1

Applied fixes to handle large sub ids while processing get requests, and for handling requests with bad lengths.

Applied changes for conceptual tables.

 

Version 1.2

Applied fixes to prevent failures while adding V3 Users. (case 30940)

Added namib3 example application.

Fixed write access in nasnmpv3 example application.

 

Version 1.3

Added fix from Treck to return the correct security level in a NotInTimeWindow SNMP report. (case 29818)

 

Version 1.4

Fixed viewing USM table and several other SNMPv3 tables. (case 31929)
Fixed adding users before SNMP agent has started. (case 31941)

 

SSH Updates

Last updated 01/27/10

 

Version 1.0

This change fixes a memory leak in ssh_connection_receive_channel_request().

 

Version 1.1

This change sets the TCP_NODELAY flag on all sockets that it opens.  The nassh example application has also been updated with this change. (case 32879)

 

 

SSL Updates

Last updated 08/26/09

 

Version 1.0

This change fixes a memory leak when using naSslNgConnect.  About 1500 bytes of memory would be lost every time we made a client connection.  (case 30656)               

 

Version 1.1

Updated https_daemon function to start tls_server_http with correct variable and thread.   After the maximum tls_server_http threads had been started, it sometimes reset incorrect connection info and restarted the tls_server_http thread. Case 31362.

 


TCPIP Updates
Last updated 12/14/09

Version 1.0
Added support for IPv4 filtering.

Disabled interrupts around recvEventEntryPtr->eventCount in notifyInterfaceIsr. This fixed synchronization of receive event count for Ethernet.

Added code to clean up after an Ethernet or wireless driver could not send it.

In Ethernet code just added statistics counters that are normally #ifdefed out.

In TCP benchmark, moved WSACleanup to the end and added a second delay to let the TCP connection to close gracefully before WSACleanup to avoid connection resets with slow connections. Case 30288.

Fixed PPP issue that allowed packets to be routed after interface was closed. (case 30789)

 

Version 1.1

Added support for the AI_PASSIVE flag in getaddrinfo. This applies to GNU only.

Aligned Ethernet receive DMA buffer descriptors on 32 byte boundary. (case 30848)


Version 1.2

Fix for naIamRelease not restarting DHCP. (case 30553)

Added new API naIpsecIkeSendSaLifetimes which lets users determine if SA lifetime information should be included in the initial IKE message. (case 32302)

Corrected problems in naipsec_ike example application that prevented it from setting its network address correctly, and made it easier for users to set the VPN peer IDs of both the local device and the remote device.  (case 32303)

 

Version 1.3

Include fix from Treck to address IPv6 Ready Logo failure for Test v6LC.1.2.10: "Unrecognized Routing Type - Intermediate Node" (case 32490)


Threadx Updates
Last updated 09/16/09

Version 1.0

Added an API that allows users to install callback functions which are invoked by the kernel whenever it enters an idle state, or switches to a new thread.

 

USB Host Updates
Last updated 08/26/09

Version 1.0

Added the ability to send data on an interrupt endpoint from a USB host to a USB device.

 

 

Utility Updates
Last updated 10/18/09

Version 1.0

NET+OS Programmer

The default password has changed - support the new password, as well as the former for backwards compatibility

A failure was reported when configuring a static IP address. (case 29906)

Version 1.1

SMIDUMP.EXE

Fix for MIB compiler generating code with the wrong index. (case 27535)

 

Version 1.2

Updated NetosProg_ReadMe.html.

 

Version 1.3

Replaced corrupted netosprog.exe file.  Could cause a crash when run.

 

 

WebServer and Email Updates
Last updated 02/05/10

Version 1.0

Email
Added authentication failure string, and made MCGetSmtpAuthentication call for supported authentication.

 

Advanced Web Server

Added code to ensure that files are closed successfully before clearing the file handle. (case 30048)

 

Version 1.1

Advanced Web Server

Fixed error in process that would cause a POST request to be rejected if Content-Length was 0.  (case 31003)

 

Version 1.2

Corrected return values when calling ipaddrcmp and sysaccess_handle.
Made RpHandleUserExit call in RpFindUrl instead of calling RpExiternalCgi and RpHandleCgiResponse to make sure the connection state gets updated. (case 32258)

 

Version 1.3

Changed NAFS_ZERO_OFFSET_ERASE to NAFS_RANDOM_WRITE to correct a problem when using NAND flash. (case 32376)

Version 1.4

Set and save DHCP to TRUE when DHCP is selected and set and save DHCP to FALSE when static is selected. (case 32436)

 

Version 1.5

Fixed the problem where SMTP authentication fails on CRAM MD5 if the password contains the number 6 or \. (case  33111)