linux - How to determine cause of weird characters from serial console -


good morning,

i'm trying work out reason weird characters being outputted in serial console in linux.

device: 12d1:15c1 huawei me906s module in wwan usb adapter (working normal operations , switches modes etc

the device connected pid 15c1 , output of lsusb -v below: 12d1:15c1 output

when device sent @ command of at^godload, switches download mode changes pid 1568. output of lsusb -v below:

12d1:1568 output

os: ubuntu 16.10

speed: 9600 baud reported stty -f /dev/ttyusb0

expected: send @ commands through /dev/ttyusb0 minicom or echo/cat result , description: when device in normal mode (15c1) device ttyusb0 used send @ commands, works , can set chip download mode (pid 1568)

after download mode enabled chip reboots , reconnects ttyusb0, weird characters show in minicom , through terminal using 'cat

the weird characters same in both monitors , hex is: 7e 03 00 06 9e 4c 7e

when send @ command in download mode characters show up, except 1 @ command shown in pictures. command larger other ones.

command examples don't work in godload:

at+cmgr? ati -results in weird characters ~[][][][]l~

command work: at^signver=5,0,1234567891011121314151617181920, 8502

we have used wireshark capture update process on windows machine.

i have screen shots of operation, commands etc cannot post them due limit.

questions:

-does packet size matter serial commands sent module? -are missing form of line ending, carriage return or termination start/end message correctly?

thanks in advance


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -