mk-hal deb for test with sserial parse only mod.
Due to the number of changes I choose to creative a conservative change 
only modding the:
hm2_sserial_parse_md() function, this is what does the intial probing and 
pin setting..
The file you should use I think is:
 machinekit-hal-rt-preempt_0.2.1566764039.gitf3af8e09e-1~stretch_armhf.deb

I added the other one just in case...

On Saturday, 24 August 2019 20:19:36 UTC+2, Michael Brown wrote:
>
> Got some scope results:
> https://github.com/machinekit/mksocfpga/issues/107#issuecomment-524570613
>
>
> On Saturday, 24 August 2019 19:31:04 UTC+2, justin White wrote:
>
> @Michael, if ya need any info from my LCNC machine let me know. It's not 
> MK but it does have a working SS setup that's easy to check.
>
> Also, if it makes it any easier for you to test anything I'm about to 
> order what's hopefully my final board rev. I can whip you one up and send 
> it your way, might be useful if you get an SS remote on hand.
>
> On Saturday, August 24, 2019 at 1:20:09 PM UTC-4, justin White wrote:
>
> I'm not sure if this helps you but SS pins always look like normal I/O if 
> they don't detect a remote on the channel after coming up. Since I have it 
> out I connected the 8i20 to my project machine's 7i96 that I don't 
> typically use SS with. This is LinuxCNC 2.8pre1
>
> No 8i20 connected, note IO pins 30 and 31:
> shade@Viewer:~$ halrun
> halcmd: source /home/shade/linuxcnc/SS_Test.halrun 
> Note: Using POSIX realtime
> hm2: loading Mesa HostMot2 driver version 0.15
> hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
> hm2_eth: 10.10.10.10: Hardware address: 00:60:1b:16:00:21
> hm2_eth: discovered 7I96
> hm2/hm2_7i96.0: Smart Serial Firmware Version 43
> hm2/hm2_7i96.0: 51 I/O Pins used:
> hm2/hm2_7i96.0:     IO Pin 000 (TB3-01): IOPort
> hm2/hm2_7i96.0:     IO Pin 001 (TB3-02): IOPort
> hm2/hm2_7i96.0:     IO Pin 002 (TB3-03): IOPort
> hm2/hm2_7i96.0:     IO Pin 003 (TB3-04): IOPort
> hm2/hm2_7i96.0:     IO Pin 004 (TB3-05): IOPort
> hm2/hm2_7i96.0:     IO Pin 005 (TB3-06): IOPort
> hm2/hm2_7i96.0:     IO Pin 006 (TB3-07): IOPort
> hm2/hm2_7i96.0:     IO Pin 007 (TB3-08): IOPort
> hm2/hm2_7i96.0:     IO Pin 008 (TB3-09): IOPort
> hm2/hm2_7i96.0:     IO Pin 009 (TB3-10): IOPort
> hm2/hm2_7i96.0:     IO Pin 010 (TB3-11): IOPort
> hm2/hm2_7i96.0:     IO Pin 011 (TB3-13/TB3-14): SSR #0, pin Out-00 (Output)
> hm2/hm2_7i96.0:     IO Pin 012 (TB3-15/TB3-16): SSR #0, pin Out-01 (Output)
> hm2/hm2_7i96.0:     IO Pin 013 (TB3-17/TB3-18): SSR #0, pin Out-02 (Output)
> hm2/hm2_7i96.0:     IO Pin 014 (TB3-19/TB3-20): SSR #0, pin Out-03 (Output)
> hm2/hm2_7i96.0:     IO Pin 015 (TB3-21/TB3-22): SSR #0, pin Out-04 (Output)
> hm2/hm2_7i96.0:     IO Pin 016 (TB3-23/TB3-24): SSR #0, pin Out-05 (Output)
> hm2/hm2_7i96.0:     IO Pin 017 (TB1-02/TB1-03): StepGen #0, pin Step 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 018 (TB1-04/TB1-05): StepGen #0, pin Direction 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 019 (TB1-08/TB1-09): StepGen #1, pin Step 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 020 (TB1-10/TB1-11): StepGen #1, pin Direction 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 021 (TB1-14/TB1-15): StepGen #2, pin Step 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 022 (TB1-16/TB1-17): StepGen #2, pin Direction 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 023 (TB1-20/TB1-21): StepGen #3, pin Step 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 024 (TB1-22-TB1-23): StepGen #3, pin Direction 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 025 (TB2-01/TB2-03): StepGen #4, pin Step 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 026 (TB2-04/TB2-05): StepGen #4, pin Direction 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 027 (TB2-07/TB2-08): Encoder #0, pin A (Input)
> hm2/hm2_7i96.0:     IO Pin 028 (TB2-10/TB2-11): Encoder #0, pin B (Input)
> hm2/hm2_7i96.0:     IO Pin 029 (TB2-13/TB2-14): Encoder #0, pin Index 
> (Input)
> hm2/hm2_7i96.0:     IO Pin 030 (TB2-16/TB2-17): IOPort
> hm2/hm2_7i96.0:     IO Pin 031 (TB2-18/TB2-19): IOPort
> hm2/hm2_7i96.0:     IO Pin 032 (internal): IOPort
> hm2/hm2_7i96.0:     IO Pin 033 (internal): SSR #0, pin AC Ref (internal) 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 034 (P1-01): IOPort
> hm2/hm2_7i96.0:     IO Pin 035 (P1-02): IOPort
> hm2/hm2_7i96.0:     IO Pin 036 (P1-03): IOPort
> hm2/hm2_7i96.0:     IO Pin 037 (P1-04): IOPort
> hm2/hm2_7i96.0:     IO Pin 038 (P1-05): IOPort
> hm2/hm2_7i96.0:     IO Pin 039 (P1-06): IOPort
> hm2/hm2_7i96.0:     IO Pin 040 (P1-07): IOPort
> hm2/hm2_7i96.0:     IO Pin 041 (P1-08): IOPort
> hm2/hm2_7i96.0:     IO Pin 042 (P1-09): IOPort
> hm2/hm2_7i96.0:     IO Pin 043 (P1-11): IOPort
> hm2/hm2_7i96.0:     IO Pin 044 (P1-13): IOPort
> hm2/hm2_7i96.0:     IO Pin 045 (P1-15): IOPort
> hm2/hm2_7i96.0:     IO Pin 046 (P1-17): IOPort
> hm2/hm2_7i96.0:     IO Pin 047 (P1-19): IOPort
> hm2/hm2_7i96.0:     IO Pin 048 (P1-21): IOPort
> hm2/hm2_7i96.0:     IO Pin 049 (P1-23): IOPort
> hm2/hm2_7i96.0:     IO Pin 050 (P1-25): IOPort
> hm2/hm2_7i96.0: registered
>
>
> With the 8i20 connected and the same source file:
> shade@Viewer:~$ halrun
> halcmd: source /home/shade/linuxcnc/SS_Test.halrun 
> Note: Using POSIX realtime
> hm2: loading Mesa HostMot2 driver version 0.15
> hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
> hm2_eth: 10.10.10.10: Hardware address: 00:60:1b:16:00:21
> hm2_eth: discovered 7I96
> hm2/hm2_7i96.0: Smart Serial Firmware Version 43
> hm2/hm2_7i96.0: 51 I/O Pins used:
> hm2/hm2_7i96.0:     IO Pin 000 (TB3-01): IOPort
> hm2/hm2_7i96.0:     IO Pin 001 (TB3-02): IOPort
> hm2/hm2_7i96.0:     IO Pin 002 (TB3-03): IOPort
> hm2/hm2_7i96.0:     IO Pin 003 (TB3-04): IOPort
> hm2/hm2_7i96.0:     IO Pin 004 (TB3-05): IOPort
> hm2/hm2_7i96.0:     IO Pin 005 (TB3-06): IOPort
> hm2/hm2_7i96.0:     IO Pin 006 (TB3-07): IOPort
> hm2/hm2_7i96.0:     IO Pin 007 (TB3-08): IOPort
> hm2/hm2_7i96.0:     IO Pin 008 (TB3-09): IOPort
> hm2/hm2_7i96.0:     IO Pin 009 (TB3-10): IOPort
> hm2/hm2_7i96.0:     IO Pin 010 (TB3-11): IOPort
> hm2/hm2_7i96.0:     IO Pin 011 (TB3-13/TB3-14): SSR #0, pin Out-00 (Output)
> hm2/hm2_7i96.0:     IO Pin 012 (TB3-15/TB3-16): SSR #0, pin Out-01 (Output)
> hm2/hm2_7i96.0:     IO Pin 013 (TB3-17/TB3-18): SSR #0, pin Out-02 (Output)
> hm2/hm2_7i96.0:     IO Pin 014 (TB3-19/TB3-20): SSR #0, pin Out-03 (Output)
> hm2/hm2_7i96.0:     IO Pin 015 (TB3-21/TB3-22): SSR #0, pin Out-04 (Output)
> hm2/hm2_7i96.0:     IO Pin 016 (TB3-23/TB3-24): SSR #0, pin Out-05 (Output)
> hm2/hm2_7i96.0:     IO Pin 017 (TB1-02/TB1-03): StepGen #0, pin Step 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 018 (TB1-04/TB1-05): StepGen #0, pin Direction 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 019 (TB1-08/TB1-09): StepGen #1, pin Step 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 020 (TB1-10/TB1-11): StepGen #1, pin Direction 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 021 (TB1-14/TB1-15): StepGen #2, pin Step 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 022 (TB1-16/TB1-17): StepGen #2, pin Direction 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 023 (TB1-20/TB1-21): StepGen #3, pin Step 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 024 (TB1-22-TB1-23): StepGen #3, pin Direction 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 025 (TB2-01/TB2-03): StepGen #4, pin Step 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 026 (TB2-04/TB2-05): StepGen #4, pin Direction 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 027 (TB2-07/TB2-08): Encoder #0, pin A (Input)
> hm2/hm2_7i96.0:     IO Pin 028 (TB2-10/TB2-11): Encoder #0, pin B (Input)
> hm2/hm2_7i96.0:     IO Pin 029 (TB2-13/TB2-14): Encoder #0, pin Index 
> (Input)
> hm2/hm2_7i96.0:     IO Pin 030 (TB2-16/TB2-17): Smart Serial Interface #0, 
> pin RxData0 (Input)
> hm2/hm2_7i96.0:     IO Pin 031 (TB2-18/TB2-19): Smart Serial Interface #0, 
> pin TxData0 (Output)
> hm2/hm2_7i96.0:     IO Pin 032 (internal): Smart Serial Interface #0, pin 
> TxEn0   (Output)
> hm2/hm2_7i96.0:     IO Pin 033 (internal): SSR #0, pin AC Ref (internal) 
> (Output)
> hm2/hm2_7i96.0:     IO Pin 034 (P1-01): IOPort
> hm2/hm2_7i96.0:     IO Pin 035 (P1-02): IOPort
> hm2/hm2_7i96.0:     IO Pin 036 (P1-03): IOPort
> hm2/hm2_7i96.0:     IO Pin 037 (P1-04): IOPort
> hm2/hm2_7i96.0:     IO Pin 038 (P1-05): IOPort
> hm2/hm2_7i96.0:     IO Pin 039 (P1-06): IOPort
> hm2/hm2_7i96.0:     IO Pin 040 (P1-07): IOPort
> hm2/hm2_7i96.0:     IO Pin 041 (P1-08): IOPort
> hm2/hm2_7i96.0:     IO Pin 042 (P1-09): IOPort
> hm2/hm2_7i96.0:     IO Pin 043 (P1-11): IOPort
> hm2/hm2_7i96.0:     IO Pin 044 (P1-13): IOPort
> hm2/hm2_7i96.0:     IO Pin 045 (P1-15): IOPort
> hm2/hm2_7i96.0:     IO Pin 046 (P1-17): IOPort
> hm2/hm2_7i96.0:     IO Pin 047 (P1-19): IOPort
> hm2/hm2_7i96.0:     IO Pin 048 (P1-21): IOPort
> hm2/hm2_7i96.0:     IO Pin 049 (P1-23): IOPort
> hm2/hm2_7i96.0:     IO Pin 050 (P1-25): IOPort
> hm2/hm2_7i96.0: registered
> halcmd: show pin *8i20*
> Component Pins:
> Owner   Type  Dir         Value  Name
>     14  float IN              0  hm2_7i96.0.8i20.0.0.angle
>     14  float OUT           3.2  hm2_7i96.0.8i20.0.0.bus-voltage
>     14  float OUT            24  hm2_7i96.0.8i20.0.0.card-temp
>     14  float IN              0  hm2_7i96.0.8i20.0.0.current
>     14  bit   OUT         FALSE  hm2_7i96.0.8i20.0.0.fault.U-current
>     14  bit   OUT          TRUE  hm2_7i96.0.8i20.0.0.fault.U-current-not
>     14  bit   OUT         FALSE  hm2_7i96.0.8i20.0.0.fault.V-current
>     14  bit   OUT          TRUE  hm2_7i96.0.8i20.0.0.fault.V-current-not
>     14  bit   OUT         FALSE  hm2_7i96.0.8i20.0.0.fault.W-current
>     14  bit   OUT          TRUE  hm2_7i96.0.8i20.0.0.fault.W-current-not
>     14  bit   OUT         FALSE  hm2_7i96.0.8i20.0.0.fault.bus-high
>     14  bit   OUT          TRUE  hm2_7i96.0.8i20.0.0.fault.bus-high-not
>     14  bit   OUT         FALSE  hm2_7i96.0.8i20.0.0.fault.bus-overv
>     14  bit   OUT          TRUE  hm2_7i96.0.8i20.0.0.fault.bus-overv-not
>     14  bit   OUT         FALSE  hm2_7i96.0.8i20.0.0.fault.bus-underv
>     14  bit   OUT          TRUE  hm2_7i96.0.8i20.0.0.fault.bus-underv-not
>     14  bit   OUT         FALSE  hm2_7i96.0.8i20.0.0.fault.framingr
>     14  bit   OUT          TRUE  hm2_7i96.0.8i20.0.0.fault.framingr-not
>     14  bit   OUT         FALSE  hm2_7i96.0.8i20.0.0.fault.module
>     14  bit   OUT          TRUE  hm2_7i96.0.8i20.0.0.fault.module-not
>     14  bit   OUT         FALSE  hm2_7i96.0.8i20.0.0.fault.no-enable
>     14  bit   OUT          TRUE  hm2_7i96.0.8i20.0.0.fault.no-enable-not
>     14  bit   OUT         FALSE  hm2_7i96.0.8i20.0.0.fault.overcurrent
>     14  bit   OUT          TRUE  hm2_7i96.0.8i20.0.0.fault.overcurrent-not
>     14  bit   OUT         FALSE  hm2_7i96.0.8i20.0.0.fault.overrun
>     14  bit   OUT          TRUE  hm2_7i96.0.8i20.0.0.fault.overrun-not
>     14  bit   OUT         FALSE  hm2_7i96.0.8i20.0.0.fault.overtemp
>     14  bit   OUT          TRUE  hm2_7i96.0.8i20.0.0.fault.overtemp-not
>     14  bit   OUT         FALSE  hm2_7i96.0.8i20.0.0.fault.watchdog
>     14  bit   OUT          TRUE  hm2_7i96.0.8i20.0.0.fault.watchdog-not
>     14  bit   OUT         FALSE  hm2_7i96.0.8i20.0.0.status.brake-old
>     14  bit   OUT          TRUE  hm2_7i96.0.8i20.0.0.status.brake-old-not
>     14  bit   OUT         FALSE  hm2_7i96.0.8i20.0.0.status.brake-on
>     14  bit   OUT          TRUE  hm2_7i96.0.8i20.0.0.status.brake-on-not
>     14  bit   OUT          TRUE  hm2_7i96.0.8i20.0.0.status.bus-underv
>     14  bit   OUT         FALSE  hm2_7i96.0.8i20.0.0.status.bus-underv-not
>     14  bit   OUT         FALSE  hm2_7i96.0.8i20.0.0.status.current-lim
>     14  bit   OUT          TRUE  hm2_7i96.0.8i20.0.0.status.current-lim-not
>
> ...

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/d5b0f781-f00d-48e7-bb08-a49d3e0c8d27%40googlegroups.com.

Attachment: machinekit-hal_0.2.1566764039.gitf3af8e09e-1~stretch_armhf.buildinfo
Description: Binary data

Reply via email to