Remora - ethernet NVEM cnc board

More
02 Feb 2023 01:18 #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 or Create an account to join the conversation.

More
02 Feb 2023 01:32 - 02 Feb 2023 06:24 #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'



 
Last edit: 02 Feb 2023 06:24 by fintech.

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

More
02 Feb 2023 21:00 #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 or Create an account to join the conversation.

More
02 Feb 2023 23:41 - 02 Feb 2023 23:45 #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
Last edit: 02 Feb 2023 23:45 by fintech.

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

More
03 Feb 2023 00:04 - 03 Feb 2023 00:05 #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
 

File Attachment:

File Name: DIGITALDRE...2-02.zip
File Size:129 KB

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 ;)
Attachments:
Last edit: 03 Feb 2023 00:05 by heiterkiter.

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

More
03 Feb 2023 00:19 - 03 Feb 2023 00:25 #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

             





 
Last edit: 03 Feb 2023 00:25 by fintech.
The following user(s) said Thank You: scotta

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

More
03 Feb 2023 00:44 #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 or Create an account to join the conversation.

More
03 Feb 2023 00:55 #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 or Create an account to join the conversation.

More
03 Feb 2023 03:58 #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 or Create an account to join the conversation.

More
04 Feb 2023 01:51 - 04 Feb 2023 02:21 #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?
Last edit: 04 Feb 2023 02:21 by fintech.

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

Time to create page: 0.259 seconds
Powered by Kunena Forum