Locking the system bus?
PC Hardware Forum Index PC Hardware
Dicussion of PC hardware and peripherals
 
 FAQFAQ   MemberlistMemberlist    RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web hwtalk.net
Locking the system bus?

 
Post new topic   Reply to topic    PC Hardware Forum Index -> Hardware
Author Message
ARINTEL
Guest





Posted: Thu Nov 10, 2005 8:25 am    Post subject: Locking the system bus? Reply with quote

Dear All,

Because of my real-time application, I'm trying to lock the system bus of
the Pocket PC for assuring access time to a memory-mapped I/O port. The
processor I'm using is PXA27X (Dell AXIM X50), and according to the manual,
I turn on bit 23 to gain exclusive bus access for the core.

The code is as follows:
------------

PHYSICAL_ADDRESS physicalAddr;

LPVOID virtualAddr;

physicalAddr.QuadPart = 0x48000048; // the Arbiter Control Register
virtualAddr = MmMapIoSpace(physicalAddr, 4, FALSE);
*((UINT32*)virtualAddr) |= 0x00800000; // turn on bit 23
-------------


However, the code seems not working. While the bit 23 is on, the whole
system is still working normally. I assume that if the system bus is locked
for the core, at least the LCD must not respond since the system bus
connects the core, the DMA controller, the LCD controller, the USB host
controller, etc.

Is my assumption wrong? Is there anyway that I can make the access time to
the I/O port constant?


Thanks a lot
Arintel
Back to top
 
Post new topic   Reply to topic    PC Hardware Forum Index -> Hardware All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Electronics VoIP DSP
New Topics php BB