Remora - ethernet NVEM / EC300 / EC500 cnc board
- Attis92
- Offline
- New Member
-
- Posts: 6
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Spyderbreath
-
- Offline
- Junior Member
-
- Posts: 30
- Thank you received: 3
I am now very confused and the computer says the converted ST link is an unrecognized device and it does not show up. I can not communicate with the link plugged into the USB
At this point I truly do not know what to do.
Please Log in or Create an account to join the conversation.
- Daz
- Offline
- New Member
-
- Posts: 13
- Thank you received: 0
I can do it, but I need to get hold of a USB to RS232 adapter first. Should have it next weekThank you for the quick reply.
The log you shared is from the Python script, but the important part happens on the EC300 board side.
Please Log in or Create an account to join the conversation.
- Daz
- Offline
- New Member
-
- Posts: 13
- Thank you received: 0
It might be easiest to buy one for a few $$ on Amazon or Ebay.I seem to of been wrong about converting the ST-link to DAP. I just went back and watched the video again and there were originally 2 steps in doing the conversion, but there is the post below that video - forum.linuxcnc.org/18-computer/44828-rem...rd?start=2050#321860 - that says to just use that one file?
I am now very confused and the computer says the converted ST link is an unrecognized device and it does not show up. I can not communicate with the link plugged into the USB
At this point I truly do not know what to do.
Please Log in or Create an account to join the conversation.
- Spyderbreath
-
- Offline
- Junior Member
-
- Posts: 30
- Thank you received: 3
Thank you for your attempt to help, it has been appreciated. It all looked to be so straight forward at first glance and it probably was at one point.
It just seems hard to comprehend how the current process of converting an ST-link to a DAP-link has become so complex that it can not be explained in a single post, but here we are.
Please Log in or Create an account to join the conversation.
- Attis92
- Offline
- New Member
-
- Posts: 6
- Thank you received: 0
2. I prepared the hardware based on the first part of Scott3D’s YouTube video :
It clearly shows the soldering process.
He uses the ST-Link Utility, but since it's not available on Linux, I used STM32CubeProgrammer, which works on both Linux and Windows:
I connected the four soldered wires to the ST-Link as follows:
3V3 → 3V3
GND → GND
SWCLK → CLK
SWDIO → DO
(The rest of the video is not relevant for this process.)
3. I downloaded (or cloned) the Remora-RT1052 repository.
It contains a CMSIS-DAP folder, and inside it, the CMSIS-DAP-STLINK21.hex file.
4. I opened STM32CubeProgrammer, plugged in the ST-Link device,
clicked “Connect” (top right corner), and once connected, the left-side menu became available.
Then:
Clicked the “OB” (Option Bytes) button
Under Read Out Protection, I unchecked the “RDP” flag.
5. I went back to the main menu (Memory & File Editing):
Clicked “Open File” → selected CMSIS-DAP-STLINK21.hex
Clicked “Download” to flash the firmware.
Now the DAPLink is ready to use. (Note: This version of DAPLink doesn't support drag-and-drop (MSC), so we’ll flash the RT1052 using pyOCD instead.)
6. I created a temporary folder (e.g., remora_flash) and set up a Python virtual environment inside it:
python3 -m venv .venv
source .venv/bin/activate
pip install pyocd
Plug in the DAPLink via USB and check if it's detected:
sudo pyocd list
Example output:
# Probe/Board Unique ID Target
--------------------------------------------------
0 X893 ARM CMSIS-DAP 0001A0000000 n/a
7. Finally, I flashed the firmware to the RT1052.
Clone or download the Remora-RT1052-cpp repository.
In the Firmware folder, you’ll find the binary image: remora-rt1052-3.1.3.bin.
Connect the board via DAPLink and flash it using:
pyocd flash remora-rt1052-3.1.3.bin --target mimxrt1050_quadspi
8. Configuration upload is described in Daz’s post.
Hope this helps!
Please Log in or Create an account to join the conversation.
- Thayloreing
- Offline
- Premium Member
-
- Posts: 85
- Thank you received: 2
Please Log in or Create an account to join the conversation.
- Spyderbreath
-
- Offline
- Junior Member
-
- Posts: 30
- Thank you received: 3
The info in 3. is the first time I have seen any reference to that file.
About 8. ? The post that Daz made if you are referring to this one - forum.linuxcnc.org/18-computer/44828-rem...rd?start=2140#327240 - is for an EC300, not an NVEM. From what I am seeing I will need to follow to the letter up to step 8, then use the nvem-rt1052.txt instead of the ec300-rt1052.txt linked to in that post. Is that correct?
Please Log in or Create an account to join the conversation.
- jjdege
-
- Offline
- Premium Member
-
- Posts: 116
- Thank you received: 32
Hi guyscakeslob post=326968 userid=25269
Are all the drivers the same, or did you do your check all axis with the same drivejjdege post=326970 userid=32556
hi
the same driver for all axes.
I tried to unsolder the chip, without success
the board does not respond, for now I do not think I will buy another
thanks for the support
I couldn't resist and bought a new board, this time I opted for a 3-axis EC500,
it has LEDs that indicate the I/O status, I think it's more complete.
I tested it with Mach3 to make sure it was working well, given the previous ones,
and it worked on all three axes.
When loading the firmware, it got to 29% and timed out and everything froze,
the DAP wasn't receiving signals.
I reread page 115 of the thread that talks about how to unlock and after having
bridged BOOT_MO and 3V3 I managed to delete and write the new firmware!!
Now all 6 axes work.
Thanks again to Scott and to whoever made all this possible.
Please Log in or Create an account to join the conversation.
- Attis92
- Offline
- New Member
-
- Posts: 6
- Thank you received: 0
But I’m still having some issues with the config upload, which I’m currently investigating on the EC500 board.
If you're unable to change the config, you may need to erase the entire chip first:
sudo pyocd erase -c --target mimxrt1050_quadspi
Then flash the firmware again and upload the new config.
sudo pyocd flash remora-rt1052-3.1.3.bin --target mimxrt1050_quadspi
This worked for me, but it's definitely not an ideal solution...
Please Log in or Create an account to join the conversation.