Remora - ethernet NVEM cnc board

More
29 Jan 2024 12:17 - 29 Jan 2024 13:15 #291885 by zelo
I believe that protocol may be a little different. I connected NVMPG trough uart and I can see button presses, but I can't seem to update the screen or PING NVMPG with the data calculated using spreadsheet from scotta
forum.linuxcnc.org/18-computer/44828-rem...oard?start=30#233498
In the end NVMPG sends key presses and rotation correctly. I guess the problem is between EC500 TX and NVMPG RX.

EDIT: I Made a photo of the board. Looks like there is JTAG exposed, maybe it would be possible to dump the firmware and compare with working one.
Attachments:
Last edit: 29 Jan 2024 13:15 by zelo.

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

More
29 Jan 2024 14:32 #291892 by aol
have now setup all new...
same effect, can ping nvem card and also upload config file but can't unlock e-stop button in software...
does anyone have an idea where the fault is or what i can tray next?
much thanks for your help!
aol

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

More
30 Jan 2024 06:36 #291958 by wazza77

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.
 

Hi Zelo,
I am having the same issue as you with the same setup! I have searched this forum for answers but I can't find much at the moment, I don't know if other people have it working on an RT1052 board
Warren

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

More
30 Jan 2024 10:27 - 30 Jan 2024 12:02 #291969 by zelo
I tried to debug the problem but no luck. One thing I noticed is that those values are not random at all. I'm pretty convinced that the format of data that remora is sending to the device is not what it expects.

I recorded how display output varies based on change on x position: www.youtube.com/shorts/7f3vCx3Myzw
You can see that the display reacts in repeatable way based on data from linuxcnc.

I also tried to create payload in python and send directly to remora UDP at 10.10.10.10:27182 but I probably do something wrong because it doesn't react to my msgs. I attach it if someone would like to look at it. I took information from here: github.com/scottalford75/Remora-NVEM/blo...ts/NVMPG/nvmpg.c#L99 . If I would be able to reliably send any payload that changes the screen state I could try to understand how the format differs. This could be probably done via UART and would be even simpler but here I also failed to produce any payload that NVMPG will react to.

I don't have capabilities to extract firmware from it, but if there are any ideas that may push this further, please share :).
 
Attachments:
Last edit: 30 Jan 2024 12:02 by zelo.

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

More
31 Jan 2024 14:43 #292068 by raf1110

I launch stepconf I name my machine remora-nvem then I replace my .ini and .hall file with the one remora?

Would you share your files I cant get outputs working. Phisical E-stop does nothing. I have serial output and can change from screen e-stop. 
I have NVEM eth rt1052 and I am sure board is talking with pc but not sure if correctly. My concern is limit are active  high and not triggered to enable run. 
Stuck a little after dismantling control box that i ran of lpt bob.

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

More
31 Jan 2024 16:23 #292076 by raf1110
port is too long its two digit only its my only sugestion..can you ping board with ip
 

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

More
03 Feb 2024 13:23 - 03 Feb 2024 17:32 #292306 by TimGow
Hi,
I have an EC300 with Remora uploaded and able to move X & Z stepper motors on a lathe, that's good news so far.
Thank you to Scott and to all of the contributors for this project; I am uncertain on the next stages and request please some further help.
  • Is upload_config.py and a configuration file such as ec500-rt1052.txt required?
  • The post here [11 Feb 2023 19:46  #264307 ] suggested that the .txt fie is unnecessary and even cannot be used, is this still the case?
  • The github.com/scottalford75/Remora-RT1052-cpp resource doesn't, from my searching, give files specifically for the EC300, although there are MVEM & EC500 examples; should NVEM files be used for the EC300 (.hal .ini .txt etc)?
  • Is the mapping of the limit switch, stop, hold etc. connections on the EC300 set by the remora-rt1052-3.1.2.bin, no need for upload_config.py & tftpy?
  • Is there a decoder for the FHA,FHB,SRO, SRJ, etc. and which IN01, IN02 etc. is intended for limit switch +/-?
Last edit: 03 Feb 2024 17:32 by TimGow.

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

More
08 Feb 2024 09:51 #292831 by Murphy
@rbobey1989 any update? Did you get your machine going ?

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

More
08 Feb 2024 19:07 #292872 by Fabien
Hello everyone
I'm sorry but I must be really stupid. I still can't put remora on nvem rt-1052.
I put the cmsis firmware on the STLink key and now I have the key which is recognized as a COM3 port.
So I can't drag and drop on this key.
Can someone explain to me step by step how to do it?
I thank you in advance

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

More
08 Feb 2024 20:10 #292877 by TimGow
Hi Fabien,
It sounds like you may be at the stage where you need to use a pyocd command of a format such as:
pyocd flash .\remora-rt1052-3.1.2.bin --target mimxrt1050_quadspi -v

Please check for the latest code version on Scott's github and use any required files from that version only.

My experience with pyocd is found at this link:
01 Jan 2024 17:52 #289487
forum.linuxcnc.org/18-computer/44828-rem...rd?start=1500#289487

I hope that this helps you; I searched along the many pages for the pyocd references, once I found out about pyocd.

Tim

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

Time to create page: 0.511 seconds
Powered by Kunena Forum