NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Configuring LinuxCNC PnCConf Wizard Mesa 7I43-4 first tests but no sucess

Welcome, Guest
Username: Password: Remember me

TOPIC: Mesa 7I43-4 first tests but no sucess

Re:Mesa 7I43-4 first tests but no sucess 21 Июл 2012 04:23 #22264

  • Mike_Eitel
  • Mike_Eitel's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 135
  • Thank you received: 1
  • Karma: 2
Hi

Maybe a silly question:
I think there is a file that includes the configuration for the Mesa card itself.....
I wonder if I can edit those parameters..



What I want to do is using PnCConf for a general Mesa configuration in a "general" config directory.
My real config I want to do in another directory where I do everihing by hand.

My impression was that the card is "pre-CONFIGURED" by a file I did not find that config until now ?
I understand that there is a part done in the HAL, I think it is mostly choosing the number of pal modules
I'm missing some cross-table for each pin....

Mike
The administrator has disabled public write access.

hm2/7i43-Re:Mesa 7I43-4 first tests but no sucess 21 Июл 2012 08:23 #22271

  • PCW
  • PCW's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1649
  • Thank you received: 86
  • Karma: 116
The low level configuration of the hardware is done with the FPGA configuration file (bitfile)
this is selected to match your FPGA and daughterboard types and hardware modules
required.

For example, you are using hm2/7i43-4/SVST4_4.BIT.
This is a configuration with 4 PWMGens, 4 stepgens and 4 encoder counters

Your initial error was something wrong in the HAL file unrelated to the 7I43:

[ 1157.080249] HAL: ERROR: duplicate variable '.in'

Normally all the machine connections are in the .hal file and initial setup parameters are in the .ini file
there are no Mesa specific files that control machine configuration other than these 2 files,

The only really Mesa specific file used by LinuxCNC is the FPGA bitfile
The administrator has disabled public write access.

Re:hm2/7i43-Re:Mesa 7I43-4 first tests but no sucess 21 Июл 2012 10:35 #22283

  • Mike_Eitel
  • Mike_Eitel's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 135
  • Thank you received: 1
  • Karma: 2
THX PCW

I wonder hor pin in7oupt direction is configured and also there must e in my opinion somewhere definded of you wan't to use pull-up resistor function.

(I never did PAL programming but quite a lot of AVRmocroprocessor programming,
And as fare as I know you must do similar for a fpga)

THX
The administrator has disabled public write access.

Re:hm2/7i43-Re:Mesa 7I43-4 first tests but no sucess 21 Июл 2012 11:00 #22286

  • PCW
  • PCW's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1649
  • Thank you received: 86
  • Karma: 116
First you will want to look at the HostMot 2 manual:

man hostmot2

(in a terminal window)

This has information on how I/O pins are setup

Al I/O pins have pullups by default and this is basically hardware
so external devices need to be designed with this in mind

Practically this means that all outputs should be active low
(this is true of our daughtercards)
The administrator has disabled public write access.

Re:hm2/7i43-Re:Mesa 7I43-4 first tests but no sucess 29 Июл 2012 09:27 #22587

  • Mike_Eitel
  • Mike_Eitel's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 135
  • Thank you received: 1
  • Karma: 2
HI
It's me again with mychangeover to Mesa 7i43

I attched the zipped config ;-)

I read the manuals als did man hostmot2 and beiv to understand now.

and I have checked with simple GPIO config that all the pins can work as input and work fine as outputs..
Either pulled up external with 5V ( my normal mode) or via the boards switch with 3.3V...

My Problem:
If I use 4 stepgen I get no output signals, testet with osciloscope. Neither steps nor dir...

Also chargepup is not changing..

What have I done wrong?

Any hints? I tried some ours but now

Mike This attachment is hidden for guests. Please log in or register to see it.
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
Last Edit: 29 Июл 2012 09:28 by Mike_Eitel. Reason: Attached file
The administrator has disabled public write access.

Re:hm2/7i43-Re:Mesa 7I43-4 first tests but no sucess 29 Июл 2012 09:44 #22588

  • cmorley
  • cmorley's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1488
  • Thank you received: 40
  • Karma: 89
Mike is it coming out of estop and the machine is on?
Does the display in AXISdisplay movement but the steppers don't move?
Do you have a physical signal connected to estop-ext (GPIO 39)
The administrator has disabled public write access.
Moderators: cmorley
Time to create page: 0.924 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.