wrtiing to a physical address

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I wish to write data to a physical address to test the communication to a
device on the bus of a PC104 module. I am using, for test purposes, XP as an
OS, I have read that there are function such as MmMapIoSpace and
TransBusAddrToVirtual available in Win CE to do this type of thing, is there
something equivalent for XP? Any other advice on writing a small app to write
to a physical address is most welcome.

Thanks

Grant
 
Direct calls to physical memory from an application are not permitted in
XP/XPe. A special device driver would have to be writen for the applications
to call in order to access hardware directly. IOCTL is the typical call
within the driver.

There was a Port I/O driver floating called PortTalk
(http://www.beyondlogic.org/porttalk/porttalk.htm) that provided direct
access to hardware.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit
XP Training Class Nov 28-30 - http://www.sjjmicro.com/Training.html
 
Back
Top