Remora - ethernet NVEM / EC300 / EC500 cnc board

More
3 years 8 months ago #264466 by rbobey1989
Hello everyone, this weekend I received my ec300, I managed to flash it without problems by the two methods described here DAPLink and CMSIS-DAP without problems, although I must say that DAPLink only worked for me on Windows since in linux it always fails, CMSIS- DAP only tested on Ubuntu works perfect.

Ok here is my problem, after a lot of fighting to get RS232 serial output connected directly to the DIP COM onboard pins of my motherboard, which I couldn't get to work
EC300                  Motherboard
RXD pin    ---->           PIN3
Pin TXD    ---->           PIN2
The JCOM physical serial port of my motherboard works because making a short between pins 2 and 3 I have a return on CuteCom, RealTerm etc.

Almost given up I decided to solder two wires to the R2OUT T2IN pins, skipping the MAX3232 IC and !!!!eureka!!!!! using a USB-TTL(FT232RL) I had a serial output, from my point of view I have the MAX3232 IC of my EC300 wrong.

I have not tested if the nvmpg works, it would be hard to check it because it works with the LPUART5 which is also connected to the MAX3232 IC, I am waiting for a new order for some stlink since the one I had has died.

I ask for some advice about it!!!!!

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

  • REX299
  • New Member
  • New Member
More
3 years 8 months ago #264484 by REX299
Thanks for reply! That my fault, re config IP as you said then problem solve. But something weird with my config that extend estop button not working (LinuxCNC not jump to Estop state when triggered). I do check the Hal status and it show True and False value when extend estop is triggered/ untriggered (picture attached), so Linuxcnc knows the signal but not respond to it. 
 

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

More
3 years 8 months ago #264486 by scotta

Hello everyone, this weekend I received my ec300, I managed to flash it without problems by the two methods described here DAPLink and CMSIS-DAP without problems, although I must say that DAPLink only worked for me on Windows since in linux it always fails, CMSIS- DAP only tested on Ubuntu works perfect.

Ok here is my problem, after a lot of fighting to get RS232 serial output connected directly to the DIP COM onboard pins of my motherboard, which I couldn't get to work
EC300                  Motherboard
RXD pin    ---->           PIN3
Pin TXD    ---->           PIN2
The JCOM physical serial port of my motherboard works because making a short between pins 2 and 3 I have a return on CuteCom, RealTerm etc.

Almost given up I decided to solder two wires to the R2OUT T2IN pins, skipping the MAX3232 IC and !!!!eureka!!!!! using a USB-TTL(FT232RL) I had a serial output, from my point of view I have the MAX3232 IC of my EC300 wrong.

I have not tested if the nvmpg works, it would be hard to check it because it works with the LPUART5 which is also connected to the MAX3232 IC, I am waiting for a new order for some stlink since the one I had has died.

I ask for some advice about it!!!!!
Great to hear that you got the firmware flashed successfully. I'm pretty certain that you will need the IO power connected so that the MAX3232 is powered up.

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

More
3 years 8 months ago - 3 years 8 months ago #264492 by lyntik
Hello.
I've got Novusun NVEM V2 and flashed it with github.com/scottalford75/Remora-NVEM.git...ease\Remora-NVEM.bin .
My task is to write program in Windows, that moves stepper motor for exact number of steps.
I wrote simple client, that connects to Udp server on PRU and execute the following sequence:
memset(&txData, 0, sizeof(txData));
txData.header = PRU_WRITE;
txData.jointFreqCmd[0] = 1000;
txData.jointEnable = 1;
socket->write((char*)&txData, 68);
It moves motor for 10+-1 step, if I send
txData.jointFreqCmd[0] = 5000;
motor moves for 50+-10 steps.
Of course I can correct freq until motor reaches the demand position as done in remora-eth.c, but at any time my computer may become busy and this may have negative impact on the process. Moreover if the motor moves out of position, it will need to return, which is critical to the resolution of my system (bi direction resolution is always worse)
So, it looks like I should tune configs or even write some code at firmware. Could you point me in the right direction ? Thx.
Last edit: 3 years 8 months ago by lyntik.

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

More
3 years 8 months ago - 3 years 8 months ago #264493 by lyntik
Last edit: 3 years 8 months ago by lyntik.

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

More
3 years 8 months ago #264495 by scotta
Hi, Remora relies on the complete motion control loop provided by LinuxCNC and the off loaded remora component. Remora accepts a velocity (frequency) command with actual step feedback to LinuxCNC which is then fed into the control loop. You cannot ask Remora to execute a certain number of steps like other systems.

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

Time to create page: 0.801 seconds
Powered by Kunena Forum