7i80hd-25 bitfile with uart

More
29 Sep 2019 11:02 #146551 by sneci
7i80hd-25 bitfile with uart was created by sneci
Hi,
Every bitfile that has uart, loaded fails with the following message:
"hm2/hm2_7i80.0: inconsistent Module Descriptor for UART Transmit Channel, not loading driver"

7i80 firmware is: 7i80hd_25_svua8_4.bit

Test file:

loadrt trivkins
loadrt motmod servo_period_nsec=1000000
loadrt hostmot2
loadrt hm2_eth board_ip="192.168.1.121" config=" num_encoders=2"

Test by halrun:

ls@pcb:~/linuxcnc/configs/ppgep$ halrun utest.hal
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: 192.168.1.121: Hardware address: 00:60:1b:11:80:09
hm2_eth: discovered 7I80HD-25
hm2/hm2_7i80.0: inconsistent Module Descriptor for UART Transmit Channel, not loading driver
hm2/hm2_7i80.0: Version = 0, expected 0
hm2/hm2_7i80.0: NumRegisters = 4, expected 4
hm2/hm2_7i80.0: InstanceStride = 0x00000040, expected 0x00000010
hm2/hm2_7i80.0: MultipleRegisters = 0x0000000F, expected 0x0000000F
hm2/hm2_7i80.0: inconsistent Module Descriptor!
hm2/hm2_7i80.0: failed to parse Module Descriptor 4
board fails HM2 registration
hm2_eth: rtapi_app_main: Invalid argument (-22)
utest.hal:4: waitpid failed /home/ls/linuxcnc-dev/bin/rtapi_app hm2_eth
utest.hal:4: /home/ls/linuxcnc-dev/bin/rtapi_app exited without becoming ready
utest.hal:4: insmod for hm2_eth failed, returned -1
hm2: unloading
Note: Using POSIX realtime

What might be the problem? Does the uart only work with an existing daughter card?

Thanks
Sneci

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

More
29 Sep 2019 14:05 #146568 by pl7i92
Replied by pl7i92 on topic 7i80hd-25 bitfile with uart
hi what dautercard is connected
and is it correct powerd

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

More
29 Sep 2019 14:19 #146572 by sneci
Replied by sneci on topic 7i80hd-25 bitfile with uart
hi,
I want a simple RS232 interface that communicates with my own hardware (ATXmega).
Sneci

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

More
29 Sep 2019 14:22 #146573 by pl7i92
Replied by pl7i92 on topic 7i80hd-25 bitfile with uart
you shoudt use a USB-rs232 extension and workout your own comp to get what you want out and in to the system

like most use for Hyanyang VFD
there is a component that uses this
also the XHC component uses Rs232 connection

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

More
29 Sep 2019 14:51 #146581 by PCW
Replied by PCW on topic 7i80hd-25 bitfile with uart
What configuration do you need?
If you are using 7I80 configuration from the zip file they are pretty old and may have bugs

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

More
29 Sep 2019 14:56 #146583 by sneci
Replied by sneci on topic 7i80hd-25 bitfile with uart
Thanks for the tip. it would be nice to handle communication in real time. Maybe there will be a solution :)

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

More
29 Sep 2019 15:02 - 29 Sep 2019 15:03 #146587 by sneci
Replied by sneci on topic 7i80hd-25 bitfile with uart
Hi Peter,
8 stepgens, 4 encoders, 1 pwm and simple uart rx-tx without protocol signals.
Last edit: 29 Sep 2019 15:03 by sneci.

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

More
29 Sep 2019 15:53 #146594 by PCW
Replied by PCW on topic 7i80hd-25 bitfile with uart

File Attachment:

File Name: 7i80hd_25_...2_4d.zip
File Size:165 KB


7I80HD-25 with 4 PWMs,4 Encoders, 12 stepgens and 4 UARTs
I have included the pinout source file in case you want some modifications
Attachments:

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

More
29 Sep 2019 16:11 #146596 by sneci
Replied by sneci on topic 7i80hd-25 bitfile with uart
Great, thank you.
I'll try and report on the result.

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

More
03 Oct 2019 00:54 #146926 by andypugh
Replied by andypugh on topic 7i80hd-25 bitfile with uart
Note that there is a UART bug in the LinuxCNC driver :-(

forum.linuxcnc.org/27-driver-boards/3711...nc2-8?start=0#141396

I will push the fix in the next few days. It isn't new n 2.8, but might have managed to work with a single UART despite the bug depending on the details of the compilation......

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

Moderators: PCWjmelson
Time to create page: 0.083 seconds
Powered by Kunena Forum