1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 <2012> 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 <2012> 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | hardware register access |
From: | "Bai Jiaoni" <[email protected]> |
To: | [email protected] |
Date: | Tue, 17 Apr 2012 23:38:08 +0800 (CST) |
I can not use A32 address 0x20600000 to access hardware register immediately After I download vxworks from server to mvme5100. But at this moment if I execute the special function whose work is as following, I can use 0x20600000 to access the hardware register. Can you give me some idear from the information provided about what this function do to help register access successfully?
------------Now begin to start the server----------
the host server IP is:
the host server PORT is: 2005
----------------
>>Create the server basic socket successfully!
>>The Watch Dog has been Created , ID=33478656
Initializing D32 cblt transfers /*CBLTinit function */
>>The DCTL after configure is 820100 /* DMAinit function*/ DCTL:DMA transfer control register
>>The MISC status reg before modify is 40060000
>>The MISC Control reg before modify is 52060000
>>The VSI1_CTL reg is e
>>The VCSR_SET reg is 0
>>the LCLSIZE in MISC status reg is 40000000
>>The VCSR_SET reg after modify is 0
>>The VSI1_CTL reg after modify is e
>>The MISC status reg after modify is 40060000
>>The MISC Control reg after modify is 52060000
>>CBLT Software Configuration Done!
Receiving interrupt test signal
Awaiting interrupt!
>>Bind the server basic socket successfully!
>>The server basic socket begins to listen!
---------------------------------
Server Socket is Listenning!
...Awaiting Connection>>>>>>>>
>>Function Socket Accepted successfully!
>>Check Socket Accepted successfully!
>>CBLT Socket Accepted successfully!
INFO : Func socket connected info Sent.
INFO : Check socket connected info Sent.
INFO : CBLT socket connected info Sent.
>>Server Function socket accept successfully!
.....Server Task number: 1
>>CBLT Data Acquisition Task Created Successfully!
>>Server Function socket connected to client successfully!
.....Client IP is: 192.168.0.198
.....Client PORT is: 1302
>>Function Socket Connection Checking Task Entered successfully !
---------------------------------------
>>Awaiting PC command!
>>PC command : Slot Select Configure!
>>Configure Data Received!
INFO : Slot Pack Information:
----Token=2000
----Slot 2-> 6: 0, 0, 0, 0, 1
----Slot 7-> 11: 0, 0, 0, 0, 0
----Slot 12->16: 0, 0, 0, 0, 0
----Slot 17->21: 0, 0, 0, 0, 0
------ The slot of DPB is 6!>>Entered PPC Real Configuration Process of Slot Sel
ect Conf!
>>VME:: Basic Global Address Configure.
VME:: Constant Address Set.
---------------------------------------
VME:: Board Base Address Configuration:
The fee board positions are:
6 th position
The sum of feemodules is 1
write <0x60> to <0x37ffdb> successfully!!
write <0x0> to <0x37ffdf> successfully!!
----Slot 6 : Geo= 0x00000006, A24: phy:0x00300000, A32: 0x00600000
---------------------------------------
Slot Select Info Configured Successfully!
---------------------------------------
NO.13 of Yuquan Road, Shijingshan District, Beijing, China