473,396 Members | 1,877 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

accessing physical memory mapped to a pci board

I would like to view physical memory that is mapped to a pci board. I
am using a tool called WinIO to try to create a virtual address to
that physical memory. It works for both read and write of some
addresses, like 0x9FFF0. However, the resource the board uses is
address at 0xE8100000 which I cannot pick up with the tool. I have
confirmed that address in windows device manager and in the BAR0 entry
in the table that the PCI board registers with windows. Is there some
protection in Windows that I must circumvent to view that memory?

I am running an XP box. The board's driver is installed and the board
is functioning properly in windows while I am trying to read the
memory. I have 1 GB of physical RAM and a swap file of 1.5 GB. (the
memory address that PCI board is at appears to be about 3.8 GB
offset... I'm not sure about that either)

I appreciate any thoughts you have.

Thanks,
John

May 30 '07 #1
3 3975
On May 30, 5:53 pm, john <johnkl...@yahoo.comwrote:
I would like to view physical memory that is mapped to a pci board. I
am using a tool called WinIO to try to create a virtual address to
that physical memory. It works for both read and write of some
addresses, like 0x9FFF0. However, the resource the board uses is
address at 0xE8100000 which I cannot pick up with the tool. I have
confirmed that address in windows device manager and in the BAR0 entry
in the table that the PCI board registers with windows. Is there some
protection in Windows that I must circumvent to view that memory?

I am running an XP box. The board's driver is installed and the board
is functioning properly in windows while I am trying to read the
memory. I have 1 GB of physical RAM and a swap file of 1.5 GB. (the
memory address that PCI board is at appears to be about 3.8 GB
offset... I'm not sure about that either)

I appreciate any thoughts you have.

Thanks,
John
This is far out of the scope of this newsgroup. You should try some
more specific newsgroups.

May 30 '07 #2
john <jo*******@yahoo.comwrites:
I would like to view physical memory that is mapped to a pci board. I
am using a tool called WinIO to try to create a virtual address to
that physical memory. It works for both read and write of some
addresses, like 0x9FFF0. However, the resource the board uses is
address at 0xE8100000 which I cannot pick up with the tool. I have
confirmed that address in windows device manager and in the BAR0 entry
in the table that the PCI board registers with windows. Is there some
protection in Windows that I must circumvent to view that memory?
[...]

You're asking a Windows question, not a C question.

comp.os.ms-windows.programmer.win32 *might* be the right place to ask,
but I'm not sure.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
May 30 '07 #3
john wrote:
I would like to view physical memory that is mapped to a pci board. I
am using a tool called WinIO to try to create a virtual address to
that physical memory. It works for both read and write of some
addresses, like 0x9FFF0. However, the resource the board uses is
address at 0xE8100000 which I cannot pick up with the tool. I have
confirmed that address in windows device manager and in the BAR0 entry
in the table that the PCI board registers with windows. Is there some
protection in Windows that I must circumvent to view that memory?

I am running an XP box. The board's driver is installed and the board
is functioning properly in windows while I am trying to read the
memory. I have 1 GB of physical RAM and a swap file of 1.5 GB. (the
memory address that PCI board is at appears to be about 3.8 GB
offset... I'm not sure about that either)

I appreciate any thoughts you have.

Thanks,
John
You have to build a device driver John. That is outside the scope of
this group. Try one of the device drivers groups in the msnews
server. They are followed by dedicated microsoft professionals
that are very competent and will tell you exactly what you
have to do. I always found there very helpful people.

May 31 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: lupher cypher | last post by:
Hi, I'm trying to access memory directly at 0xb800 (text screen). I tried this: char far* screen = (char far*)0xb8000000; but apparently c++ compiler doesn't know "far" (says "syntax error...
7
by: James A | last post by:
Hi, I'm having trouble geting my head around this, although I know it's a pretty basic question. I have an application whereby an area of RAM is mapped to an array: unsigned char NV; Two...
5
by: Niloday | last post by:
Hi All, I am trying to access a mapped network drive from a service that I have created. The service needs to create/delete folders/files on a network drive. When I tried to connect to a...
8
by: nkrisraj | last post by:
Hi, I have a following structure: typedef struct { RateData rdr; int RateID; char RateBalance; } RateInfo;
6
by: Grant | last post by:
I need to write data to a physical address between 0xD0000 and 0xDFFFF I have download the windows DDK but have no experience with this and would like to get up and running very quickly can any one...
20
by: sethukr | last post by:
hi, i need to store a value to a particular memory location without having a variable. So, how can i access a 'memory address' without using variables?? Is it possible in C??? Plz, help...
1
by: MattM | last post by:
Looking at a tutorial for Asp.Net 2.0 using Northwind, the DAL was built by dragging the tables on to an XSN to create a dataTable object for each table in the database. The BLL was then mapped for...
2
by: irm2216 | last post by:
I'm trying to make a memory game where you try to link up the two corresponding colored circles, but if they are the wrong colors, they go back to being a blank canvas. The graphics methods do not...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.