PlasmaC Fiber laser 1Kw head height control + auto focuas

More
03 Sep 2020 17:46 #180565 by taloot

The VHD file is in case you want to make a changes in the firmware later
You can use pncconfig but it will not know about the PWM gens
so you would need to edit the hal file to set them up and connect them to
the desired LinuxCNC pins

yes but for initial setup..

yes for initial machine setup
i place the bit file in lib/firmware/hm2
it appears but i cant select it

Please Log in or Create an account to join the conversation.

More
03 Sep 2020 18:01 #180566 by tommylight
In pncconf choose one of the standard 7i92 configs with two PWM and save, then edit the hal and ini file from that since you will already have two PWM, just copy and paste and change the PWM numbers.

Please Log in or Create an account to join the conversation.

More
03 Sep 2020 18:47 #180569 by PCW
LinuxCNC and pncconf do not use those bitfiles at all.

As I said, connecting up the PWM generators will likely
have to be done by hand editing the main hal file

(after you have updated the firmware as tommylight illustrated)

There is a new (experimental) pncconf feature that can read the
installed firmware (discover), but I don't know how practical this is yet
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
03 Sep 2020 19:06 #180570 by Clive S
What Tom is saying:

Flash the .bit file using the mesaflash utility:
mesaflash --device 7I92 --addr 10.10.10.10 --write name-of-file.bit


It can be confusing the first time you flash a card

mesaflash --device 7I92 --addr 10.10.10.10 --7i92_5abob2p_2d.bit

Then follow Tom's
then do:
mesaflash --device 7I92 --addr 10.10.10.10 --reload
Then also:
mesaflash --device 7I92 --addr 10.10.10.10 --readhmid

To see the list of the pins
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
03 Sep 2020 19:28 - 03 Sep 2020 19:48 #180572 by taloot

What Tom is saying:

Flash the .bit file using the mesaflash utility:
mesaflash --device 7I92 --addr 10.10.10.10 --write name-of-file.bit


It can be confusing the first time you flash a card

mesaflash --device 7I92 --addr 10.10.10.10 --7i92_5abob2p_2d.bit

Then follow Tom's
then do:
mesaflash --device 7I92 --addr 10.10.10.10 --reload
Then also:
mesaflash --device 7I92 --addr 10.10.10.10 --readhmid

To see the list of the pins

okey i finished this step
then i started PNCONFIG... but i get lost in pnconfig.

i found stepgen. in IO tab.. but i cant find dir pin.. its very confusing

also i cant find pins for limit switches
Last edit: 03 Sep 2020 19:48 by taloot.

Please Log in or Create an account to join the conversation.

More
03 Sep 2020 19:49 - 03 Sep 2020 19:52 #180573 by taloot
this is the pinout ... but very confusing...

which number is correct
Attachments:
Last edit: 03 Sep 2020 19:52 by taloot.

Please Log in or Create an account to join the conversation.

More
03 Sep 2020 20:10 #180574 by PCW
They are both correct
The first column "Pin#" is the DB25 pin number (physical pin)
The second column "I/O" is the GPIO number (which determines the logical GPIO name in hal)

The fifth column "Chan" is the channel number of the pin function (StepGen, PWMGen etc)

Pncconf lists the channel number for StepGens etc and the GPIO number
for pins that are GPIO only

Please Log in or Create an account to join the conversation.

More
03 Sep 2020 20:13 #180575 by Clive S
To me it looks like you have a choice

P1 PWM on pin 1,16,17

P2 PWM on pin 1,16,17

Please Log in or Create an account to join the conversation.

More
03 Sep 2020 20:24 #180576 by tommylight

What Tom is saying:

Flash the .bit file using the mesaflash utility:
mesaflash --device 7I92 --addr 10.10.10.10 --write name-of-file.bit


It can be confusing the first time you flash a card

Thank you Clive, i do agree that for some strange reason that is confusing for some users.
Will try to avoid that in the future.
The following user(s) said Thank You: Clive S

Please Log in or Create an account to join the conversation.

More
03 Sep 2020 21:00 #180589 by PCW

To me it looks like you have a choice

P1 PWM on pin 1,16,17

P2 PWM on pin 1,16,17


Right, there are 6 PWM gens in the firmware:

PWMGen 0 P2 pin 1
PWMGen 1 P2 pin 16
PWMGen 2 P2 pin 17

PWMGen 3 P1 pin 1
PWMGen 4 P1 pin 16
PWMGen 5 P1 pin 17

(pin numbers are DB25 pin numbers)

Please Log in or Create an account to join the conversation.

Moderators: snowgoer540
Time to create page: 0.111 seconds
Powered by Kunena Forum