>>Ted Hyde wrote:
>> 7i43 (400K Spartan3) board is USB powered now (Sebastian's suggestion,
>> though no difference from external port was found) - and is set for EPP
>> firmware load/config.

>I suggest starting with GPIO instead of the encoders, just to verify the 
>7i43 and HAL functioning before adding more hardware to the mix.

>Load the hm2_7i43 driver with all functions turned off (by saying 
>config="num_encoders=0 num_stepgens=0 num_pwmgens=0").  All the pins 
>become GPIOs, which default to inputs with pullup resistors

> If I change BIOS to EPP 1.9, hm2_7i43 components will fail to load, halrun
> notes:
> <SNIP>

Sebastian - I moved back to external power supply- it appears that the FTDI
USB driver may have been "Getting in the way" when I reset the 7i43 power
during testing. Didn't catch that until just now. 
I also moved back to EPP 1.7; EPP1.9 still fails with the same messages, and
adding the _debug token doesn't get any additional info than before as the
driver fails to load, thus cannot start to issue debug messages. 

However, here's the important part - now the board in EPP1.7 mode works
fine. It was NOT thrilled with the components being disabled (set to all
GPIO mode) - this took the better part of 30 seconds to return to the
halcmd: prompt - it may have been partially my fault of not giving a
component sufficient time to load, and the occasional mistype (I would often
forget to include the 'firmware=' portion after config=".....and of course
get invalid parameter errors!)

That, coupled with the phase of the moon and a new bag of tea leaves, has
GPIO, encoders and PWM functioning.

(And for John's sanity, I was loading threads, linking the drivers and
starting rt services - but it's always good to confirm, nonetheless!)

I believe the USB connection was my major stumbling block; and unless the
Epia BIOS was labeled incorrectly - which I would never rule out - in this
case, EPP1.7 works, while EPP1.9 does not, at least while hard-selected at
the BIOS setup screen. FWIW, I am pulling power for the 7i43 from an
isolated bench supply now, although frame grounds are common.

Time to go turn the servo shafts and watch the numbers move! Woo Hoo!

Ted.



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to