From cf70838744c6b4bc631efadf86007c3b4a812cf1 Mon Sep 17 00:00:00 2001
From: patacongo Last Updated: December 6, 2010 Last Updated: December 12, 2010 nuttx-5.14 Release Notes:
+ nuttx-5.15 Release Notes:
- This 61st release of NuttX, Version 5.14, was made on November 27, 2010 and is available for download from the
+ This 62nd release of NuttX, Version 5.15, was made on December12, 2010 and is available for download from the
SourceForge website.
The change log associated with the release is available here.
Unreleased changes after this release are available in CVS.
These unreleased changes are listed here.
- This release includes multiple, important bugfixes as well as a new driver for the NXP LPC1766.
- Important bugfixes include:
+ This release includes several bugfixes as well as feature enhancements, primarily for the Olimex LPC1766-STK board.
+ Important bugfxes included:
@@ -772,57 +772,63 @@
-
NuttX RTOS
-
send()
sends out packets before a previous packet has been acknowledged.
- Some of that send() logic was incompatible with logicin the uIP layer.
- Errors seen include:
- (1) The final final packet in a sequence of packets might be too large!
- In the THTTPD example, this might leave some garbage at the bottom of the display.
- Or (2) send()
might hang with outstanding, unacknowledged data (and with no re-transmission requests).
- This was due to differences in sequence number handling in send()
and in uip_tcpinput.c
;
- uip_tcpinput.c
thought (incorrectly) that all of the bytes were acknowledged;
- send.c
knew that they were not.
- send()
logic, now checks if the destination IP address is in the ARP table before sending the packet;
+ an ARP request will go out instead of the TCP packet.
+ This improves behavior, for example, on the first on the first GET request from a browser
+
- Additional support has been included for the Olimex-LPC1766. - Support for that board was added to NuttX 5.13. - This release extends that support with an Ethernet driver. - Verified configurations are now available for the NuttX OS test, - for the NuttShell (NSH, see the NSH User Guide), - for the NuttX network test, and for the THTTPD webserver. - (Additional USB configurations are in the release as well, but those have not yet been verified). - Goals for NuttX-5.15 (and beyond) include: (1) Verified USB support, (2) SD card support, and (3) LCD support. -
-- Additional changes and bugfixes as detailed in the ChangeLog. + And feature enhancements: +
cmddata()
method to the SPI interface.
+ Some devices require an additional out-of-band bit to specify if the next word sent to the device is a command or data.
+ The cmddata()
method provides selection of command or data.
+ -5.14 2010-11-27 Gregory Nutt+5.15 2010-12-12 Gregory Nutt <spudmonkey@racsa.co.cr> - * configs/olimex-lpc1766stk/nettest - Add examples/nettest configuration to - verify the LPC17xx ethernet driver currently under development. - * arch/arm/src/lpc17xx/lpc17xx_ethernet.c/.h - Began development of - the LPC17xx Ethernet driver. Driver in CVS functional after 2010-11-23. - * sched/timer_settime.c - Fix an error in set-up of a one-shot POSIX timer. It - was using the repititive timer value (which is zero in the one-shot case), - always resulting in a 10Ms timer! Found and fixed by Wilton Tong. - * arch/arm/src/lpc17xx/lpc17_vector.S, stm32/stm32_vector.S, lm3s/lm3s_vector.S, - sam3u/sam3u_vector.S -- Fixed a hard fault problem that can occur if certain - types of interrupts are pending at the time another interrupt returns - (SYSTICK). This has not been verified on all plaforms, but is a critical - fixed that is needed by all Cortex-M3 NuttX users. - * configs/olimex-lpc1766stk/thttpd - Add a THTTPD configuration for the - Olimex LPC2766-STK board. Verified successfully. - * net/uip/uip_tcpappsend.c - Correct an important logic bug in some uIP state - data the is used to manage retransmissions. The uIP logic was incompatible - with the retransmission logic of net/send.c in one place. The final error - was that the final packet in a sequence of packets was too large! In the - THTTPD example, this would leave some garbage at the bottom of the display - (or worse). I don't know why I haven't see this bug before??? - * net/uip/uip_tcpinput.c -- The change to uip_tcpappsend.c unmasked an - additional error in the TCP sequence number handling. This sympom was that - the send() function would hang with outstanding, unacknowledged data (with - no re-transmit requests). The was due to differences in sequence number - handling in send() and in uip_tcpinput.c; uip_tcpinput.c thought (incorrectly) - that all of the bytes were acknowledged; send.c knew that they were not. + * net/uip/uip_tcpaddsend.c and net/send.c -- Another place where the TCP sequence + number problem "fixed" in 5.14 might occur. + * net/send.c -- Check if the destination IP address is in the ARP table. If + not, then don't consider the packet sent. It won't be, an ARP packet will go + out instead. This improves behavior, for example, on the first GET request + from a browser. + * arch/arm/src/lpc17xx/lpc17_emacram.h and lpc17_allocateheap.c -- The Ethernet + logic was using all of AHB SRAM Bank0 for Ethernet packet buffers (16Kb). An + option was added to limit the amount of SRAM used for packet buffering and to + re-use any extra Bank0 memory for heap. configs/olimex-lpc1766stk/nettest + now uses only 8Kb at the beginning of Bank0; the 8Kb at the end of Bank0 is + included in the heap + * arch/arm/src/lpc17xx/lpc17_ssp.c -- Fix compilation errors when SSP1 is + selected. + * configs/olimex-lpc1766stk/nsh -- Enable network and SD/MMC card support in + NSH. Networking and telnetd interface as well as SPI-based microSD are + now functional. + * examples/nsh/nsh_netinit.c -- Fix NSH bug. If CONFIG_NET is selected, but + CONFIG_EXAMPLES_NSH_TELNETD is not selected, then the network is never + initialized and bad things happen if you try to ping. + * drivers/lcd -- Add header files for the Phillips PCF8833 LCD controller and + for the Epson S1D15G10 LCD controller. A driver for the Nokia 6100 LCD is + coming. + * include/nuttx/spi.h and almost all other SPI files -- Added an optional + cmddata() method to the SPI interface. Some devices require an additional + out-of-band bit to specify if the next word sent to the device is a command + or data. This is typical, for example, in "9-bit" displays where the 9th bit + is the CMD/DATA bit. The cmddata method provides selection of command or data. + * drivers/lcd/p14201.c -- Now uses the cmddata() method of the SPI interface. + * arch/arm/src/lpc17xx/lpc17_usbdev.c -- LPC17xx USB driver now appears to + to be fully functional. examples/usbstorage configuration verified (the + examples/usbserial configuration is untested). + * drivers/usbdev/usbserial.c and usbstorage.c -- All USB class drivers need + to call DEV_CONNECT() when they are ready to be enumerated. That is, + (1) initially when bound to the USB driver, and (2) after a USB reset. + * drivers/lcd/nokia6100.c -- A driver for the Nokia 6100 LCD. This driver + has not be verified as of the initial check-in. + * configs/olimex-lpc1766stk/nx -- A NX graphics configuration for the Olimex + LPC1766-STK board using the Nokia 6100 LCD driver. This configuration has + not been verified as of the initial check-in. + * include/nuttx/spi.h -- the SPI_SETBITS macro was calling the setmode method. + This is a very important bug-fix in some usages. pascal-2.0 2009-12-21 Gregory Nutt <spudmonkey@racsa.co.cr> @@ -1983,47 +2011,7 @@ buildroot-1.8 2009-12-21 <spudmonkey@racsa.co.cr> -nuttx-5.15 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> - - * net/uip/uip_tcpaddsend.c and net/send.c -- Another place where the TCP sequence - number problem "fixed" in 5.14 might occur. - * net/send.c -- Check if the destination IP address is in the ARP table. If - not, then don't consider the packet sent. It won't be, an ARP packet will go - out instead. - * arch/arm/src/lpc17xx/lpc17_emacram.h and lpc17_allocateheap.c -- The Ethernet - logic was using all of AHB SRAM Bank0 for Ethernet packet buffers (16Kb). An - option was added to limit the amount of SRAM used for packet buffering and to - re-use any extra Bank0 memory for heap. configs/olimex-lpc1766stk/nettest - now uses only 8Kb at the beginning of Bank0; the 8Kb at the end of Bank0 is - included in the heap - * arch/arm/src/lpc17xx/lpc17_ssp.c -- Fix compilation errors when SSP1 is - selected. - * configs/olimex-lpc1766stk/nsh -- Enable network and SD/MMC card support in - NSH. Networking and telnetd interface functional. Still testing SPI-based - SD/MMC. - * examples/nsh/nsh_netinit.c -- Fix NSH bug. If CONFIG_NET is selected, but - CONFIG_EXAMPLES_NSH_TELNETD is not selected, then the network is never - initialized and bad things happen if you try to ping. - * drivers/lcd -- Add header files for the Phillips PCF8833 LCD controller and - for the Epson S1D15G10 LCD controller. A driver for the Nokia 6100 LCD is - coming. - * include/nuttx/spi.h and almost all other SPI files -- Added an optional - cmddata() method to the SPI interface. Some devices require and additional - out-of-band bit to specify if the next word sent to the device is a command - or data. This is typical, for example, in "9-bit" displays where the 9th bit - is the CMD/DATA bit. The cmddata method provides selection of command or data. - * drivers/lcd/p14201.c -- Now uses the cmddata() method of the SPI interface. - * arch/arm/src/lpc17xx/lpc17_usbdev.c -- LPC17xx USB driver now appears to - to be fully functional. examples/usbstorage configuration verified (the - examples/usbserial configuration is untested). - * drivers/usbdev/usbserial.c and usbstorage.c -- All USB class drivers need - to call DEV_CONNECT() when they are ready to be enumerated. That is, - (1) initially when bound to the USB driver, and (2) after a USB reset. - * drivers/lcd/nokia6100.c -- A driver for the Nokia 6100 LCD. - * configs/olimex-lpc1766stk/nx -- A NX graphics configuration for the Olimex - LPC1766-STK board using the Nokia 6100 LCD driver. - * include/nuttx/spi.h -- the SPI_SETBITS macro was calling the setmode method. - This is a very important bug-fix in some usages. +nuttx-5.16 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> pascal-2.1 2010-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> diff --git a/ReleaseNotes b/ReleaseNotes index d208313380..26185ac8f3 100644 --- a/ReleaseNotes +++ b/ReleaseNotes @@ -1532,3 +1532,43 @@ for the NuttX network test, and for the THTTPD webserver. (Additional USB configurations are in the release as well, but those have not yet been verified. Goals for NuttX-5.15 (and beyond) include: (1) Verified USB support, (2) SD card support, and (3) LCD support. + +nuttx-5.15 +^^^^^^^^^^ + +The 62nd release of NuttX, nuttx-5.15, was mad on December 12, 2010. This +release includes several bugfixes as well as feature enhancements, primarily +for the Olimex LPC1766-STK board. + +Important bugfxes included: + + * Additional fixes needed with the TCP sequence number problem "fixed" in + nuttx-5.14. + * In the send() logic, now checks if the destination IP address is in the + ARP table before sending the packet; an ARP request will go out instead. + This improves behavior, for example, on the first on the first GET request + from a browser + * All USB class drivers need to call DEV_CONNECT() when they are ready to + be enumerated. That is, (1) initially when bound to the USB driver, and + (2) after a USB reset. + * The SPI_SETBITS macro was calling the SPI setmode method. + * And several other bug fixes of lower criticality (see the ChangeLog for + details). + +And feature enhancements: + + * The LPC176x Ethernet driver was using all of AHB SRAM Bank0 for Ethernet + packet buffers (16Kb). An option was added to limit the amount of SRAM + used for packet buffering and to re-use any extra Bank0 memory for heap. + * Enabled networking and SD/MMC card support in the Olimex LPC1766-STK + NuttShell (NSH) configuration. + * The LPC176x USB driver is now fully fully functional. + * Added an optional cmddata() method to the SPI interface. Some devices + require an additional out-of-band bit to specify if the next word sent + to the device is a command or data. The cmddata method provides selection + of command or data. + * A driver for the Nokia 6100 LCD (with either the Phillips PCF8833 LCD + controller and for the Epson S1D15G10 LCD controller) and an NX graphics + configuration for the Olimex LPC1766-STK have been added. However, + neither the LCD driver nor the NX configuration have been verified + as of the this release.