Mesa UART doesnt work after update to linuxcnc2.8
- rodw
- Offline
- Platinum Member
Less
More
- Posts: 10746
- Thank you received: 3543
07 Aug 2019 07:49 #141592
by rodw
Replied by rodw on topic Mesa UART doesnt work after update to linuxcnc2.8
Bit of a long shot but: Early in its life V 2.8 did not check for the ini file version and ask for an upgrade from V 2.7. I wonder if part of your problem is that your config was deemed to be an old version and "upgraded"?
If this has happened check the 2.8 docs about what is said about version and ensure the original version is manually updated to agree.
If this has happened check the 2.8 docs about what is said about version and ensure the original version is manually updated to agree.
Please Log in or Create an account to join the conversation.
- thang
- Offline
- Elite Member
Less
More
- Posts: 196
- Thank you received: 11
08 Aug 2019 04:03 #141652
by thang
Replied by thang on topic Mesa UART doesnt work after update to linuxcnc2.8
I dont know how to use bisect to check yet. But i tried download master version to test with halrun, this time i just use mesa_uart,modify baudrate and dont touch anything else, bug still happenned. So i think this bug happen inside recently versions
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23310
- Thank you received: 4858
12 Aug 2019 21:24 #142005
by andypugh
Replied by andypugh on topic Mesa UART doesnt work after update to linuxcnc2.8
Are you using your own uart driver .comp? mesa_uart is a pretty low-level driver and does nothing without a HAL component hooked in to it.
Very few people use it, I was wondering if _anyone_ used it until you started this thread.
linuxcnc/src/hal/drivers/mesa-hostmot2/uart.c hasn't changed for years. Which version last worked for you?
There is a problem I vaguely remember with UART and SSERIAL disagreeing over an "instance stride". Is it possible that you also updated the board firmware at the same time? Which Mesa card are you using?
Very few people use it, I was wondering if _anyone_ used it until you started this thread.
linuxcnc/src/hal/drivers/mesa-hostmot2/uart.c hasn't changed for years. Which version last worked for you?
There is a problem I vaguely remember with UART and SSERIAL disagreeing over an "instance stride". Is it possible that you also updated the board firmware at the same time? Which Mesa card are you using?
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
Less
More
- Posts: 10746
- Thank you received: 3543
13 Aug 2019 00:24 #142012
by rodw
Replied by rodw on topic Mesa UART doesnt work after update to linuxcnc2.8
Also with UART enabling BIT file installed in your mesa cards, and you run linuxcnc from the command line. the RX and TX functions will report in on initialisation. If you can't see that in the terminal window, you may have inadvertently over written the Mesa firmware on upgrade.
And Andy, I want to use the UART but don't have one of the $4k plasma cutters to talk to to actually play with the UART.
And Andy, I want to use the UART but don't have one of the $4k plasma cutters to talk to to actually play with the UART.
Please Log in or Create an account to join the conversation.
- thang
- Offline
- Elite Member
Less
More
- Posts: 196
- Thank you received: 11
13 Aug 2019 07:21 #142017
by thang
I'm using Mesa_5i25. That time i used 2 Mesa cards 1 for UART, 2nd for SSERIAL.
Replied by thang on topic Mesa UART doesnt work after update to linuxcnc2.8
I tried use latest version 2.9, It's actually original version mesa_uart just modify baudrate (i did this because i think my component has problem but it's not).Are you using your own uart driver .comp? mesa_uart is a pretty low-level driver and does nothing without a HAL component hooked in to it.
Very few people use it, I was wondering if _anyone_ used it until you started this thread.
linuxcnc/src/hal/drivers/mesa-hostmot2/uart.c hasn't changed for years. Which version last worked for you?
There is a problem I vaguely remember with UART and SSERIAL disagreeing over an "instance stride". Is it possible that you also updated the board firmware at the same time? Which Mesa card are you using?
I'm using Mesa_5i25. That time i used 2 Mesa cards 1 for UART, 2nd for SSERIAL.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23310
- Thank you received: 4858
13 Aug 2019 11:05 #142023
by andypugh
Replied by andypugh on topic Mesa UART doesnt work after update to linuxcnc2.8
Can you check that your firmware still has UARTs?
[code}halrun
loadrt hostmot2
loadrt hm2_pci
exit
dmesg
[/code]
[code}halrun
loadrt hostmot2
loadrt hm2_pci
exit
dmesg
[/code]
Please Log in or Create an account to join the conversation.
- thang
- Offline
- Elite Member
Less
More
- Posts: 196
- Thank you received: 11
16 Aug 2019 09:47 #142311
by thang
Replied by thang on topic Mesa UART doesnt work after update to linuxcnc2.8
My dmesg file:
My dmesg2 file for the source that is running ok:
My dmesg2 file for the source that is running ok:
Attachments:
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23310
- Thank you received: 4858
16 Aug 2019 12:03 #142315
by andypugh
Replied by andypugh on topic Mesa UART doesnt work after update to linuxcnc2.8
If you are using the uspace build (preempt-rt( then the useful messages don't appear in dmesg, they are found in the terminal output if you start LinuxCNC from the command line.
Please Log in or Create an account to join the conversation.
- thang
- Offline
- Elite Member
Less
More
- Posts: 196
- Thank you received: 11
19 Aug 2019 09:45 #142480
by thang
Replied by thang on topic Mesa UART doesnt work after update to linuxcnc2.8
Here is terminal informartion:
Attachments:
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23310
- Thank you received: 4858
21 Aug 2019 12:24 #142716
by andypugh
Replied by andypugh on topic Mesa UART doesnt work after update to linuxcnc2.8
I do plan to look at this, as soon as I manage to get some time at home between business trips (which have gone slightly mad lately)
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.071 seconds