Remora - ethernet NVEM / EC300 / EC500 cnc board

More
1 year 10 months ago #316483 by Masterdrive

Hi, there is no cpp source code for the NVMPG. I decompiled the extracted firmware and managed to find the serial transmission section. The communication protocol was derived from that. The attached spreadsheet simulates the protocol. You should be able to use that for your purpose or alternatively look at the code of the NVMPG LinuxCNC component.

github.com/scottalford75/Remora-NVEM/blo.../MPG%20protocol.xlsx
Hi Scott,
thanks for your time and dedication.
I've owned a NVEM 2 since 2018, but buried it long time ago since I was not able to make it work reliably.
www.cnczone.com/forums/controller-cards/...084.html#post2154084
At that point in time, and till now, I've been using Mach3 (yeah... no LinuxCNC... i know...)

2019, after migrating to an UC300ETH controller, I tried to make the MPG work with Mach3 without using the NVEM.
I didn't want to waste such a nice MPG.
At that time, I did some reverse engineering... not as professional as you did... mine was mostly trial and error and listening to the serial communication between the MPG and the NVEM after opening it and finding a MAX232. I captured hundreds of packages, and tried to find the similarities on what was displayed on the MPG and what was within the payload. I almost got the payload down to your level.
I was too dumb to know about headers and such -_-

I also tried to create an Arduino program for having the MPG communicate with a PC using MODBUS.
But again, I was too dumb to find a smart solution, like having the Button-presses being reflected as Output-Pin changes on the Arduino, and hook those up to my motion-controller. Or using the Arduino Pro-Micro as a HID. Instead I tried to make the communication work with MODBUS and Mach3 "Brain", which resulted in a complex, and unreliable solution.
So I buried that solution almost 4 years ago as well.

That being said... I'm surprised about the NVEM still being a topic after stumbling about this thread by accident.
Would you mind if I would revive my idea of a NVMPG to PC connection, utilizing some of the "wisdom" you've gathered throughout the years?
Don't get me wrong... I'm an "enthusiast", far away from being an "achiever", my programming days are more than 20 years in the past now... but it's been bugging me a lot looking at this "unfinished project" (a lot of them exist though -_-)

Kind regards,
David

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

More
1 year 10 months ago #316515 by Lisov_R
Good day!I have an NVEM v1 board bought back in 2017. I decided to install the Remora firmware on it. I can't connect to it with ST-Link and RS232. There are S1 contacts on the back side, I tried to jumper them, no result. Has anyone encountered this?
 

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

More
1 year 10 months ago - 1 year 10 months ago #316536 by aDm1N
Last edit: 1 year 10 months ago by aDm1N.

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

More
1 year 10 months ago #316543 by Lisov_R
If it is not clear in my question, then I will say again that I have tried it. Not one of the programs is connected to the STM32, not via SWD, not via UART, not via ST-Link, not via RS232. The board itself is working and works with Mach3. Perhaps all ports are closed in the firmware. Perhaps someone has come across such a thing?

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

More
1 year 10 months ago #316545 by aDm1N
I had problems with the new version of the board at the beginning. Flashing the board was not possible. I have tested some ST-Link and also Daplink. Actually the board was defective. I complained about it and got a new one and bought another one. Flashing worked with both without any problems.

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

More
1 year 10 months ago #316548 by Lisov_R
At the moment when you couldn't flash it, did you try working with Mach3? If the controller itself is not working, it would hardly give signals to the output.

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

Time to create page: 1.001 seconds
Powered by Kunena Forum