# iPerf project working on 10.4.1, not working on 202212.01

**URL:** <https://forums.freertos.org/t/iperf-project-working-on-10-4-1-not-working-on-202212-01/18544>\
**Category:** Libraries\
**Created:** [November 20, 2023, 9:37am UTC](https://forums.freertos.org/t/iperf-project-working-on-10-4-1-not-working-on-202212-01/18544 "2023-11-20T09:37:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![choonzone](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@choonzone](https://forums.freertos.org/u/choonzone)\
**Post date:** [November 20, 2023, 9:37am UTC](https://forums.freertos.org/t/iperf-project-working-on-10-4-1-not-working-on-202212-01/18544/1 "2023-11-20T09:37:31Z")

</div>

Hi, I have a iPerf project working completely fine in 10.4.1, but once I change the FreeRTOS 202212.01, although it can compile successfully, there is no ping reply or iPerf connection can be establish. I would want to attach the 2 configs, but is not permitted because I am a new user. Any place should I look at? Is there any API/ config change between these two versions?

---

<div class="post-metadata">

**Author:** ![htibosch](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/htibosch/32/62_2.png) [@htibosch](https://forums.freertos.org/u/htibosch)\
**Post date:** [November 20, 2023, 2:14pm UTC](https://forums.freertos.org/t/iperf-project-working-on-10-4-1-not-working-on-202212-01/18544/2 "2023-11-20T14:14:00Z")

</div>

Hello @choonzone,

AWS Moderators, operators, please allow @choonzone to attach files 🙂

It looks like you upgraded the FreeRTOS kernel. Did you FreeRTOS+TCP at the same time?

I think that your problem is **not** caused by a “wrong version” of the FreeRTOS kernel.

It is very difficult to guess what the cause is. I would like to see your network-related code and indeed, your `FreeRTOSIPConfig.h`

The [iperf 3.0 server](https://github.com/htibosch/freertos_plus_projects/blob/master/plus/Common/Utilities/iperf_task_v3_0f.c) worked well in any +TCP release. We always use it as one of the quality tests.

---

<div class="post-metadata">

**Author:** ![choonzone](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@choonzone](https://forums.freertos.org/u/choonzone)\
**Post date:** [November 20, 2023, 3:01pm UTC](https://forums.freertos.org/t/iperf-project-working-on-10-4-1-not-working-on-202212-01/18544/4 "2023-11-20T15:01:05Z")

</div>

I have forgotten to add I am using FreeRTOS and FreeRTOS Plus bundle. The project works in 10.4.1 but not the latest 202212.01

---

<div class="post-metadata">

**Author:** ![ydhuang](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/ydhuang/32/3763_2.png) [@ydhuang](https://forums.freertos.org/u/ydhuang)\
**Post date:** [November 20, 2023, 7:10pm UTC](https://forums.freertos.org/t/iperf-project-working-on-10-4-1-not-working-on-202212-01/18544/5 "2023-11-20T19:10:20Z")

</div>

Hi @choonzone, could you see if you could upload now? Let me know if you still can’t, I’ll try to fix it.

---

<div class="post-metadata">

**Author:** ![choonzone](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@choonzone](https://forums.freertos.org/u/choonzone)\
**Post date:** [November 21, 2023, 1:24am UTC](https://forums.freertos.org/t/iperf-project-working-on-10-4-1-not-working-on-202212-01/18544/6 "2023-11-21T01:24:16Z")

</div>

[freertosDemoIPerf-working-direct.zip](https://forums.freertos.org/uploads/short-url/i092Smsa4gTjZ5MK3mPQqSabUvJ.zip) (455.3 KB)

Hi @ydhuang , I can upload now. Thanks for the help.

Hi @htibosch , I have uploaded the project. Appreciate if you could take a look. 🙂

---

<div class="post-metadata">

**Author:** ![choonzone](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@choonzone](https://forums.freertos.org/u/choonzone)\
**Post date:** [November 21, 2023, 7:11am UTC](https://forums.freertos.org/t/iperf-project-working-on-10-4-1-not-working-on-202212-01/18544/7 "2023-11-21T07:11:33Z")

</div>

@htibosch I have tried various mix and match of FreeRTOS kernel and TCP version. I found out that it is not related to TCP version, as TCP from 202212.01 is working with 10.4.1 kernel. So the problem must come from certain kernel, I continue to test like this and conclude that the first kernel breaks the project is 10.5.0. Do you know which part of 10.5.0 kernel potentially breaks the code?

---

<div class="post-metadata">

**Author:** ![htibosch](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/htibosch/32/62_2.png) [@htibosch](https://forums.freertos.org/u/htibosch)\
**Post date:** [November 21, 2023, 7:29am UTC](https://forums.freertos.org/t/iperf-project-working-on-10-4-1-not-working-on-202212-01/18544/8 "2023-11-21T07:29:45Z")

</div>

First thank you very much for your effort getting into so much detail.

I looked at my own +TCP projects: the newest kernel that I tested with was 10.5.1

I haven’t tested with the 10.5.0 kernel yet, so I will do so now (on an STM32F747).

---

<div class="post-metadata">

**Author:** ![htibosch](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/htibosch/32/62_2.png) [@htibosch](https://forums.freertos.org/u/htibosch)\
**Post date:** [November 21, 2023, 3:28pm UTC](https://forums.freertos.org/t/iperf-project-working-on-10-4-1-not-working-on-202212-01/18544/9 "2023-11-21T15:28:31Z")

</div>

I do not see any problem with the FreeRTOS kernel 10.5.0, the behaviour is just the same as 10.5.1

In my experience, the kernel and the +TCP library are **very** independent: +TCP works with any kernel, starting with the older V8.1, the first version that had event groups.

Running iperf is quite a complex task. Can you do simpler things like ping your device. And can you show a PCAP in two situations:

1. when things go right
2. when things fail

A PCAP can be created with e.g. WireShark. You can zip the resulting file and attach it to your post.

Thanks
