Custom firmware for 7i90HD
- bjames28
- Offline
- Senior Member
Less
More
- Posts: 77
- Thank you received: 0
04 Mar 2015 18:01 #56459
by bjames28
Custom firmware for 7i90HD was created by bjames28
Hi PCW,
Could you please generate a custom firmware for 7i90HD card?
Whis of my customer is to have all 5 stepgens , 1 pwmgen and 1 encoder on first connector of 7i90, so the 2nd and 3rd connector may be used for GPIO pins.
BTW: We'd like to order 8 or 10 pcs of 7i90 from webshop but for several weeks it is out of stock. Will you have it restocked soon?
Thank you very much in advance.
Best regards:
Janos
Could you please generate a custom firmware for 7i90HD card?
Whis of my customer is to have all 5 stepgens , 1 pwmgen and 1 encoder on first connector of 7i90, so the 2nd and 3rd connector may be used for GPIO pins.
BTW: We'd like to order 8 or 10 pcs of 7i90 from webshop but for several weeks it is out of stock. Will you have it restocked soon?
Thank you very much in advance.
Best regards:
Janos
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17903
- Thank you received: 4774
05 Mar 2015 00:24 #56468
by PCW
Replied by PCW on topic Custom firmware for 7i90HD
For a custom pinout, either post your desired pinout here or email it to This email address is being protected from spambots. You need JavaScript enabled to view it.
7i90s are being built now and should be available again soon
7i90s are being built now and should be available again soon
Please Log in or Create an account to join the conversation.
- bjames28
- Offline
- Senior Member
Less
More
- Posts: 77
- Thank you received: 0
05 Mar 2015 13:19 #56494
by bjames28
Replied by bjames28 on topic Custom firmware for 7i90HD
Hi Peter,
Here is the pinout:
Connector P1:
IO Pin 000 StepGen #0, pin Step (Output)
IO Pin 001 StepGen #0, pin Direction (Output)
IO Pin 002 StepGen #1, pin Step (Output)
IO Pin 003 StepGen #1, pin Direction (Output)
IO Pin 004 StepGen #2, pin Step (Output)
IO Pin 005 StepGen #2, pin Direction (Output)
IO Pin 006 StepGen #3, pin Step (Output)
IO Pin 007 StepGen #3, pin Direction (Output)
IO Pin 008 StepGen #4, pin Step (Output)
IO Pin 009 StepGen #4, pin Direction (Output)
IO Pin 010 Encoder #0, pin A (Input)
IO Pin 011 Encoder #0, pin B (Input)
IO Pin 012 Encoder #0, pin Index (Input)
IO Pin 013 PWMGen #0, pin Out0 (PWM or Up) (Output)
IO Pin 014 PWMGen #0, pin Out1 (Dir or Down) (Output)
IO Pin 015 PWMGen #0, pin Not-Enable (Output)
IO Pin 016 IOPort
IO Pin 017 IOPort
IO Pin 018 IOPort
IO Pin 019 IOPort
IO Pin 020 IOPort
IO Pin 021 IOPort
IO Pin 022 IOPort
IO Pin 023 IOPort
Connectors P2 and P3: IOPorts on all pins
Regards:
Janos
Here is the pinout:
Connector P1:
IO Pin 000 StepGen #0, pin Step (Output)
IO Pin 001 StepGen #0, pin Direction (Output)
IO Pin 002 StepGen #1, pin Step (Output)
IO Pin 003 StepGen #1, pin Direction (Output)
IO Pin 004 StepGen #2, pin Step (Output)
IO Pin 005 StepGen #2, pin Direction (Output)
IO Pin 006 StepGen #3, pin Step (Output)
IO Pin 007 StepGen #3, pin Direction (Output)
IO Pin 008 StepGen #4, pin Step (Output)
IO Pin 009 StepGen #4, pin Direction (Output)
IO Pin 010 Encoder #0, pin A (Input)
IO Pin 011 Encoder #0, pin B (Input)
IO Pin 012 Encoder #0, pin Index (Input)
IO Pin 013 PWMGen #0, pin Out0 (PWM or Up) (Output)
IO Pin 014 PWMGen #0, pin Out1 (Dir or Down) (Output)
IO Pin 015 PWMGen #0, pin Not-Enable (Output)
IO Pin 016 IOPort
IO Pin 017 IOPort
IO Pin 018 IOPort
IO Pin 019 IOPort
IO Pin 020 IOPort
IO Pin 021 IOPort
IO Pin 022 IOPort
IO Pin 023 IOPort
Connectors P2 and P3: IOPorts on all pins
Regards:
Janos
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17903
- Thank you received: 4774
07 Mar 2015 08:14 #56527
by PCW
Replied by PCW on topic Custom firmware for 7i90HD
freeby.mesanet.com/bjames.zip
should be close
should be close
The following user(s) said Thank You: bjames28
Please Log in or Create an account to join the conversation.
- bjames28
- Offline
- Senior Member
Less
More
- Posts: 77
- Thank you received: 0
09 Mar 2015 00:11 #56546
by bjames28
Replied by bjames28 on topic Custom firmware for 7i90HD
Hi PCW,
Thank you very much for the firmware.
I flashed it was unable to test, because I got the following error:
Kernel: 2.6.32-122-rtai, LinuxCNC 2.6.4
[ 65.842792] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 65.842925] RTAI[usi]: enabled.
[ 65.998357] RTAI[math]: loaded.
[ 66.138301] hm2_7i90: Unknown symbol hm2_register
[ 66.139543] hm2_7i90: Unknown symbol hm2_unregister
[ 66.898956] RTAI[math]: unloaded.
[ 67.016359] SCHED releases registered named ALIEN RTGLBH
[ 67.049288] RTAI[malloc]: unloaded.
HAL file:
loadrt trivkins
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
loadrt hm2_7i90 ioaddr=0x378 ioaddr_hi=0x0778 config="num_encoders=1 num_stepgens=4"
The same I have with Machinekit / rt-preempt / rtai kernels.
Should I make further tests, or make bug report somewhere else?
Best regards:
Janos
Thank you very much for the firmware.
I flashed it was unable to test, because I got the following error:
Kernel: 2.6.32-122-rtai, LinuxCNC 2.6.4
[ 65.842792] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 65.842925] RTAI[usi]: enabled.
[ 65.998357] RTAI[math]: loaded.
[ 66.138301] hm2_7i90: Unknown symbol hm2_register
[ 66.139543] hm2_7i90: Unknown symbol hm2_unregister
[ 66.898956] RTAI[math]: unloaded.
[ 67.016359] SCHED releases registered named ALIEN RTGLBH
[ 67.049288] RTAI[malloc]: unloaded.
HAL file:
loadrt trivkins
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
loadrt hm2_7i90 ioaddr=0x378 ioaddr_hi=0x0778 config="num_encoders=1 num_stepgens=4"
The same I have with Machinekit / rt-preempt / rtai kernels.
Should I make further tests, or make bug report somewhere else?
Best regards:
Janos
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17903
- Thank you received: 4774
09 Mar 2015 00:15 #56547
by PCW
Replied by PCW on topic Custom firmware for 7i90HD
I would try on a current system
(wheezy, Linuxcnc 2.6.7)
(wheezy, Linuxcnc 2.6.7)
Please Log in or Create an account to join the conversation.
- bjames28
- Offline
- Senior Member
Less
More
- Posts: 77
- Thank you received: 0
09 Mar 2015 02:23 #56549
by bjames28
Replied by bjames28 on topic Custom firmware for 7i90HD
Tested on Wheezy / 3.2.0-4-rt-686-pae kernel / LinuxCNC 2.7.0pre4: the same result, undefined symbol: hm2_unregister
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17903
- Thank you received: 4774
09 Mar 2015 02:33 - 09 Mar 2015 02:44 #56550
by PCW
Replied by PCW on topic Custom firmware for 7i90HD
can you try the iso image? looks like possibly a compilation issue?
Edit:
did you loadrt hostmot2 before hm2_7i90?
Edit:
did you loadrt hostmot2 before hm2_7i90?
Last edit: 09 Mar 2015 02:44 by PCW.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.080 seconds