BSP Updates – NET+OS 7.0

 

 

 

Last Updated: 04/06/11         Fix Count: 23

 

 
Title 
Serial driver flow control change
 
Case:  internal
 
Date Fixed:  04/04/11
 
Description
The NET+OS serial driver was initialized to use SW flow control during driver loading.  This could halt the transmitter if it receives a serial data frame with 0x13 in it.
 
Solution 

NET+OS serial driver modified to come up with no flow control.

 

 
Title 
Connect Wi-ME fails to authenticate after factory default
 
Case:  36555
 
Date Fixed:  12/29/10
 
Description
As soon as the CPU utilization goes down (i.e. after key generation), upon a hard reset, the WI-ME will begin authenticating again (a soft reset does not fix the problem).
 
Solution 

Fixed InitTimer() to ensure delays between radio accesses.

 

 

Title

Timer fault

 

Case:  30793

 

Date Fixed:  06/05/09

 

Description

It is possible for one thread to alter the timer handle variable while a second thread is using it if both threads call into the function simultaneously.

 

Solution

Corrected bug in NAMCWait which declared the timer handle to be static.

 

 

Title

SD Driver Updates

 

Case:  27599/28537

 

Date Fixed:  01/24/09

 

Description

Updates to make driver SD spec 2.0 compliant

Updates to support high capacity SD cards

 

 

Title

Connectcorewi9c_a FPGA Update

 

Case:  internal

 

Date Fixed:  12/24/08

 

Description

Addresses TX FIFO reset problem which we experienced during WEP AND TCPIP data transfers.

 

Solution

New FPGA for Connectcorewi9c_a platform.

 

 

Title

Connectcorewi9c_a UBEC calibration

 

Case:  internal

 

Date Fixed:  11/21/08

 

Description

Adjustments to UBEC TX power on Connectcorewi9c_a modules.

 

Solution

o New FPGA will set default B_TX_GAIN to be 0xA0000000 at register 0x28
o New FPGA will allow B_TX_GAIN to be change-able at register 0x28
o Limit TX power to 10 for B_ONLY operation in wifi driver
o Default the board parameter's tx_power field to 10

 

 

Title

HW register definitions added

 

Case:  1248414

 

Date Fixed:  05/14/08

 

Description

Some register definitions described in the HW Reference were missing from reg_def.h.  This could cause the example app naexternalirq to fail.

 

Solution

Ported additional register definitions back from the CVS tip.

 

 

Title

BSP_WATCHDOG_TIMEOUT_IN_SECONDS not supported on NS7520 platforms

 

Case:  25857

 

Date Fixed:  04/02/08

 

Description

The watchdog timer is not easily configurable on NS7520 based platforms.

 

Solution

Added new function watchdogTimeoutInMilliseconds that returns the watchdog timeout period.

 

 

Title

Timer error corrected – ARM7 only

 

Case:  25829

 

Date Fixed:  03/20/08

 

Description

The terminal count for NS7520 and NET-50 style timers was not being calculated correctly. 

 

Solution

Updated the code to fix the problem.  Checked to verify that the ARM9 based processors do not add an additional tick to the count, and so do not have this problem.

 

 

Title

ConnectCore Wi-9C WiFi update

 

Case:  internal

 

Date Fixed:  09/11/07

 

Description

Register changes and FPGA update

 

Solution

Update RF registers according to UBEC programming guidelines, remove ConnectCore Wi-9C transmit power limit, turn on RF power bit in GEN_INIT which was inadvertently turned off, and update to latest FPGA version 2.03

 

 

Title

DHCP Options not handled correctly

 

Case:  23754

 

Date Fixed:  08/01/07

 

Description

Outgoing DHCP request packets could contain DHCP options whose last two options were incorrectly set to 0 (zero), instead of the actual options that were set by the program.

 

Solution

