# Error writing AT parameter \> Port configuration not valid

**URL:** <https://forums.digi.com/t/error-writing-at-parameter-port-configuration-not-valid/28681>\
**Category:** XBee & XBee Gateway\
**Tags:** xctu, digimesh, xbee3, xbee\
**Created:** [December 5, 2023, 4:42am UTC](https://forums.digi.com/t/error-writing-at-parameter-port-configuration-not-valid/28681 "2023-12-05T04:42:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![acarrou](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@acarrou](https://forums.digi.com/u/acarrou)\
**Post date:** [December 5, 2023, 4:42am UTC](https://forums.digi.com/t/error-writing-at-parameter-port-configuration-not-valid/28681/1 "2023-12-05T04:42:56Z")

</div>

I tried maxing out the baud rate of my two xbees and I am getting this error. I see that there is another post about this [here](https://forums.digi.com/t/xbee-wi-fi-xctu-error-writing-at-parameter-port-configuration-not-valid/17696). I have the exact same issue as this person, but I cannot download the legacy tool because I am on an M2 mac. Is there another way to fix my radios easily such as a factory reset?

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [December 5, 2023, 1:20pm UTC](https://forums.digi.com/t/error-writing-at-parameter-port-configuration-not-valid/28681/2 "2023-12-05T13:20:21Z")

</div>

What is the exact part number you are working with?

What is the baud rate you are trying to set it to?

---

<div class="post-metadata">

**Author:** ![acarrou](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@acarrou](https://forums.digi.com/u/acarrou)\
**Post date:** [December 5, 2023, 10:38pm UTC](https://forums.digi.com/t/error-writing-at-parameter-port-configuration-not-valid/28681/3 "2023-12-05T22:38:24Z")

</div>

I am using the XBee 3 Module and tried setting it to the maximum possible baud which I believe was 921600. I should have stuck with 115200…

---

<div class="post-metadata">

**Author:** ![acarrou](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@acarrou](https://forums.digi.com/u/acarrou)\
**Post date:** [December 5, 2023, 11:30pm UTC](https://forums.digi.com/t/error-writing-at-parameter-port-configuration-not-valid/28681/4 "2023-12-05T23:30:51Z")

</div>

I was somehow able to connect to it on my windows at home and change the baud rate from there. Not sure if there is an issue with the MAC application but I’m glad it works again 🙂 I was also not able to install the legacy version of x-ctu and this was because I didn’t have the right runtime installed so not sure what runtime it needed.

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [December 6, 2023, 1:13pm UTC](https://forums.digi.com/t/error-writing-at-parameter-port-configuration-not-valid/28681/5 "2023-12-06T13:13:57Z")

</div>

I am glad to hear you got the issue resolved. I do not know what version of Runtime is needed on the MAC. So I can’t answer that.

The legacy version of XCTU is really for the products before the XBee 3.
