Remora - ethernet NVEM / EC300 / EC500 cnc board

More
3 years 8 months ago #263483 by fintech
Got my second ST-Link programmed. I get a error file in the directory after reboot when I try and flash remora-rt1052.bin. The ST-Link Looks the DAP-Link is working correctly. I'm going to try and flash from MCUexpresso. What SDK's do I need to install? Never used MCUexpresso but I've I've used visual studio code and arduino IDE allot. 

Please Log in to join the conversation.

More
3 years 8 months ago #263484 by fintech
I'm getting a network error when compiling. Did know if I was missing a SDK or there is a syntax error. All the errors I'm getting are ethernet related. 

../source/ethernet.c:30:73: error: 'phy_handle_t' {aka 'struct _phy_handle'} has no member named 'mdioHandle'

phy_handle_t' {aka 'struct _phy_handle'} has no member named 'mdioHandle'



 

Please Log in to join the conversation.

More
3 years 8 months ago #263548 by scotta
Hi, you could try to install the SDK_2.x_MIMXRT1052xxxxB SDK to see if that helps.

I don't think it will be a source code issue as others are compiling ok.

Did you clone or copy the repo?

Please Log in to join the conversation.

More
3 years 8 months ago #263555 by fintech
Downloaded the ZIP, I have that processor SDK installed. The issue seems ethernet related. I'm trying a few ways to get the firmware on the MCU. I'm trying The daplink process get The RT1052 Drive in windows. When I copy the remora firmware I get a text  file called FAIL.TXT  after its reboots

error: Failed to initialize the target MCU
type: target

Please Log in to join the conversation.

More
3 years 8 months ago #263558 by heiterkiter
hey fintech 

replied on your yt video already. 
here is a dll file that works with mach3 and the original firmwared ec500 V5
 

Attachment not found


i got this from the manufacturer found on alibaba.
still has some issues but things are moving
so moving to remora and linuxcnc is not an option, it's a must! 
but for so long you can try to make your motors move ;)

Please Log in to join the conversation.

More
3 years 8 months ago #263562 by fintech
Holy Shit!!! I got it flashed.
  • Flash second ST-Link with CMSIS-DAP-STLINK21.hex
  • Install Python
  • Open Command prompt with admin access
  • Make sure you change directories where the files are located
  • Run The Following commands
python -m pip install -U pyocd
  • Install Remora Firmware
pyocd flash .\remora-rt1052.bin --target mimxrt1050_quadspi
  • Flash Back to mach3
 pyocd flash .\ec500.bin --target mimxrt1050_quadspi

             





 

Please Log in to join the conversation.

More
3 years 8 months ago #263564 by fintech
Thanks, I'm probably will have to convert to LinuxCNC. I have an NVEM setup with LinuxCNC I'm playing with.. I just hope the issues I'm having with stepper control and outputs is a firmware issue and not hardware problem

Please Log in to join the conversation.

More
3 years 8 months ago #263565 by scotta

Holy Shit!!! I got it flashed.
  • Flash second ST-Link with CMSIS-DAP-STLINK21.hex
    • Install Python
      • Open Command prompt with admin access
        • Make sure you change directories where the files are located
          • Run The Following commands

            python -m pip install -U pyocd
            • Install Remora Firmware

              pyocd flash .\remora-rt1052.bin --target mimxrt1050_quadspi
              • Flash Back to mach3

                 pyocd flash .\ec500.bin --target mimxrt1050_quadspi

                             





                 
Great to hear. I think I will remove the DAPLink stuff from the repo as to many people are having issues with it. pyOCD with CMSIS-DAP probe seems more reliable.

Please Log in to join the conversation.

More
3 years 8 months ago #263575 by fintech
I'm not sure what was up with my mach3 firmware. I got stepper control to work with LinuxCNC and remora firmware. I'm warming up to linuxCNC after that mach3 debacle. Anybody get this to work with Probe_basic? Any configs would be great. I'm still getting familiar with the Hal and config files.

Please Log in to join the conversation.

More
3 years 8 months ago #263644 by fintech
Now I see what you mean about the IO pinout headache for these BGA processors. At least with the STM32 you can put your leads on the pin. Do you think this new NXP processors is an upgrade or downgrade?

Please Log in to join the conversation.

Time to create page: 0.525 seconds
Powered by Kunena Forum