Remora - ethernet NVEM / EC300 / EC500 cnc board

More
3 years 3 weeks ago #282324 by cakeslob

GeremyL has been doing some great physical testing of the DMA stepgen. Chasing down missing steps, with one theory being the lack of a direction setup time.

The ability to set the direction setup time is now available.
Code:
    {     "Thread": "DMA",     "Type": "DMAstepgen",         "Comment":            "X - Joint 0 step generator",         "Joint Number":        0,         "Step Pin":         "P1_22",         "Direction Pin":     "P1_17",         "Step Length":        2,         "Step Space":        3,   "Dir Setup": 2     }, Latest source has been pushed to the repo and a testing bin file as well.

Can this be backported? It doesnt look like it should have to be DMA specific, but Im not too good with computers so I figured I would ask.


Also, saw you had a new repo for remora-nv docs, do you think we needed a whole new repo for the nv docs? I just figured we could jam all the nvem specific parts within the hadrware specific pages. the rest of it seems pretty much the same so it looked like we could do it all as one. Here is what I had so far for ethernet branch, I used it when I was setting up my pico-dlx board.
github.com/cakeslob/Remora-docs/tree/ethernet

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

More
3 years 3 weeks ago - 3 years 3 weeks ago #282330 by GeramyL

Code:
Can this be backported? It doesnt look like it should have to be DMA specific, but Im not too good with computers so I figured I would ask. Also, saw you had a new repo for remora-nv docs, do you think we needed a whole new repo for the nv docs? I just figured we could jam all the nvem specific parts within the hadrware specific pages. the rest of it seems pretty much the same so it looked like we could do it all as one. Here is what I had so far for ethernet branch, I used it when I was setting up my pico-dlx board. https://github.com/cakeslob/Remora-docs/tree/ethernet
Code:
You mean ported to the Software Step Gen? They don't use the same principals, software step gen doesnt use buffers its not the same. I had a huge explanation but to put it simply, the problem with adding Step Length, Direction Setup and Step Space inside the software step gen is that it will slow all the program down, meaning 40khz wont be 40khz anymore. So not really compatible, it could be made more compatible but we arn't using RTOS or some sort of Operating System that can switch between threads and execute other code, if we did than it would be possible, i'm working on a port to Azure RTOS with scott but I hit a few snags and getting this DMA Step Gen firmware version done first and stable, is higher priority.
Last edit: 3 years 3 weeks ago by GeramyL.

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

More
3 years 3 weeks ago #282340 by scotta

Can the 1052 stepgen dma configuration be used to provide a basis for development with nvem to have a higher frequency?
The great news is that all of the RT1052 boards will benefit from this work. So the NVEM, EC300 and EC500 will be 500khz capable :-)

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

More
3 years 3 weeks ago #282341 by scotta

GeremyL has been doing some great physical testing of the DMA stepgen. Chasing down missing steps, with one theory being the lack of a direction setup time.

The ability to set the direction setup time is now available.
Code:
    {     "Thread": "DMA",     "Type": "DMAstepgen",         "Comment":            "X - Joint 0 step generator",         "Joint Number":        0,         "Step Pin":         "P1_22",         "Direction Pin":     "P1_17",         "Step Length":        2,         "Step Space":        3,   "Dir Setup": 2     }, Latest source has been pushed to the repo and a testing bin file as well. Can this be backported? It doesnt look like it should have to be DMA specific, but Im not too good with computers so I figured I would ask. Also, saw you had a new repo for remora-nv docs, do you think we needed a whole new repo for the nv docs? I just figured we could jam all the nvem specific parts within the hadrware specific pages. the rest of it seems pretty much the same so it looked like we could do it all as one. Here is what I had so far for ethernet branch, I used it when I was setting up my pico-dlx board. https://github.com/cakeslob/Remora-docs/tree/ethernet
Unfortunately DMA dependent.

I'll have a look at your doc repo. When I was looking at how best to integrate into the existing docs, it seemed to me the hardware side of things is quite different, but as you said the LinuxCNC and config is relatively the same. Just playing with ideas but will first look at your WIP before progressing any further.

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

More
3 years 3 weeks ago #282386 by cncmiljc
I wanted to say the following, if it would be possible to use Dma Stepgen with the nven with the stm207 and also with the 407

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

More
3 years 3 weeks ago #282387 by chrstrvs
Following my resent failures this is what I've done and where I am at now:

- Flashed the NVEM with the Remora firmware
- Installed Raspberry Pi OS (Legacy), so Buster 32 bit
- Installed xrdp to enable Remote Desktop
- Followed the guide to install LinuxCNC at remora-docs.readthedocs.io/en/latest/sof...nc-installation.html , but since I had issues with the Pi not booting after installing the realtime kernel, I instead installed 5.15.65-rt49 according to forum.linuxcnc.org/9-installing-linuxcnc...n-raspberry-pi-3b-pi .
- Installed the Remora NVEM component
- Followed Scott's videos to configure ethernet
- Flashed the basic config to the NVEM

- I am able to ping the NVEM at 10.10.10.10
- I am able to start LinuxCNC and get out of emergency stop
- I am not able to request movement. If I do, I get "joint [0-2] following error"

I really wan't to move on and reinstall the NVEM in my CNC and continue with configuring LinuxCNC, but I'm stuck with this error.
Scott, help! image missing /media/kunena/emoticons/sad.png

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

Time to create page: 0.504 seconds
Powered by Kunena Forum