Hi Liu Ping,
On Tuesday 16 June 2009 03:39:57 Michael Abbott wrote:
> However, the problem is nothing to do with the 8401...
I agree with Michael, this is not a problem with the 8401 driver and it may
not be one with the 8002 driver either.
Is this the first time you have tried to use a card that responds in the VME
A32 space? If so I would guess that the problem is that your vxWorks BSP
needs to be configured to map the relevent portion of VME A32 space into the
CPU's memory map. The error message is occurring because the driver is
asking the vxWorks BSP to give it the CPU address corresponding to a
particular VME A32 address, but the BSP is replying that there is no such CPU
address because the BSP is not configuring the VME Bridge chip with any A32
Master windows that cover that range.
Read the target.txt file in your target/config/<bsp> directory, it should
document the window mappings. Look for the VME_A32_MSTR_BUS and
VME_A32_MSTR_SIZE variables; you may be able to just modify them and rebuild
the BSP, but don't just make the window as large as possible because that can
significantly slow down the startup of the vxWorks image at boot time and
also use up memory in MMU page tables.
I can't give you any specific advice because I don't know what VME CPU board
you are using, and I only know about a limited number of BSPs anyway.
- Andrew
--
The best FOSS code is written to be read by other humans -- Harold Welte
- Replies:
- Re: "A32 RegisterAddress error" about Hytec8401 Dirk Zimoch
- re: "A32 RegisterAddress error" about Hytec8401 liuping
- References:
- "A32 RegisterAddress error" about Hytec8401 liuping
- Re: "A32 RegisterAddress error" about Hytec8401 Michael Abbott
- Navigate by Date:
- Prev:
Re: Installing Protocol Files Dirk Zimoch
- Next:
Controlling multiple CAN busses Elliott Wolin
- 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
- Navigate by Thread:
- Prev:
Re: "A32 RegisterAddress error" about Hytec8401 Michael Abbott
- Next:
Re: "A32 RegisterAddress error" about Hytec8401 Dirk Zimoch
- 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
|