Skip to content

Expatria-Technologies/Remora-STM32F4xx-W5500

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Remora-STM32F4xx-W5500

Port of Remora to uFlexiNet+FlexiHAL

Installation instructions

Start by flashing the Remora UF2 firmware to your FlexiHAL.

This firmware uses a basically unchanged version of the Remora-eth-0.3.0 ethernet component that is located here:

https:/Expatria-Technologies/Remora/tree/main/LinuxCNC/Components/Remora-eth

All testing is done with the Flexi-Pi LinuxCNC image from here:

https:/Expatria-Technologies/remora-flexi-hal

From your linuxcnc home folder, clone the Remora repo and move to the Remora-eth component folder.

git clone https:/Expatria-Technologies/Remora.git
cd Remora/LinuxCNC/Components/Remora-eth

Compile the component using halcompile

sudo halcompile --install remora-eth.c

Then upload your configuration file to the FlexiHAL using the upload_config.py script that should be in your configuration folder:

python3 upload_config.py FlexiHAL-config.txt

A basic configuration to get started is located here:

https:/Expatria-Technologies/linuxcnc_configs/tree/main/flexi-hal-uFlexiNet-XYZ

To use the RS485 interface on the FlexiHAL you can set up a virtual serial port and use socat to bridge between userspace Modbus components and Remora. If the RS485 component is included in the board config txt, it will listen on port 27183 for UDP packets and forward them to the RS485 port:

socat pty, link=/tmp/virtualcom0, raw udp:10.10.10.10:27183 &

All credit to Scotta and Terje IO as this project draws heavily from Remora (especially the RP2040 and STM32-W5500 ports) and also GRBLHAL (especially for the SPI DMA and networking stack)