Remote Error between Mesa card 5i25 with my daughter board!

More
8 years 4 months ago #111381 by SyNguyen
Hi everyone!

I have a error that is "halcmd: hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.rb3t.1.1 remote error = (8) Remote fault". I want to connect Mesa card 5i25 with my daughter board which is similar with daughter 7i84 board by Smart Serial protocol. But when i run command
""
loadrt hostmot2
loadrt hm2_pci config=sserial_port_1=00000000
loadrt threads name1=test1 period1=1000000
addf hm2_5i25.0.write test1
addf hm2_5i25.0.read test1
start
""
then the error above is appear. I dont know how to resolve the problem this. I need your help! Thank you so much!

Please Log in to join the conversation.

More
8 years 4 months ago #111391 by PCW
It most likely means that at some point your remote returned a non-0 fault byte. The fault byte is the first byte sent by the remote when the remote receives the process data RPC. The fault byte is also accessed (cleared and read ) by the host interface when a normal start command is issued. You might have an issue at this point also.

LinuxCNC/Halcmd are not really good debugging tools for register level debugging, i think you would be better of just issuing a normal start command and doing a SSLBP register dump to see what's going on without launching a complex driver that's doing way too much

Please Log in to join the conversation.

More
8 years 4 months ago #111444 by SyNguyen
Hi Sir,

Thank you so much for your reply to my topic. I also think the error is the fault byte. it's incorrect. So when i return the respond in the process data step, my the first byte is 0x00 and data for request, but it isn't fix the error. I think the timeout of both master and remote that are not synchronization. What do you think it?

Please Log in to join the conversation.

More
8 years 4 months ago #111457 by PCW
Are you sure you returned a 0 byte earlier when the FPGA code asked to read the fault byte?

Please Log in to join the conversation.

More
8 years 4 months ago #111585 by SyNguyen
Hi Sir,

Thank you so much for your recommend. The error is fixed.

Please Log in to join the conversation.

Time to create page: 0.150 seconds
Powered by Kunena Forum