Mesa UART doesnt work after update to linuxcnc2.8
- thang
- Offline
- Elite Member
Less
More
- Posts: 196
- Thank you received: 11
05 Aug 2019 04:17 #141396
by thang
Mesa UART doesnt work after update to linuxcnc2.8 was created by thang
i was using linuxcnc 2.8 about 1 year ago,recently i decided to update it to release version 2.8.
Before updating, i can use multi UART channels but now only 1 channel work. example: i use 4 UART channels, only the channel 0 work, then i disable channel 0, channel 1 will work.
I tried look at uart.c in mesa-hostmot driver but nothing difference between them.
Before updating, i can use multi UART channels but now only 1 channel work. example: i use 4 UART channels, only the channel 0 work, then i disable channel 0, channel 1 will work.
I tried look at uart.c in mesa-hostmot driver but nothing difference between them.
Please Log in or Create an account to join the conversation.
- pl7i92
- Offline
- Platinum Member
Less
More
- Posts: 1890
- Thank you received: 356
05 Aug 2019 06:17 #141401
by pl7i92
Replied by pl7i92 on topic Mesa UART doesnt work after update to linuxcnc2.8
did you update the OS also to debian stretch
and the master is at 2.9
and the master is at 2.9
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7760
- Thank you received: 2055
05 Aug 2019 09:20 #141408
by cmorley
Replied by cmorley on topic Mesa UART doesnt work after update to linuxcnc2.8
I did a quick look for an obvious commit - but found nothing obvious to me.
Can you use git bisect to find the commit that broke the behavior?
Also Andy P probably can make more intelligent suggestions -I'm sure he will chime in.
Chris M
Can you use git bisect to find the commit that broke the behavior?
Also Andy P probably can make more intelligent suggestions -I'm sure he will chime in.
Chris M
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17868
- Thank you received: 4776
05 Aug 2019 14:45 #141423
by PCW
Replied by PCW on topic Mesa UART doesnt work after update to linuxcnc2.8
Thats odd, I dont think there have been any UART related changes in 2.8 at all
The individual enable/disable logic seems to be in the mesa_uart component
so thats a likely suspect
The individual enable/disable logic seems to be in the mesa_uart component
so thats a likely suspect
Please Log in or Create an account to join the conversation.
- thang
- Offline
- Elite Member
Less
More
- Posts: 196
- Thank you received: 11
06 Aug 2019 01:48 #141464
by thang
Replied by thang on topic Mesa UART doesnt work after update to linuxcnc2.8
1. i'm using linuxcnc 2.8 on Ubuntu 16.04 with Preempt-rt, i dont think it's a reason
2. i tried git bisect but i dont see any bad revision show up
3. Here is what happen after i make a deeper text:
+ I used 4 mesa_uart(modified), everything works well in my old version
+ When i use newer version 2.8.
- If i load 4 uart channels and use all, only channel 1 work but data store in channel 1 is come from channel 4.
- If i disable channel 1 (still load it) then channel 2 will work but data store in it also come from channel 4.
- if i disable channel 4( keep 1,2,3 running), not anychannel work, no data is stored
2. i tried git bisect but i dont see any bad revision show up
3. Here is what happen after i make a deeper text:
+ I used 4 mesa_uart(modified), everything works well in my old version
+ When i use newer version 2.8.
- If i load 4 uart channels and use all, only channel 1 work but data store in channel 1 is come from channel 4.
- If i disable channel 1 (still load it) then channel 2 will work but data store in it also come from channel 4.
- if i disable channel 4( keep 1,2,3 running), not anychannel work, no data is stored
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17868
- Thank you received: 4776
06 Aug 2019 02:10 #141466
by PCW
Replied by PCW on topic Mesa UART doesnt work after update to linuxcnc2.8
Is this on identical hardware/firmware as 2.7?
Please Log in or Create an account to join the conversation.
- thang
- Offline
- Elite Member
Less
More
- Posts: 196
- Thank you received: 11
06 Aug 2019 03:37 - 06 Aug 2019 03:38 #141472
by thang
Replied by thang on topic Mesa UART doesnt work after update to linuxcnc2.8
No i didnt test it on 2.7 version. Both version are 2.8 and built in rip mode.Is this on identical hardware/firmware as 2.7?
Last edit: 06 Aug 2019 03:38 by thang.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17868
- Thank you received: 4776
06 Aug 2019 13:41 #141528
by PCW
Replied by PCW on topic Mesa UART doesnt work after update to linuxcnc2.8
I'm not clear on what has changed, have you changed OS, Firmware, or hardware?
As far as I can by the file history tell nothing major changed in the UART code recently
As far as I can by the file history tell nothing major changed in the UART code recently
Please Log in or Create an account to join the conversation.
- thang
- Offline
- Elite Member
Less
More
- Posts: 196
- Thank you received: 11
07 Aug 2019 02:45 #141562
by thang
Replied by thang on topic Mesa UART doesnt work after update to linuxcnc2.8
There is not much change, i just switch from an old 2.8 version that i download about a year ago to recent 2.8 version. Both are built in same OS, Firmware and hardware even config file.
My bug look like all data is overwrited because it's fine if i use only1 channel but if i use 2 channels, the data is stored in channel 1 come from channel 2 and channel 2 dont have any data
My bug look like all data is overwrited because it's fine if i use only1 channel but if i use 2 channels, the data is stored in channel 1 come from channel 2 and channel 2 dont have any data
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17868
- Thank you received: 4776
07 Aug 2019 03:56 #141565
by PCW
Replied by PCW on topic Mesa UART doesnt work after update to linuxcnc2.8
So I would have to agree with cmorely
It probably will require git bisect to find the
commit that broke things
It probably will require git bisect to find the
commit that broke things
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.074 seconds