Contents
- LwIP TCP/IP stack demonstration for STM32F4x7 microcontrollers update History
- License
LwIP TCP/IP stack demonstration for STM32F4x7 microcontrollers update HistoryFor more details about the available applications, please refer to "AN3966 LwIP TCP/IP stack demonstration for STM32F4x7 microcontrollers" available for download from the STMicroelectronics website at www.st.com
V1.1.0 / 31-July-2013
Main
Changes
- Add support for STM32427xx/437xx devices
- Use latest version of LwIP v1.4.1, FatFS vR0.09 and STM32F4xx HAL & BSP drivers
- Several enhancements (more details in next sections below)
- STM32F4x7 Ethernet driver enhancement (for more details, refer to the corresponding release notes)
- Fix MAC/DMA register access limitation
- Manage Ethernet cable connection/disconnection
- Manage multi-segment packet
- Check possible memory leakage issues
- Use precise time delay (routines based on Systick, defined in the examples code) in Ethernet driver instead of delay loops
- Decrease
NVIC priority of Ethernet interrupt to ensure that all NVIC interrupts
have a lower priority than FreeRTOS interrupt priority
- Project
- stm32f4x7_eth_bsp.c
- The Systick interrupt is configured with highest priority
- After MAC configuration, PHY register is read then we check for Ethernet link status
- Eth_Link_EXTIConfig(): Eth_link interrupt is configured with a lower priority than the Systick
- Eth_Link_ITHandler(): set the Eth_link up or down when an EXTI interrupt occurs (for FreeRTOS examples this function is implemented as a task)
- Add new function ETH_link_callback() called by LwIP stack when the Eth_link status changes, this callback handle all Ethernet cable connection and disconnection
- Include "opt.h""file for LwIP options configuration
- netconf.c
- LwIP_Init(): update Ethernet cable connection/disconnection management
- In
FreeRTOS demonstrations the DHCP task is no longer deleted once the IP
address is assigned, because it's needed to re-assign the IP address if
the cable is unplugged and plugged again
- DHCP status are changed from enum in netconf.c to defines in netconf.h
- LwIP Ethernet Interface (ethernetif.c)
- low_level_init(): do not set the Eth_link up since the PHY is not configured in this state
- low_level_output(): the process of copying data from LwIP buffers to TX buffers is changed to support multi segments packets
- low_level_input(): the process of copying data from RX buffers to LwIP buffers is changed to support multi segments packets
- Include "opt.h" file for LwIP options configuration
- Fix Interrupt issue for FreeRTOS Ethernet driver
Contents
Development Toolchains and Compilers
- IAR Embedded Workbench for ARM (EWARM) toolchain V6.50 + ST-Link
- RealView Microcontroller Development Kit (MDK-ARM) toolchain V4.60 + ULINK
- Raisonance IDE RIDE7 (RIDE) toolchain (RIDE7 IDE:7.40, RKitARM for RIDE7:1.48) + Rlink Pro
- Atollic TrueSTUDIO toolchain V4.0.0 + ST-LINK
- TASKING VX-toolset for ARM Cortex-M V4.4r1 + ST-LINK
Supported
Devices and EVAL boards
- STM32F407xx/STM32F417xx devices and STM324xG-EVAL board
- STM32F427xx/STM32F437xx devices and STM324x7I-EVAL board
Known Limitations
V1.0.0 / 31-October-2011Main
Changes
- First official release for STM32F4xx devices
Contents
Known Limitations
- In the examples based on FreeRTOS, the FPU is disabled since current version of FreeRTOS does not support
yet Cortex-M4 with FPU enabled. In addition there is no official
support for Cortex-M4, this package is based on Cortex-M3 port
drivers.
Development Toolchains and Compilers
- IAR Embedded Workbench for ARM (EWARM) toolchain V6.21.3 + J-Link
- RealView Microcontroller Development Kit (MDK-ARM) toolchain V4.22 + ULINK
- Raisonance IDE RIDE7 (RIDE) toolchain (RIDE7 IDE:7.34, RKitARM for RIDE7:1.36) + Rlink Pro
- Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain V2.2.0 + ST-LINK
- TASKING VX-toolset for ARM Cortex-M V4.0r1 + ST-LINK
LicenseLicensed
under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use
this package
except in compliance with the License. You may obtain a copy of the License
at:
Unless
required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the
License.
For
complete documentation on STM32 Microcontrollers
visit www.st.com/STM32
|