PKTUARTTest error

More
8 years 7 months ago #107337 by thang
PKTUARTTest error was created by thang
Hi,

I flashed bitfile PKTUARTTest_72 that was made from PIN_PKTUARTTest_72.vhd. But when i try check firmware by command "readhmid" the terminal show me this :

Attachment not found


How to fix it? i'm using xilinx 14.7 ISE.I took firmware src from
github.com/LinuxCNC/hostmot2-firmware/bl...N_PktUARTTest_72.vhd

Please Log in to join the conversation.

More
8 years 7 months ago #107359 by andypugh
Replied by andypugh on topic PKTUARTTest error
I think you need a 2.8 version of linuxCNC for pktuart to be detected. (And I am not 100% sure that Mesaflash understands pktUART anyway, it has a separate development cycle to LinuxCNC.

Try
Code:
halrun loadrt hostmot2 loadrt hm2_pci show pin exit

Please Log in to join the conversation.

More
8 years 7 months ago #107360 by andypugh
Replied by andypugh on topic PKTUARTTest error
addendum: 6100 and 6500 are UART base addresses, so I think that the firmware is probably good. It's a Mesaflash version problem.

Please Log in to join the conversation.

More
8 years 7 months ago #107367 by thang
Replied by thang on topic PKTUARTTest error
i'm using linuxcnc 2.8 on ubuntu 16.4.

loadrt hm2_pci give me this bug:

Attachment not found



I can flash another firmware normally. Here i tried another firmware that has pktuart, it's name PIN_7I76x1_PktD_51, But there is only pktuart's pins show unkown.

Attachment not found


Mesaflash show:

Attachment not found



i also try change: InstStride1: integer := 64 to 16 but nothing change.

Please Log in to join the conversation.

More
8 years 7 months ago #107368 by andypugh
Replied by andypugh on topic PKTUARTTest error
It looks like there is a problem with the first firmware.

Can you try the HAL commands with the second firmware?

Please Log in to join the conversation.

More
8 years 7 months ago #107410 by thang
Replied by thang on topic PKTUARTTest error
i think pktuart has problem because in 2nd firmware every pins are normal except pktuart pin

halcmd command of 2nd firmware show:

Attachment not found

Please Log in to join the conversation.

More
8 years 7 months ago #107417 by andypugh
Replied by andypugh on topic PKTUARTTest error
Is this error raised by a firmware downloaded from Mesa?

Please Log in to join the conversation.

More
8 years 7 months ago #107421 by thang
Replied by thang on topic PKTUARTTest error
no, i took both of them from here:
github.com/LinuxCNC/hostmot2-firmware/bl...N_PktUARTTest_72.vhd
then i add it into xilinx library

Please Log in to join the conversation.

More
8 years 7 months ago #107422 by andypugh
Replied by andypugh on topic PKTUARTTest error
PktUARTTest_72 is for a 72-pin board.
You have a 34-pin board (5i25) I think, so you need to use a 34 IO pin firmware:
github.com/LinuxCNC/hostmot2-firmware/bl..._PktUART1inst_34.vhd

Please Log in to join the conversation.

More
8 years 7 months ago #107428 by PCW
Replied by PCW on topic PKTUARTTest error
Right, you need to use a pinout file (or create one) that has the correct number of pins
and the correct number of I/O ports (34 pins and 2 ports for a 5I25)

The actual driver error message is caused by using a pinout file for a device that has 3 I/O ports,
not 2 I/O ports like a 5I25

Please Log in to join the conversation.

Time to create page: 0.108 seconds
Powered by Kunena Forum