> Andrew Johnson wrote:
>
> > Hi Josep,
> >
> > I think the stuff which Bakul has will just be a new version of the
> > mv167 BSP, which is no use to you on an mv147 - I'd be surprised if they
> > have actually patched vxWorks itself.
> >
> > I'm not sure if this is sufficient, but try just setting the byte at
> > fffe102b to zero. You can do this manually with:
> >
> > -> m 0xfffe102b,1
> > fffe102b: 02-00
> > fffe102c: 00-.
> >
> > value = 1 = 0x1
> > ->
> >
> > You'll probably have to do this before iocInit though, so you might need
> > to create a program to do it for you which you load and run within the
> > startup script - this code should do the trick:
> >
> > void enableA24dma() {
> > unsigned char *sbar = 0xfffe102b;
> > *sbar = 0;
> > }
> >
> > Let me know if this works (or doesn't!).
> >
> > -- Andrew
>
>
>Yes, IT WORKS!!! Many thanks to all the people who replied. I will,
>nevertheless,try to see what John Winans did in the patch for the MVME162 and
>try to
>apply it for the MVME147 as a more elegant solution.
>
> Josep Perlas
>
For an even simpler way of poking at memory, place the following in the
startup script :
vxMemProbe(0xfffe102b,1,1,&(mydata = (char)0x0))
Ned
- Replies:
- Re: NI-1014 help needed Andrew Johnson
- Navigate by Date:
- Prev:
Re: NI-1014 help needed Josep A. Perlas
- Next:
Re: NI-1014 help needed Andrew Johnson
- 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: NI-1014 help needed Bill Brown
- Next:
Re: NI-1014 help needed Andrew Johnson
- 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
|