On Fri, 25 Jul 2014, Ralph Stirling wrote:

> Date: Fri, 25 Jul 2014 17:10:24 +0000
> From: Ralph Stirling <[email protected]>
> Reply-To: "Enhanced Machine Controller (EMC)"
>     <[email protected]>
> To: "Enhanced Machine Controller (EMC)" <[email protected]>
> Subject: Re: [Emc-users] hostmot2 spi
> 
> Andy,
>
> I'm working on the bspi comp and hal files and have my first questions.
>
> 1) Is there an example hal file somewhere using the example mesa_7i65.comp 
> component?
>
> 2) When I attempt to compile either the original mesa_7i65.comp file or my 
> stripped down version,
>     I get the message:
>          Realtime component must have at least one function
>     from "comp --compile mesa_7i65.comp"
>
> I don't find this error message in docs, by googling, or by grep -R'ing on 
> the linuxcnc-dev-2.5 tree.
> Looking on the github source tree, I see indications that comp.py is actually 
> a generated file, so I'm
> not real sure I want to dig all the way to the bottom of this just now.
>
> Thanks again,
> -- Ralph

I have an example HAL file for the 7I65 I will dig it up

Note that there were some fairly recent fixes to the 7I65 component
not sure they were back ported to 2.5

> ________________________________________
> From: andy pugh [[email protected]]
> Sent: Wednesday, July 23, 2014 6:38 PM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] hostmot2 spi
>
> On 24 July 2014 02:26, Ralph Stirling <[email protected]> wrote:
>
>> The wiki mentions that these might be available in 2.6, and I see
>> a bspi.c file in the 2.5 drivers, but don't find much documentation
>> or indication of how it works.  I just want to read a simple single
>> channel ADC like the LTC1401 for the present.
>
> You would need a 7i43 firmware with a BSPI channel. (It isn't all that
> hard to build a firmware, but might be more than you want to take on
> given the other irons you appear to have in the fire).
>
> If you load that firmware then a "hook" will be created into the
> hostmot2 driver that will let you access the registers and work with
> them.
> Look at src/hal/drivers/mesa_7i65.comp for an example of a comp that
> works with BSPI.
>
> A quick way to get started might be to find a 7i65 firmware for the 7i43.
>
> --
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to