File src\bsp\customize\iamParams.c has a bug in function customizeIamGetDefaultEthernetConfig. When the table of DHCP options iamnDHCPOptions (File src\bsp\customize\iamParams.c) is copied into the config structure's buffer, the wrong length field was used in the memcpy call. The length field placed into the config structure is not supposed to contain the first two bytes, namely 55 (DHCP options list coming) and the number of options in the list. But when copying the list into the buffer, the length used in the memcpy MUST contain those two bytes. By using length_of_the_array - 2 in the memcpy, the last two options were left out. Using a protocol analyzer, you'd see two options of 0 (zero) at the end of the list).

 

*** NOTE *** Replace file \bsp\customize\iamParams.c with the iamParams.c contained in the patch. You MUST now rebuild your BSP. When done, you MUST rebuild your application. Download your application into your device. Last you MUST reset to factory defaults in order for the changes to take effect.

 

 

Title

GPIO cleanup

 

Case:  23360

 

Date Fixed:  06/25/07

 

Description

Errors in the #defines in bsp/devices/ns9xxx/ns9360/gpio/gpio.c could cause problems with several GPIO pins.

 

Solution

Corrected errors affecting pins 11, 65, 68, 69, 70, and 71

 

 

Title

Update for DST

 

Case:  22262

 

Date Fixed:  06/05/07

 

Description

DST Update

 

Summary 
Made modification to select DST by Time Zone.

 

 

Title

Software reset flag not set correctly

 

Case: 20554

 

Date Fixed: 03/22/07

 

Description

The code was using the wrong register to store the flag that notified ncc_init when a software reset had occurred.

 

Solution

Corrected logic to use register designated for ARM9 processors.

 

 

Title

SPI support on Conncectcore_9c limited to serial port B 

 

Case: 1221300

 

Date Fixed: 11/29/06

 

Description

The gpio.h files for platforms connectcore9c_a and connectcorewi9c_a were missing serial port configurations that were supported by the ns9360_a platform. Since the connectcore9c_a and the connectcorewi9c_a are based on the ns9360 chip, this portion of the BSP should have been the same. To a customer, this defect would make it appear that the ConnectCore 9C (V6.3, V7.0) and the connectCore Wi-9C (V7.0) supported SPI mode on port B only. This is in error. SPI mode is supported on ports A - D.

 

Solution

Corrected gpio.h to support SPI on ports A - D    Replace your existing gpio.h file with this new one. Any modifications you might have made to the shipping version of gpio.h will have to be merged into this updated file.

 

 

Title

Ethernet transmit stops in ARM9 Green Hills builds

 

Case: 19861

 

Date Fixed: 11/14/06

 

Description

Ethernet transmit stops under Green Hills on ns9360 and ns9750.

 

Solution

The NS9360 and NS9750 transmit buffer descriptors must not be cleared by memset to 0, because they are located in on-chip RAM which does not support write burst, but memset in Green Hills uses multiple register access.

 

 

Title

Wireless parameters lost when upgrading to NET+OS 7.0

 

Case: 19767

 

Date Fixed: 10/27/06

 

Description

Changes in wireless parameters between NET+OS versions were not always detected, resulting in loss of some wireless parameters.

 

Solution

Corrected detection logic when determining wireless parameter format of pre-6.3 versions.

 

 

Title

Wireless unit hangs

 

Case: 19623

 

Date Fixed: 10/03/06

 

Description

Wireless unit hangs when frame rate is below the lowest basic rate.

 

Solution

Updated FPGA firmware.

 

 

Title

Last DHCP option not processed

 

Case: internal

 

Date Fixed: 09/21/06

 

Description

Additional pad byte would cause index to be offset and last option not to be processed. 

 

Solution

Removed unintended one byte pad in default DHCP options field.

 

 

Title

TxPower settings lost

 

Case: internal

 

Date Fixed: 09/22/06

 

Description

TxPower settings corrupted on upgrade.

 

Solution

Corrected handling of default setting of TxPower on upgrade.

 

 

Title

