On 2016-10-29 19:53, Janos Bujtar wrote:
>
> I found similar issue related to machinekit, therefore I assumed it can be
> more relevant on this forum than on LinuxCNC.
>
> I was just unable to put together all pieces of puzzle correctly.
>
Janos,
yes and throwing the pieces seperate each per message is not really helpfully.
1st piece : are you sure the 7i90 generally works as expected?
if true
2nd: why do you know this? what shows your method which you are using?
3rd: how do you flash the 7i90? Are you sure it is running the right bit-file?
If true:
4th: works the spi communication generally? How did you verify this?
aso, aso....
I have no clue about your skills.
Maybe you are a mesa expert and using mesaflash is your staff of life.
But I don't know.
Here is a example log of a working setup:
May 21 20:07:05 machinekit msgd:0: <C3><98>MQ=4.0.5 czmq=2.2.0 protobuf=2.4.1
libwebsockets=<no version symbol>
May 21 20:07:05 machinekit msgd:0: configured: sha=651c7e7
May 21 20:07:05 machinekit msgd:0: built: May 10 2016 07:18:33 sha=651c7e7
May 21 20:07:05 machinekit msgd:0: zeroconf: connecting - mDNS server not yet
available (avahi-daemon not installed or not runnung?)
May 21 20:07:05 machinekit msgd:0: rtapi_app:5324:user accepting commands at
ipc:///tmp/0.rtapi.a42c8c6b-4025-4f83-ba28-dad21114744a
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2: loading Mesa HostMot2
driver version 0.15
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt Base:hm2_7i90.0
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: 72 I/O Pins
used:
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
000 (P1-01): StepGen #0, pin Step (Output)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
001 (P1-03): StepGen #0, pin Direction (Output)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
002 (P1-05): StepGen #1, pin Step (Output)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
003 (P1-07): StepGen #1, pin Direction (Output)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
004 (P1-09): Encoder #0, pin A (Input)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
005 (P1-11): Encoder #2, pin A (Input)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
006 (P1-13): Encoder #0, pin B (Input)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
007 (P1-15): Encoder #2, pin B (Input)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
008 (P1-17): Encoder #0, pin Index (Input)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
009 (P1-19): Encoder #2, pin Index (Input)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
010 (P1-21): Encoder #1, pin A (Input)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
011 (P1-23): Encoder #3, pin A (Input)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
012 (P1-25): Encoder #1, pin B (Input)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
013 (P1-27): Encoder #3, pin B (Input)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
014 (P1-29): Encoder #1, pin Index (Input)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
015 (P1-31): Encoder #3, pin Index (Input)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
016 (P1-33): StepGen #2, pin Step (Output)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
017 (P1-35): StepGen #2, pin Direction (Output)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
018 (P1-37): StepGen #3, pin Step (Output)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
019 (P1-39): StepGen #3, pin Direction (Output)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
020 (P1-41): PWMGen #0, pin Out0 (PWM or Up) (Output)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
021 (P1-43): PWMGen #0, pin Out1 (Dir or Down) (Output)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
022 (P1-45): PWMGen #1, pin Out0 (PWM or Up) (Output)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
023 (P1-47): PWMGen #1, pin Out1 (Dir or Down) (Output)
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
024 (P2-01): IOPort
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
025 (P2-03): IOPort
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
026 (P2-05): IOPort
...
shortend
...
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: IO Pin
071 (P3-47): IOPort
May 21 20:07:06 machinekit msgd:0: hal_lib:5324:rt hm2/hm2_7i90.0: registered
--
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 [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.