Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PCMCIA configuration register access

42 views
Skip to first unread message

Tobias Metzger

unread,
Oct 30, 1996, 3:00:00 AM10/30/96
to

I am trying to get access to the configuration register (see CISTPL_CONFIG
below) and the attribute memory (see CISTPL_DEVICE_A below) of our PCMCIA
Microcontroller-Card (PC-Card). The description of where the register is, is in
the CIS of the PC-Card.

I know how to get the address of the mapped common memory of th PC-Card, by
using the function CONFIGMG_Get_First_Log_Conf() of the VtoolsD library.

Does the configuration manager map the configuration register and the attribute
memory just like the common memory of the PC-Card?

Where can I find the addresses?

Output of "dtpl -l":
-------------------------------------------------------------------
Microsoft (R) Display Tuple Utility Version 4.09.21
Copyright (C) Microsoft Corp 1993. All rights reserved.

Socket number 00

Logical Configuration for device.
No I/O Resource Requested
IRQ Resource
IRQ Mask, Desired = FFFF Requested = FFFF
Not Shared
Memory Resource 0
Number of byte of memory = 00004000 (16384)
Memory Address Min, Max = 00000000 - FFFFFFFF
Base Address Alignment = 16384 Mask = FFFFC000
PC Card Address to Map = 00000000
Common 16-bit Memory Window
Request Config Structure Values
Attributes = 0002 (IRQ Steering Enabled)
Vcc = 32 (5.0V)
Vpp1 = 32 (5.0V)
Vpp2 = 32 (5.0V)
Interface Type = 02 (Memory and I/O)
Config Base = 00004000
Status = 00
Pin = 00
Copy = 00
Option = 06
Present Flags = 01
-------------------------------------------------------------------

Output of "dtpl -t":
-------------------------------------------------------------------
Microsoft (R) Display Tuple Utility Version 4.09.21
Copyright (C) Microsoft Corp 1993. All rights reserved.
.
.
.
Tuple Packet Structure: (CISTPL_DEVICE_A)
l_socket = 0000 attr = 0001 desired_tuple_code = FF tuple_offset = 00
cs_tuple_flags = 0001 cs_link_offset = 00000000 cs_cis_offset = 0000000C
tuple_code = 17 tuple_link = 03
Tuple Data:
Device ID = 43
Type :F0 = 40 (EEPROM) WPS :08 = 00 Speed :07 = 03 (150 nsec)
Device Size = 01 (1 units, 2K bytes/unit)
Tuple Data Bytes:
43 01 FF ; C..
.
.
.
Tuple Packet Structure: (CISTPL_CONFIG)
l_socket = 0000 attr = 0001 desired_tuple_code = FF tuple_offset = 00
cs_tuple_flags = 0001 cs_link_offset = 00000000 cs_cis_offset = 000000C4
tuple_code = 1A tuple_link = 05
Tuple Data:
Size Field = 01, Reg Addr Size = 1, Pres Mask Size = 0
Index number of last entry = 01
Configuration registers base address = 4000
Configuration register present mask = 01
Tuple Data Bytes:
01 01 00 40 01 ; ...@.
.
.
.
-------------------------------------------------------------------

I am hoping for help through net.

Thanks in advance.

Tobias

-------------------------------------------------------------------
Tobias Metzger e-mail: 10605...@compuserve.com

#### LogiDataTech Electronic GmbH
/// ###\\\\\ Rudolf-Diesel-Str. 14
/// ###\\ D-64569 Nauheim
/// ### \\\ Telefon: +49 6152 9768- 0
///####/// \\\ Fax: +49 6152 9768-99
-------------------------------------------------------------------


Tobias Metzger

unread,
Oct 30, 1996, 3:00:00 AM10/30/96
to
0 new messages