Mesa UART doesnt work after update to linuxcnc2.8

More
7 years 2 months ago #142005 by andypugh
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?

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

More
7 years 2 months ago #142012 by rodw
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.

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

More
7 years 2 months ago #142017 by thang

andypugh wrote: 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 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).
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.

More
7 years 2 months ago #142023 by andypugh
Can you check that your firmware still has UARTs?

[code}halrun
loadrt hostmot2
loadrt hm2_pci
exit
dmesg
[/code]

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

More
7 years 2 months ago #142311 by thang
My dmesg file:

File Attachment:

File Name: dmesg.txt
File Size:56.05 KB


My dmesg2 file for the source that is running ok:

File Attachment:

File Name: dmesg2.txt
File Size:56.37 KB

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

More
7 years 2 months ago #142315 by andypugh
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.

Moderators: PCW, jmelson
Time to create page: 0.315 seconds
Powered by Kunena Forum