Keil Logo Arm Logo

Communication functions with GPRS/3G modem

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
Zhang Zd
Posted
9-May-2011 12:44 GMT
Toolset
ARM
New! Communication functions with GPRS/3G modem

Recently, we have a project using Cortex-M3 processor to develop telematics functions,such as Phone,SMS,Using GPRS,etc. All of this functions we using UART port to connect with modem. Under WINCE platform we have finished these functions already,but with M3,we have lots of questions that because we using this platform very few.If you have any suggestion\solutions ,please tell me! Thanks a lot.
Questions:
1: Can we using TCP/IP stacks such as wince with this platform?if not, how about LWIP means?
2: I have found some samples about net connect with M3 by using Ethernet card, how about PPPOE,share we using this types?

if we need to finished the function such as wince RIL, How do I?
E-Mail:stone1008@163.com
Thanks.

Read-Only
Author
Andrew Neil
Posted
9-May-2011 13:32 GMT
Toolset
ARM
New! RE: What is "WINCE"?

Do you mean "Windows-CE" ?

If you do mean Windows-CE, then "TCP/IP stacks such as wince" does not make sense!

Anyhow, you can't run Windows-CE on a Cortex-M3.

Nowadays, most GPRS modems have a built-in TCP/IP stack - have you thought about that?

Yes, there are many ports of LwIP to various Cortex-M3 microcontrollers - just google the one(s) you have in mind!

Most Cortex-M3 manufacturers will have a list of "supported" 3rd-party support like TCP/IP stacks.

"I have found some samples about net connect with M3 by using Ethernet card"

The TCP and IP parts will be the same; just the "bearer" part will differ.
That's the beauty of a layered architecure...

Read-Only
Author
Zhang Zd
Posted
10-May-2011 02:01 GMT
Toolset
ARM
New! RE: What is "WINCE"?

Thanks for your reply.
Yes, WINCE means window-CE,we use i.MX51/31/35... to run Windows-CE ,not on Cortex-M3.
Under Windows-CE, we can use socket to send/receive data package,it not need to consider details about how tcp/ip stacks work. Is the same with Cortex-M3? GPRS modems have built-in TCP/IP stack means we need to send at command(with gprs data)after TCP/IP stack(Cortex-M3) control, am i right? Thanks.

Read-Only
Author
Andrew Neil
Posted
10-May-2011 06:32 GMT
Toolset
ARM
New! RE: Is the same with Cortex-M3?

No, it is not!

Welcom to the world of "bare metal" computing!

"GPRS modems have built-in TCP/IP stack"

I said most GPRS modems have a built-in TCP/IP stack - you will have to study the manuals for your particular modem(s) to determine whether it has one.

"we need to send at command(with gprs data)after TCP/IP stack(Cortex-M3) control, am i right?"

RTFM!

Read-Only
Author
Zhang Zd
Posted
10-May-2011 06:52 GMT
Toolset
ARM
New! RE: Is the same with Cortex-M3?

I've found the answers.
For beginner, manuals can not answer all the questions, sometimes I got the answers and need you suggestions to confirm it.

Read-Only
Author
Andrew Neil
Posted
10-May-2011 06:58 GMT
Toolset
None
New! RE: Is the same with Cortex-M3?

Remember that nobody knows anything about you or your project other than what you clearly and explicitly state in your posts.

If you have read the manuals, and have specific questions, you need to make that clear

Read-Only
Author
Zhang Zd
Posted
10-May-2011 07:29 GMT
Toolset
None
New! RE: Is the same with Cortex-M3?

Ok,with you suggestion before i found some other ways to get the answer,such as modems provider.
I think read manuals with cortex-M3 my be is not enough. Although what i said is not clear, but i found some useful info with your answers. Anyway thanks to you.

Read-Only
Author
Per Westermark
Posted
10-May-2011 07:48 GMT
Toolset
None
New! RE: Is the same with Cortex-M3?

Cortex-M3 manuals can never be enough, since the Cortex-M3 manuals only covers the processor.

And the processor does not have any networking. It's just a stupid processor that requires you or someone else to write programs or to load existing program functionality into it. So you need to either find libraries to use and read their manuals, or you need to use external networking hardware (like a GPRS module) and read the manual(s) for that hardware.

In the end, there is a huge difference between a processor and a complete computer system.

Read-Only
Author
Andrew Neil
Posted
10-May-2011 07:56 GMT
Toolset
None
New! RE: Cortex-M3 manuals can never be enough

"the Cortex-M3 manuals only covers the processor"

In fact, Cortex-M3 manuals cover only the core of the processor.

For a complete description of an actual microcontroller (which is built on a Cortex-M3 core), you will need to study the particular Manufacturer's documentation for that specific chip.

Read-Only
Author
Andrew Neil
Posted
10-May-2011 08:00 GMT
Toolset
None
New! RE: i found some other ways to get the answer

"such as modems provider"

Yes, of course you should always speak to the provider (manufacturer, distributor, whatever) to discuss your requirements before making your choice!

If you were buying a car, you would talk to the dealer to ensure that it met your requirements before parting with your money - wouldn't you...?!

Read-Only
Author
yeah right
Posted
10-May-2011 08:25 GMT
Toolset
None
New! If only

"If you were buying a car, you would talk to the dealer to ensure that it met your requirements before parting with your money - wouldn't you...?!"

My wife didn't!!!

Read-Only
Author
Per Westermark
Posted
10-May-2011 08:28 GMT
Toolset
None
New! RE: If only

"My wife didn't!!!"

But it was small, red and cute?

Read-Only
Author
Andrew Neil
Posted
10-May-2011 08:46 GMT
Toolset
None
New! RE: small, red and cute?

You know his wife?

Read-Only
Author
Tamir Michael
Posted
10-May-2011 09:19 GMT
Toolset
None
New! RE: small, red and cute?

The good old captain once posted a picture of his wife (Sprat will probably claim it is a conspiracy). Why don't we all? It will be fun :-)

Read-Only
Author
Per Westermark
Posted
10-May-2011 11:23 GMT
Toolset
None
New! RE: small, red and cute?

"All" wives wants small, red and cute cars.

Read-Only
Author
Tamir Michael
Posted
10-May-2011 11:34 GMT
Toolset
None
New! RE: small, red and cute?

Mine is not my wife, but she likes them black, small, fast and nasty. Do you think she might opt for the small, red and cute variants if we ever get married?

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.