Using UART1 in ADL-App

Hello all,

since a lot of hours I try to open UART1 in an embedded application on my Q2686H.
My source code is based on the UART_access sample, delivered by M2M-Studio.
I only changed the default port from UART2 to UART1. Unfortunately the adl_OpenDevice function always fails when I try to open UART1.

It should be a problem, that USART1 is used for the default AT-Command-Port. That´s why I closed the USART1 through the following command:

AT+WMFM=0,0,1

After that the WMFM answered with:

AT+WMFM?
+WMFM: 0,2,1,0 <- so the USART1 seems to be closed?!
+WMFM: 0,2,2,0
+WMFM: 0,2,3,1
+WMFM: 1,2,4,0
+WMFM: 1,2,4,1

OK

With USART2 everything works fine. Is there another method to close the USART1? What is my mistake?

Thanks in advance!
Andreas

My setup:
Wireless CPU Q2686 (FW 7.43)
M2M Studio (2.33)

Hello again,

I solved the problem - probably it was a mistake (misconfiguration?) of the the OpenAT-OS.

I tried to open USART1 (via USB):
AT+WMFM=0,1,1
ERROR

Then I tried to close it (via USB):
AT+WMFM=0,0,1
ERROR

So I can´t open it and I can´t close it!
After a complete reinstallation of the OpenAT-OS via AT+WDWL everything works fine!

Greetings
Andreas