Hi Anders

Great work, thanks.  I favor subdirectories under
emc2/src/hal/drivers/m5i20.  If these were named consistent with the
mesa naming where they are common it would ease understanding the
documentation.  Another possible way would be m5i20_54, m5i20_72io, etc
directories right under the driver directory.

Along with this addition I'd like to see us provide a way to point the
HAL loader to the desired FPGA/HAL code combination.  I'd also like to
see us build in a way to load multiple m5i20s on a single box.  As you
said elsewhere, "the x.0.x is already there in the names.  Perhaps the
way it is done for multiple parports or multiple PPMC setups would work
here although the specific pins and parameters may be different for
different cards.

Rayh


On Sat, 2006-12-30 at 18:46 +0200, Anders Wallin wrote:
> Hi All,
> 
> Peter Wallace of Mesa electronics sent me some new M5i20 configs yesterday
> and today I have tested one of them.
> There are two new features compared to the config that is currently in cvs:
> -The secondary encoder pinout bug has been corrected
> -There are now versions with either 33MHz or 100MHz PWM master clock (which
> allows for up to 97kHz PWM rate).
> 
> There's a 4-axis version and an 8-axis version, so four different configs in
> total:
> hostmot5_4.bit    - HOSTMOT-4 config with 33  MHz PWM Clock
> hostmot5_4eh.bit  - HOSTMOT-4 config with 100 MHz PWM Clock
> hostmot5_8.bit    - HOSTMOT-8 config with 33  MHz PWM Clock
> hostmot5_8eh.bit  - HOSTMOT-8 config with 100 MHz PWM Clock
> 
> I tested hostmot5_4eh.bit, and it works as advertized, only the timebase
> calculation when doing 'loadrt hal_m5i20' is off since the driver expects
> 33MHz. With a bit of trial and error I got the 50kHz PWM I wanted on the DACs.
> 
> Once I get my ssh keys sorted out I will be committing these to cvs. On IRC
> a suggestion was made that these be put in separate directories under
> src/hal/drivers/m5i20  Comments ?
> In addition to the .bit files there are two different regmap files (4/8
> axis) and additionaly 31 .vhd/.npl/etc. source files.
> 
> I loaded the config onto the fpga manually using m5i20cfg, but in the future
> this might be made easier through a new option in the driver: 'loadrt
> hal_m5i20 loadFpga=<configname>'. The driver should also detect which config
> is loaded so that the timebase calculations are correct. Ditto for extra
> DACs and encoders in the 8-axis config.
> 
> I'll try to work on these things whenever I have time.
> 
> regards,
> 
> Anders Wallin
> [EMAIL PROTECTED]
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to