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 :

File Attachment:

File Name: pktuart_20...3-14.txt
File Size:3.52 KB

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 or Create an account 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 or Create an account 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.
The following user(s) said Thank You: thang

Please Log in or Create an account 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:

File Attachment:

File Name: bug.txt
File Size:805 B


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.

File Attachment:

File Name: PIN_7I76x1...D_51.txt
File Size:4.06 KB

Mesaflash show:

File Attachment:

File Name: mesaflash.txt
File Size:0 B


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

Please Log in or Create an account 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 or Create an account 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:

File Attachment:

File Name: 2ndFW.txt
File Size:805 B

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

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