NVRAM setting lost on upgrade

 

Case: 19539

 

Date Fixed: 09/12/06

 

Description

Upgrading from prior wireless releases causes loss of prior non-volatile settings.    

 

Solution

Corrected handling of board MAC address in wln_params.sta_addr.

 

 

Title

Digi Connect EM platform incomplete

 

Case: internal

 

Date Fixed: 08/31/06

 

Description

Some modifications were inadvertently missed in the Digi Connect EM platform.

 

Solution

Ported changes to the Digi Connect EM platform.

 

 

Title

fopen failure.

 

Case: 19744

 

Date Fixed:  10/27/06

 

Description

fopen fails when called with ‘w’ or ‘w+’ and file does not already exist.

 

Solution

Corrected issue in fopen logic.  File will be created if it does not exist.

 

 

Files:  

netos\h\wln\wln_api.h

netos\h\boardParams.h

netos\h\reg_def.h

netos\h\spi_mmc.h

netos\h\watchdog.h

netos\lib\arm9\32b\ghs\libspimmc.a

netos\lib\arm9\32b\gnu\libspimmc.a

netos\src\bsp\common\nafs_intf.c

netos\src\bsp\common\blExe_arm9.s

netos\src\bsp\customize\iamParams.c

netos\src\bsp\customize\boardParams.c

netos\src\bsp\customize\dialog.c

netos\src\bsp\devices\common\ethernet\eth_send.c

            netos\src\bsp\devices\common\serial\mercury_serl.c

            netos\src\bsp\devices\common\serial\netos_serl.c

            netos\src\bsp\devices\common\serial\sp_serl.c

netos\src\bsp\devices\common\timer\timer.c

netos\src\bsp\devices\common\wifimac\mac_hw_wi9c.c

netos\src\bsp\devices\common\wifimac\mac_api.h

netos\src\bsp\devices\common\wifimac\mac_drv.c

netos\src\bsp\devices\common\wifimac\mac_ccmp.c

netos\src\bsp\devices\common\wifimac\mac_ir.c

netos\src\bsp\devices\common\wifimac\mac_mgmt.c

netos\src\bsp\devices\common\wifimac\settings.cc

netos\src\bsp\devices\common\wifimac\mac_data.c

netos\src\bsp\devices\common\wifimac\mac_hw.c

netos\src\bsp\devices\common\wifimac\mac_rate.c

netos\src\bsp\devices\common\wifimac\mac_tkip.c

netos\src\bsp\devices\common\wifimac\wln_api.c

            netos\src\bsp\devices\net50_20\watchdog\watchdog.c

netos\src\bsp\devices\ns9xxx\common\watchdog\watchdog.c

netos\src\bsp\devices\ns9xxx\ns9360\gpio\gpio.c

            netos\src\bsp\init\arm9\INIT.arm

            netos\src\bsp\init\arm9\NCC_INIT.c

            netos\src\bsp\init\arm9\nawait.c

netos\src\bsp\platforms\connectcorewi9c_a\bbfw.c

netos\src\bsp\platforms\connectcore9c_a\gpio.h

netos\src\bsp\platforms\connectcorewi9c_a\gpio.h

netos\src\bsp\platforms\connectem\cs.c

netos\src\examples\naexternalirq\root.c

netos\src\treck\source\ossupport\selectext.h

 

Special Instructions

 

  • Unzip the patch(es) to the root of your NET+OS installation, for example C:/netos70/.
  • Be sure to install any patches listed under Dependencies below
  • Rebuild your BSP.
    1. GNU Users Only -From the root of your NET+OS installation execute  - make PLATFORM=<your platform> clobber
    2. GNU Users Only -From the root of your NET+OS installation execute  - make PLATFORM=<your platform> clean all
    3. GHS Users – Clean and rebuild your BSP
  • Rebuild your application.

 

Patch Link:  BSPUpdates_70

 

Dependencies

This patch also requires the installation of the following patch(es):

None