Q2686G UART2 Write

SL6087, SL808x, SL809x, SL9090, SL501x, Q2686, Q2687, Q2698, Q26 Elite

Q2686G UART2 Write

Postby aezakmi » Fri Jan 14, 2011 5:13 am

Hai,
Am using Q2686G. I did one simple echo kind of application in UART2,[ie., if i connected UART2 with COM1, whatever i typed in COM1 will sent back to COM1 by module].

The application is working fine. But, some time the module is re-started during "write" into UART2.

" ret=uart_if->read(uart1_hdl,buffer,32);
adl_atSendResponse ( ADL_AT_UNS, "\n After READ" );
uart_if->write(uart1_hdl,buffer,strlen(buffer)); "

Opening COM port, adl_eventWait are working fine during the problem, and from M2M shell, i understood the program is coming till "After READ" line and after that the rebooting is happening.

The read and write are in task.

If the power off the unit and power it on means, its working fine. kindly help with this problem.

The firmware version is :: R74_00gg.Q2686G
Application OS :: 06.21
Boot loader version :: V08b0e

Thank you,
aezakmi
 
Posts: 40
Joined: Sun Jan 09, 2011 9:52 pm
Has thanked: 0 time
Have thanks: 0 time

Re: Q2686G UART2 Write

Postby josepvr » Fri Jan 14, 2011 1:35 pm

Might be some kind of error in datalength

--------------
--- Josep ---
--------------
josepvr
 
Posts: 56
Joined: Thu Jul 15, 2010 5:23 am
Location: Catalunya ||||
Has thanked: 0 time
Have thanks: 3 times

Re: Q2686G UART2 Write

Postby MIC00L » Wed Feb 29, 2012 8:04 pm

HI

:?
DIDN'T TO RUN THE EXAMPLE OF UART OPENING. THE ERROR IT'S DISPLAYED IN THIS PART.

Code: Select all
uart_if.write( uart2_hdl, "Tx Some bytes", 13 );


and it's said :arrow: Error => request for member 'write' in something not a structure or union



somebody help me
MIC00L
 
Posts: 7
Joined: Fri Nov 18, 2011 9:34 am
Has thanked: 0 time
Have thanks: 0 time

Re: Q2686G UART2 Write

Postby MIC00L » Mon Mar 12, 2012 4:45 pm

i discovered error :D
MIC00L
 
Posts: 7
Joined: Fri Nov 18, 2011 9:34 am
Has thanked: 0 time
Have thanks: 0 time

Re: Q2686G UART2 Write

Postby ass25 » Tue May 15, 2012 7:08 am

See command at+WMFM.
in this command ENABLE uart2 (in default Uart2, uart3 (usb) is DISABLED)
ass25
 
Posts: 37
Joined: Thu Sep 18, 2008 9:28 am
Has thanked: 0 time
Have thanks: 0 time

Re: Q2686G UART2 Write

Postby awneil » Tue May 15, 2012 6:07 pm

ass25 wrote:(in default Uart2, uart3 (usb) is DISABLED)

That's true for old firmware versions - but hasn't been the case for some time now.
When I say "SiWi", that's short for "Sierra Wireless".
User avatar
awneil
 
Posts: 6641
Joined: Mon Dec 03, 2007 1:18 pm
Location: Basingstoke, UK
Has thanked: 54 times
Have thanks: 88 times


Topic Tags

UART, Q2686

Return to Q/SL Series

Who is online

Users browsing this forum: No registered users and 2 guests