Remora - ethernet NVEM cnc board

More
27 Jan 2024 02:41 #291710 by raf1110

Hello everybody
I've been following this topic for a while and I think remora is really cool.
But is there a video explaining how to put the firmware on a nvem RT1052 card because I only find videos for STMs.
Thank you very much for all the information


 

check the topic and look at my posts in reply with screenshots. 
Look for rt1052 firmware flashing with mcuexpresso  (I found it hard it was easiest way)and how to use github.com/scottalford75/Remora-RT1052-c...in/Remora-RT1052-cpp ..there is mcux repo setup just import that. do not touch code you only need connection with STlink that have CMSIS firmware installed(that was in forum as well how to flash CMSIS firmware to STlink with another STlink over internal 4pins)
I am working on manual now on how to flash and upload config to rt1052 NVEM boards on LINUXcnc on Debian 12 as suggested.

Further steps can be found earlier in this topic if you get back to this reply successfully its not far to make it work and I am unable to help with stm32 based devices as I don't own one and still work in progress due to lack of resources but I share what I can.
Read before than return if you fail return repeat ;)_ 

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

More
27 Jan 2024 02:42 #291711 by raf1110
Yes you right there are differences

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

More
27 Jan 2024 02:49 #291712 by raf1110
so far I came up with this and I hope it helps a little



Remora NVEM v5 RT1052 firmware config upload tutorial

Debian 12 setup linuxcnc on PC for 25.01.2024  download iso from linuxcnc website install as normal
run "sudo apt update"

You can use remote ssh or install xrdp from RDP windows for remote desktop control

Make sure you have python3 installed (preferably both) 
If not  found install "sudo apt install python3-pip -y"

to check python version run  "pip3 --version"

    rasta@cnc:~$ pip3 --version
pip 23.0.1 from /usr/lib/python3/dist-packages/pip (python 3.11)

    rasta@cnc:~$ pip3 install tftpy --break-system-packages
Defaulting to user installation because normal site-packages is not writeable
Collecting tftpy
  Downloading tftpy-0.8.2.tar.gz (34 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: tftpy
  Building wheel for tftpy (setup.py) ... done
  Created wheel for tftpy: filename=tftpy-0.8.2-py3-none-any.whl size=29493 sha256=6cc80a34937fca7ef8268a1c9ababbc7de607953334dbd73d7493c8728a785d0
  Stored in directory: /home/rasta/.cache/pip/wheels/94/a1/0d/8e3ae42f90c94e8c27aaeaf42be9823ac7fc1d1ae88def693d
Successfully built tftpy
Installing collected packages: tftpy
Successfully installed tftpy-0.8.2

Ttpy will be required to upload config to board.

set you Ethernet as below
  
To allow connection to board via eth cable on hardcoded in firmware IP 10.10.10.10

check if you pc can ping board with 
  
somehow this worked for me and I was ready to run from linuxcnc config folder downloaded from github.com/scottalford75/Remora-RT1052-c.../remora-rt1052-basic that contain upload_python.py script

"python3 upload_config.py your_config.txt"

(replace your_config.txt with correct config related to your setup or provided example config



tbc...
Attachments:

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

More
27 Jan 2024 09:34 #291730 by Fabien
Good morning, and thanks for scott's youtube channel. But in none of these videos does he explain how to switch the st link to DAPLink knowing that on the github there is only the firmware CMSIS-DAP-STLINK21.hex. I flashed the code on the other stlink which now appears as a serial port but after that I don't know what to do.

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

More
27 Jan 2024 15:39 - 27 Jan 2024 15:43 #291748 by raf1110
Pls check in 3rd post connect STlink with CMSIS firmware as on picture and use STlink utility to upload bin file.
serial port is to debug upload process to see if correct. 
This has been discussed earlier.
Last edit: 27 Jan 2024 15:43 by raf1110.

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

More
28 Jan 2024 20:10 - 28 Jan 2024 20:26 #291822 by zelo
I have a problem with NVMPG. It displays OK when I launch LinuxCNC but as soon as I turn off estop all values start randomly jumping with non sensible values. All buttons and wheel work correctly and linuxcnc reacts to them but display doesn't react in anyway to input or running gcode.
I made short recording of the problem.

www.youtube.com/shorts/nRqwZhB6I64

Any ideas what may be wrong?

I use
- digital dream ec500 rt1052
- Remora-RT1052-cpp v3.1.2 firmware
- NVMPG component from current Remora-NVEM repo
- remora-rt1052-basic config sample with remora-eth-3.0
- Remora-RT1052-cpp/LinuxCNC/remora-rt1052-basic/ec500-rt1052.txt firmware config

MPG switch on the board is set to NV position
MPG is directly connected to to mpg port on the board
There are no sources of interference i can think of that could cause this, for now its just a ec500 and mpg
I checked power supply by powering the board using lab psu but no change.
Last edit: 28 Jan 2024 20:26 by zelo.

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

More
28 Jan 2024 20:20 - 28 Jan 2024 20:22 #291824 by Fabien
unfortunately I was not talking about the serial port of the card but on the PC when I connect the STLINK key.I don't have the reader that appears where you left the .bin files
Last edit: 28 Jan 2024 20:22 by Fabien.

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

More
29 Jan 2024 01:39 #291859 by cncmiljc
Scotta, would you happen to have other studies using f407 with Dmastepgen? The one you shared is not working, but I wanted to at least have the engines starting in operation as it would give me direction for the study, but that's not even happening.

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

More
29 Jan 2024 06:22 #291872 by aol
hello alex,

much thanks!
now i have install tftpy and have also upload the config file as on remora side describe...
but the i/o port wont work...
i think it is the best i do a complete new setup.
maybe that helps...
can anyone tll me which version realy for my nvem v2 cars works!?
i think i have test with the old one Remora-NVEM-STM32-1.0.0.bin
thanks in advance!
aol

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

More
29 Jan 2024 10:23 #291880 by vpomerleau
I have exactly the same problem with NVMPG, I was thinking it was too old but it worked on mach3 with EC500 V3.The nvmpg came with an old NVEC400 I bought a long time ago. May be its my EC500 that is too new 2023-05-18 and it have some differences.

Thank you Scott for the answer for my motor, they are moving now but not from NVMPG
Attachments:

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

Time to create page: 0.208 seconds
Powered by Kunena Forum