FX30S serial port does not work

I was using serial port DB9 on FX30 in the past. It does not work on FX30S with firmware version 21.05.0. There is no rs_mode file (switch between RS232 and RS485). My app is fine because everything is working when I use RS485 IoT card. I have got ttyHS0 and ttyHS1 in dev folder. ttyHS1 (IoT slot works) ttyHS0 (DB9 does not work).

how about setting AT!MAPUART=14,1

I have tried this before. When I setup service to 14, ttyHS0 disappears.

For FX30(WP7702) FW15, if setting AT!MAPUART=14,1 for RS485 mode, it will enumerate /dev/ttyMSM0

It is not in /dev folder

I don’t see problem…

did you reset the module?

root@fx30:~# microcom /dev/ttyAT
ati8
Legato Ver: 21.05.0.54b96444_0a6e18078edde5151619cb964564694d
Yocto Ver:  SWI9X06Y_03.00.13.00 2022-12-28_08:23:43
OS Ver: Linux version 4.14.253 (oe-user@oe-host) ( gcc version 9.3.0 (GCC), GNU ld (GNU Binutils) 2.34.0.20200220) #1 PREEMPT Wed Dec 28 07:40:21 UTC 2022
LK Ver: 1.3.0_1aea4d8ec8
RootFS Ver: SWI9X06Y_03.00.13.00 2022-12-28_08:23:43
UserFS Ver: unknown
MCU Ver: 002.015

OK
at!mapuart?
!MAPUART: 14,16

OK
root@fx30:~# ls /dev/ttyMS*
/dev/ttyMSM0  /dev/ttyMSM1
root@fx30:~#

I did not have the same Firmware version you have got. I have downloaded and installed firmware from official website. Now, I have got /dev/ttyMSM0 and RS485 is working fine. Thanks