New project, litehm2: a hostmot2 port to linsn rv901t

More
2 years 4 months ago #303835 by sensille
Yes, the patch is not in 2.9.2, just in the current master, scheduled for 2.10.

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

More
2 years 4 months ago #303976 by dzik
Done
 

File Attachment:

File Name: ALL.txt
File Size:48.17 KB

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

More
2 years 4 months ago - 2 years 4 months ago #303989 by PCW
./EMCO.hal:10: parameter or pin 'hm2_lhm2.0.pwmgen.pwm_frequency' not found

looks like a misspelling in your hal file, the correct name is

hm2_lite.0.pwmgen.pwm_frequency
Last edit: 2 years 4 months ago by PCW.

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

More
2 years 3 months ago - 2 years 3 months ago #304240 by dzik
Help me please. I could not get.
I installed the mesaflash patch, it refused to see the board, mesaflash from LinuxCNC saw the board.

 
If I find the board, apply it and close it, the board starts with errors in the hal file, as I showed earlier, after restarting pncconf, and this window appears, the board stops starting.
Replacing it in the hal file does not help.

Then I noticed that when I search for the board through pnconf via DiscoveryOptions, it finds it:
 

What seemed strange to me is that the name of the board is MESAlhm2
 

Why? 
Because after I clicked AcceptChanges, it gave me an error.
 

And then I noticed that if you select the lhm2 board then everything works, perhaps this is the correct procedure. However, there are doubts that it is possible that on the initial firmware of the board I specified this name for myself, and this entails a number of errors.

 
Because The developer's instructions are outdated because it does not have board.conf and litehm2.bit.
From the current examples, it was not possible (initially) to install the firmware. I installed litehm2 which is here for XU. Then the board started up.
When I install other bit files they go through and the config changes, but something is wrong.

Now in the example configs the name of the board is RV901t

 

 
Last edit: 2 years 3 months ago by dzik.

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

More
2 years 3 months ago #304248 by Cant do this anymore bye all
The board name in the conf file is for building the firmware, the developer has a branch for another board that uses a different brand of FPGA, the tools used for the build will depend on the FPGA brand used. The conf file defines the configuration you want for your board, Linuxcnc does not use it.

The actual board name presented to Linuxcnc is buried within the vdhl files.

Towards the end of the gitub README
TODOs
add more boards
use InM and OutM instead of GPIO
make pncconf and mesact work out of the box

Which looking at the latest commits there has been no mention of.

So for the time being one would expect a user to start with the developer supplied ini & hal files and modify to suit.

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

More
2 years 3 months ago #304252 by PCW
The base name used in LinuxCNCs hal pins/parameters/functions
is a bit more involved. On Ethernet cards, the Ethernet card name
(LITEHM2) is used by the driver to create the base name.
(hm2_lite in this case)

 

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

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