Hostmot2 firmware

More
09 Jul 2023 22:33 #275099 by Cyber
Hostmot2 firmware was created by Cyber
Hello, 

I'm using a Tormach machine with a Torstep board, I have noticed that the board has an STM 32  microcontroller on it. my question is does Hostmot2 firmware support the microcontroller since it's designed for FPGA?     

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

More
09 Jul 2023 22:42 #275101 by PCW
Replied by PCW on topic Hostmot2 firmware
What hardware driver is is launched in the hal file?

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

More
10 Jul 2023 13:31 #275136 by Cyber
Replied by Cyber on topic Hostmot2 firmware
this is the content from the hal file. it doe load Hostmot2.

########################################################################
#
# Tormach xsTECH router HAL config for Torstep control board
#

loadrt trivkins
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES num_dio=64 num_aio=64
loadrt hostmot2
loadrt [HOSTMOT2]DRIVER [HOSTMOT2]DRIVER_PARAMS
loadrt estop_latch
loadrt toggle count=1
loadrt not names=prog-not-idle
loadrt gearchange count=1
loadrt xor2 names=probe-active-hi-lo
loadrt debounce cfg=5
loadrt pid num_chan=4
loadrt tormachspindle names=tormachspindle
loadrt and2 names=enable-limit-z,probe-enable-input,door-limit-in,y-axis-lim-sw-and2,fake-door-lock,limit-x,limit-y,limit-z,fake-probe2
loadrt lut5 names=door-limit-x-lut,door-limit-y-lut
loadrt dspin

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

More
10 Jul 2023 13:48 #275137 by PCW
Replied by PCW on topic Hostmot2 firmware
Looks like they emulate hostmot2 in the STM32
(you might look in the .ini file to see if they use the hm2_eth hardware driver)
The following user(s) said Thank You: Cyber

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

More
10 Jul 2023 16:43 #275142 by Cyber
Replied by Cyber on topic Hostmot2 firmware
thank you so much for your response, they do use hm2_eth in the .ini file.

so what do you mean by emulating hostmot2 in the STM32? I noticed the board has a micro USB interface on it. do you you have any idea how I can push the firmware to the controller?

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

More
10 Jul 2023 17:03 #275143 by PCW
Replied by PCW on topic Hostmot2 firmware
You would have to ask Tormach any specific questions related to their hardware.
The following user(s) said Thank You: Cyber

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

More
10 Jul 2023 18:09 #275147 by JPL
Replied by JPL on topic Hostmot2 firmware
Have a look here: forums.tormach.com/t/communication-proto...nd-xstech-router/840

This is from someone working for Tormach (2nd comment): 

There’s no FPGA in the board that does the xsTech’s motion control, so LBP16 isn’t used/required. We use a variant of Mesa’s smart serial to send velocity and IO commands the xsTech control board.

(xsTech router uses torstep board)

You will also find many info about Tormach here: github.com/tormach/Repair-Information
Then, Tormach forum may also be a better place to ask such specific question.
The following user(s) said Thank You: Cyber

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

Moderators: cncbasher
Time to create page: 0.319 seconds
Powered by Kunena Forum