From: Dean Ramsier on 6 Jun 2005 13:22 Haven't tried the debuggers yet, I guess I should figure out how to do that. One thing I have tried is to just use the genport driver in the DDK samples, and load it at 0x2E-0x2F. It wouldn't load, unable to get the resources... -- Dean Ramsier "Pavel A." <pavel_a(a)NOwritemeNO.com> wrote in message news:2A316C3D-5D6A-47CF-900A-8B9A9C658CFF(a)microsoft.com... > "Dean Ramsier" wrote: > .......... > > I'm missing some big picture stuff here somewhere. In XP, what is the > > mechanism that stops me from just blindly writing the ports at > > 0x2E/0x2F? It appears that in, say, DOS I can hit these registers > > directly, but XP doesn't like it. > > Just break into a kernel debugger right now, and try to r/w these ports. > Does it work? > > --PA >
From: Dean Ramsier on 6 Jun 2005 17:19 I've confirmed I can access the GPIO registers through 0x2E/0x2F in Windows CE. I can't access them in XP, because XP (or someone) already owns these registers. Any ideas on a route to take that would allow me access to this area? -- Dean Ramsier - eMVP "Dean Ramsier" <ramsiernospam(a)nospam.com> wrote in message news:upNJTxraFHA.584(a)TK2MSFTNGP15.phx.gbl... > Haven't tried the debuggers yet, I guess I should figure out how to do that. > > One thing I have tried is to just use the genport driver in the DDK samples, > and load it at 0x2E-0x2F. It wouldn't load, unable to get the resources... > -- > Dean Ramsier > > "Pavel A." <pavel_a(a)NOwritemeNO.com> wrote in message > news:2A316C3D-5D6A-47CF-900A-8B9A9C658CFF(a)microsoft.com... > > "Dean Ramsier" wrote: > > .......... > > > I'm missing some big picture stuff here somewhere. In XP, what is the > > > mechanism that stops me from just blindly writing the ports at > > > 0x2E/0x2F? It appears that in, say, DOS I can hit these registers > > > directly, but XP doesn't like it. > > > > Just break into a kernel debugger right now, and try to r/w these ports. > > Does it work? > > > > --PA > > > >
From: Pavel A. on 6 Jun 2005 20:55 "Dean Ramsier" <ramsiernospam(a)nospam.com> wrote in message news:uQ4K21taFHA.3488(a)tk2msftngp13.phx.gbl... > I've confirmed I can access the GPIO registers through 0x2E/0x2F in Windows > CE. I can't access them in XP, because XP (or someone) already owns these > registers. Any ideas on a route to take that would allow me access to this > area? Dean, can you just do a quick try *with a kernel debugger* please? Five minutes setup and two minutes test? Hope you already found how to setup windbg or softice. --PA
From: Dean Ramsier on 7 Jun 2005 08:59 I'll give it a try, as soon as I figure out how to setup/use Windbg... BTW, do I need all the symbols installed, etc that is documented in the windbg help for this experiment? - Dean "Pavel A." <pavel_a(a)NOwritemeNO.com> wrote in message news:usI6BwvaFHA.3848(a)TK2MSFTNGP10.phx.gbl... > "Dean Ramsier" <ramsiernospam(a)nospam.com> wrote in message news:uQ4K21taFHA.3488(a)tk2msftngp13.phx.gbl... > > I've confirmed I can access the GPIO registers through 0x2E/0x2F in Windows > > CE. I can't access them in XP, because XP (or someone) already owns these > > registers. Any ideas on a route to take that would allow me access to this > > area? > > Dean, can you just do a quick try *with a kernel debugger* please? > Five minutes setup and two minutes test? > Hope you already found how to setup windbg or softice. > > --PA > > > >
From: Dean Ramsier on 7 Jun 2005 12:07 Well, if I've done this correctly I'm getting 0xFF back from the IO port that I know to contain an ID. The port containing the ID info is accessed via the same 0x2E/0x2F mechanism, which I can access just fine in CE ( I get the expected ID info in CE). I'm not getting any kind of exception writing to this area that I know of, or any other complaints from the debugger. Is this what you would expect? I've attached the debugger, broken in, and issued port reads and writes (ib, ob) to these addresses in the command window. Did I miss anything? -- Dean Ramsier "Dean Ramsier" <ramsiernospam(a)nospam.com> wrote in message news:ONQLKD2aFHA.348(a)TK2MSFTNGP14.phx.gbl... > I'll give it a try, as soon as I figure out how to setup/use Windbg... BTW, > do I need all the symbols installed, etc that is documented in the windbg > help for this experiment? > > - Dean > > "Pavel A." <pavel_a(a)NOwritemeNO.com> wrote in message > news:usI6BwvaFHA.3848(a)TK2MSFTNGP10.phx.gbl... > > "Dean Ramsier" <ramsiernospam(a)nospam.com> wrote in message > news:uQ4K21taFHA.3488(a)tk2msftngp13.phx.gbl... > > > I've confirmed I can access the GPIO registers through 0x2E/0x2F in > Windows > > > CE. I can't access them in XP, because XP (or someone) already owns > these > > > registers. Any ideas on a route to take that would allow me access to > this > > > area? > > > > Dean, can you just do a quick try *with a kernel debugger* please? > > Five minutes setup and two minutes test? > > Hope you already found how to setup windbg or softice. > > > > --PA > > > > > > > > > >
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 Prev: get unicode character OEMTextOut Next: Direct show Filter |