EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: 2 MAXv problems
From: Joachim Rahn <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Wed, 10 Mar 2010 12:27:40 +0100

On 05.03.2010 17:08, [email protected] wrote:
> Hi all,
> 
> I found, that in recent firmware versions (1.31) of the MAXv cards the 
> command to set
> negative encoder resolutions (e.g. "AX ER-2,3") as used by the MAXv driver 
> does not work any more.
> Instead a command error is returned and the encoder resolution will remain 
> unchanged.
> I couldn't find this "new feature" documented anywhere.
> 
> For the MAXp-card I verified, that this behaviour was introduced between 
> firmware versions 1.29 and 1.31.
> 
> The workaround is to not use negative encoder resolution, instead reverse 
> the encoder direction
> with the new EDI command in the init-string.
> 
> -------
> 
> If using RTEMS the ioc crashes, when calling sprintf in interrupt context 
> (motorIsr() in drvMAXv.cc) .
> I assume, calling sprintf() in interrupt context is not allowed in RTEMS?
> 
> Jens
> 
Hi Jens,

RTEMS: printf in interrupt context is not secure, use printk instead...

	see http://www.rtems.com/ml/rtems-users/2005/january/msg00216.html


Regards,
Joachim


References:
2 MAXv problems Jens . Eden

Navigate by Date:
Prev: Controls Engineering Employment Opportunity Frank Lenkszus
Next: Building EPICS for multiple Linux distributions John Dobbins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: 2 MAXv problems Steven M. Hartman
Next: Re: 2 MAXv problems sheng peng
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·