BSP Updates – NET+OS 7.1

 

 

 

Last Updated: 04/04/11         Fix Count: 18

 

 
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 
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 
Core dump facility inaccurate
 
Case:  25428
 
Date Fixed:  04/28/08
 
Description
Error handling routines in ARM7 platforms were not working properly with the core dump facility resulting in inaccurate register info being displayed.
 
Solution 

Changed the CoreDump facility so that the PC reported is the one where the error occurred, not the PC of the exception handler.

 

 
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
NS7520 project failure
 
Case:  23026
 
Date Fixed:  06/13/07
 
Description
After creating a new project using the defaults and the NS7520 platform, the application will fail trying to run FSSInit.
 
Summary  
Changed the FILE_SYSTEM_SIZE define to 512K.  This reduces the maximum size of the application which leaves enough space for the file system.
 
 
Title
Update for DST
 
Case:  22262
 
Date Fixed:  06/05/07
 
Description
DST Update
 
Summary  
Made modification to select DST by Time Zone.
 
 
Title
ADDP causes exception when BSP_WANT_ETHERNET is disabled
 
Case: 22272
 
Date Fixed: 05/23/07
 
Description
If there is no Ethernet interface enabled and netosStartTCP is called (which ends up starting the ADDP server thread), the unit will hit an exception and reboots.
 
Solution

Disable ADDP if both Ethernet and wireless are not used.

 
 
Title
ConnectCore 7U using wrong serial port for COM1
 
Case: 22712
 
Date Fixed: 03/26/07
 
Description
No serial output on DB9.
 
Solution
Modified simpleserial.c to correctly use PORTC for COM1.
 
 
Title
ConnectCore 7U uses wrong MAC Address during TFTP/DHCP
 
Case: 21781
 
Date Fixed: 03/23/07
 
Description
When the ConnectCore 7U rom,bin bootloader performs TFTP or DHCP, the MAC address used on outgoing packets is incorrect.  It is the default MAC address as opposed to the one programmed in NVRAM.
 
Solution
Corrected ConnectCore 7U's bootloader so it is built with the i2c eeprom driver.
 
 
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.
 

 

Files:  

Netos\h\reg_def.h

netos\h\watchdog.h

            netos\src\bsp\bootloader\romimage\rommain.c

netos\src\bsp\common\blExe_arm9.s

netos\src\bsp\customize\boardParams.c

netos\src\bsp\customize\iamParams.c

            netos\src\bsp\customize\errhndlr.c

netos\src\bsp\customize\dialog.c

            netos\src\bsp\devices\net_50_20\serial\simpleserial.c

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

            netos\src\bsp\devices\common\nvram\narmnvrm.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_hw.c

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

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

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

netos\src\bsp\init\arm7\INIT.s

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\*\bsp.h

            netos\src\bsp\platforms\ns7520_a\customize.ldr (GNU only)

            netos\src\bsp\platforms\ns7520_a\customize.lx (GHS only)

netos\src\bsp\platforms\connectcorewi9c_a\bbfw.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:\netos71_gnu\.
  • 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_71

 

Dependencies

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

None