Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

FreeRTOS + tcp Frame Check Sequence

Posted by friesen on June 11, 2018

I am using FreeRTOS + TCP.

Either I have something misconfigured, or there is some mishandling of a 64 byte minimum ack packet.

Wireshark flags tcp acks and fin, acks as having a Frame check sequence error. I think this is due to sending 0's for the last 4 bytes. I think that a FCS packet is minimum 64, and a non FCS is 60 perhaps? I can't find anything so far in the configuration that targets this issue.


FreeRTOS + tcp Frame Check Sequence

Posted by friesen on June 11, 2018

This post can be ignored, the ATWILC1000 is apparently padding these bytes internally.


FreeRTOS + tcp Frame Check Sequence

Posted by heinbali01 on June 11, 2018

In the sample projects, you will often find:

~~~

define ipconfigETHERNETMINIMUMPACKET_BYTES ( 60 )

~~~

The padded bytes will all be zero.

Several EMAC's ( like, apparently ATWILC1000 ), are able to padd bytes as well. In that case, you can keep ipconfigETHERNET_MINIMUM_PACKET_BYTES undefined.


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS v10.2.1 is available for immediate download. MIT licensed, includes 64-bit RISC-V, NXP Cortex-M33 demo, Nuvoton Cortex-M23 demo & STM32H745 dual core (AMP) demo.

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Cadence Tensilica Cortes

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Mediatek

Renesas

RISC-V

SiFIve RISC-V

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner