beautypg.com

Siemens TC65 User Manual

Page 19

background image

TC65 JAVA User's Guide
Strictly confidential / Released

s

TC65 JAVA User's Guide_V05

Page 19 of 90

26.09.2005

4.3

Data Flow of a Java Application Running on the Module

JVM

Flash File

System

File I/O API

IMP-NG

AT Command

API

ASC0

GPIO

DAI

AT Parser

TCP/IP

system.out

ASC1

I2C/SPI

DAC/ADC

Figure 3: Data flow of a Java application running on the module.


The diagram shows the data flow of a Java application running on the module. The data flow
of a Java application running in the debug environment can be found in Figure 20.

The compiled Java applications are stored as JAR files in the Flash File System of module.
When the application is started, the JVM interprets the JAR file and calls the interfaces to the
module environment.

The module environment consists of the:

• Flash File System:

available memory for Java applications

• TCP/IP:

module internal TCP/IP stack

• GPIO:

general purpose I/O

DAI: Digital

Audio

Interface

• ASC0:

Asynchronous serial interface 0

• ASC1:

Asynchronous serial interface 1

I2C:

I2C

bus

interface

SPI:

Serial

Peripheral

Interface

DAC: digital

analog

converter

ADC: analog

digital

converter

• AT parser:

accessible AT parser



The Java environment on the module consists of the:

JVM: Java

Virtual

Machine

• AT command API:

Java API to AT parser

• File API:

Java API to Flash File System

• IMP-NG:

Java API to TCP/IP and ASC0