5175 views|2 replies

187

Posts

0

Resources
The OP
 

A40i Platform Application Notes - Huawei - ME909S-4G Module Porting Application [Copy link]

A40i Platform Application Notes - Huawei - ME909S-4G Module Porting Application

This article explains the application of transplanting Huawei-ME909S-4G module to the domestic A40i development board . This article is mainly applicable to the Feiling OKA40i platform Linux 3.10.65 operating system. Other arm platforms can also be used as references, but there will be differences between different platforms. Please modify it yourself to adapt to your own use. The main purpose of writing this article is to assist customers in accelerating the development of products. Due to limited level, no guarantee of integrity, reliability, etc. is provided. After the software version is updated, some location names and other contents may be updated in time. Please refer to the modification method.

1. Check the kernel configuration file: arch/arm/configs/sun8iw11p1smp_oka40i_c_defconfig

C ONFIG_USB_SERIAL_OPTION=y

CONFIG_USB_SERIAL_WWAN=y

Recompile the image and burn it.

2. Check whether nodes are generated: (Note: First, make sure that the Huawei -ME909S-4G module, antenna and

SIM card)

#ls /dev/ttyUSB*

/dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2 /dev/ttyUSB3 /dev/ttyUSB4

If the node appears, the 4G module is correctly identified.

3. Enter the command dial

#echo "ATE0" > /dev/ttyUSB2

#cat /dev/ttyUSB2&

# echo "ATE0" > /dev/ttyUSB2

# cat /dev/ttyUSB2&

^RSSI: 27

^HCSQ: "LTE",63,56,66,20

OK

#echo "AT^LEDCTRL=1"> /dev/ttyUSB2 turn on the status light

#echo "AT^NDISDUP=1,1,\"cmnet\""> /dev/ttyUSB2

(Note: cmnet is China Mobile APN , 3gnet is China Unicom APN, ctnet is China Telecom APN ), please connect

Select the dialing instruction according to the card you actually use.

The serial port prints the following information:

OK

^NDISSTAT: 1,,,"IPV4"

^NDISSTAT: 1,,,"IPV6"

Enter the following command:

#ifconfig eth0 down

#ifconfig eth1 down

#ifconfig usb0 up

#udhcpc -iusb0

The debug serial port outputs the following information:

You can now access the network.

4. Internet test

Enter the command: # ping www.forlinx.com

5. Disconnect from the Internet

echo "AT^NDISDUP=1,0"> /dev/ttyUSB2 disconnects from the network

6. Reset

echo "AT^RESET" > /dev/ttyUSB2

This post is from ARM Technology

Latest reply

Is transplantation that simple?   Details Published on 2021-12-17 08:48
 

7452

Posts

2

Resources
2
 

3.10? That's old enough

This post is from ARM Technology
 
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 

1412

Posts

3

Resources
3
 

Is transplantation that simple?

This post is from ARM Technology
 
Personal signature

没有什么不可以,我就是我,不一样的烟火! 

 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>
Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list