I am trying to get the UART access sample going with my FASTRACK Supreme 20. I am using latest M2MStudio and USB card for additional Serial port access. I am connecting from M2MStudio to FASTRACK on USB serial connection and trying to open UART1 with “AT+WDU=1,UART1,115200”. M2MStudio Trace shows following lines:
ADL 1 uart_open(UART1,115200)
ADL 1 Uart_Open : ERROR UART is not opened
I am wondering why I can’t open UART1. I tried other scenarios like tracing M2MStudio on COM1 and trying to open the UART1 or UART3. Neither one worked. I am using the sample as it is.
Sure. I did. Nothing looks suspicious. Following is the code. My earlier post showed first and last trace statements from the following code snippet. All the settings look just fine. I am trying to open UART1, so the role is UART_ROLE_DCE. Speed is 115200. M2MStudio can use the UART1 just fine for debugging. So when I flip the COM port and make M2MStudio use UART3 based on USB and try to let my app open UART1, i get the error.
I am working with only one app (UART_access) and trying to open UART1 for the first time. Bad part is, error code on Open fail is not descriptive other than fail/success. Is it possible that UART1 is already opened by something in the OS or Firmware? If yes, how can I disable it from using UART1?
I don’t use the “Target Management” in M2MStudio (as it is officially acknowledged to be a steamy pile of the smelly stuff) - I’m sticking with the old Target Monitoring Tool (TMT) and Terminal Emulator (TE) instead.
Anyhow, I have TMT+TE connectcted to a Fastrack Supreme on UART1, and tried to open UART2 with this sample app:
much as you got?
So I tried “disabling” UART2 first:
and the TRACE said:
I guess this is what the ADL User Guide is referring to when it says:
But that’s about as clear as mud!
I presume that, “handled by the Wavecom firmware” is supposed to mean that it’s “opened” by AT+WMFM
But that is not at all clear, and there is no proprer explanation nor specific mention of AT+WMFM
There is also no mention of this in the documention of AT+WMFM in the AT Commands manual
And the worst thing by far is that there is no explanation nor even any mention of this in the Sample!
But, if you mean, “how can I use this facility on the same UART from which I issue the command” - then, I guess, you would have to modify the sample so that it closes the UART (with AT+WMFM) before it attempts to open it with adl_OpenDevice()…
I need help to solve a problem regarding the UART raw access.
I have a SiWi GL6100 with only one uart, specifically the UART1.
With this uart I program the module and the I switch the module to FCM mode to read data from UART1.
Now I want to use the UART in raw mode and this is what i do:
 Enable FCM mode to enable to read ESC character from serial. If I detect this character switch to AT mode to update the firmware through UART1.
 After 10 second switch UART1 to AT Mode and then disable UART1 with this command: