
Page 19 of 31
GPRS6055 Module Programming
This chapter shows you how to program and use your GPRS6055. It provides a general
description of the I/O map. Detailed serial port programming tips are not within the scope of this
manual.
Defining the Memory Map
The memory map of the GPRS6055 occupies a group of eight bytes of host PC I/O space. This
window is freely selectable by the user by jumpers JP7 for the GSM BASE. After setting the base
address you have access to the internal resources of the GPRS6055 control logic. The board
also has 16 digital I/O lines that can be accessed several ways.
Digital I/O
The 16 digital I/O bits have different functionality in COM17045 and GPRS6055 modes.
COM17045 mode is designed to be software compatible with the RTD COM17045 GSM/GPS
module which is 8 outputs and 8 inputs. GPRS6055 mode, which is the default, allows bit
programmable direction for all bits. Note the digital I/O registers can be accessed at 400h and
404h – 407h above the GSM.
COM17045 Mode (JP8 = COM17045)
ADDR (hex) REGISTER DIR COMMENTS
GSM BASE + 400h Digital I/O I/O Digital I/O Port
GPRS6055 Mode (JP8 = GPRS6055 -- Default)
ADDR (hex) REGISTER DIR COMMENTS
GSM BASE + 400h Digital I/O I/O Digital I/O Port
GSM BASE + 404h Digital I/O I/O Digital I/O bits 0 - 7
GSM BASE + 405h Digital I/O I/O Digital I/O bits 8 – 15
GSM BASE + 406h Digital I/O Dir I/O Digital I/O direction bits 0 - 7
GSM BASE + 407h Digital I/O Dir I/O Digital I/O direction bits 0 - 7
Digital I/O – R/W at BASE + 400h
This register is intended for COM17045 compatibility. If you are using the board in GPRS6055
mode, please use registers at BASE + 404h – 407h.
This address is used to interface to the digital I/O port of the GPRS6055, writing to this address
will transfer the data out of the output port, while reading from this address will return the data
from the digital inputs. The digital I/O is accessed at GSM BASE + 400h. This register is
Comments to this Manuals