Remora - ethernet NVEM / EC300 / EC500 cnc board
- cakeslob
- Offline
- Platinum Member
-
Less
More
- Posts: 844
- Thank you received: 247
21 Dec 2024 23:05 #317113
by cakeslob
Replied by cakeslob on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Yeah MrDe, if you can do some kind of write up with the flashing thing, that would be great. Im dont really know what the situation is for that
Please Log in or Create an account to join the conversation.
- beauxnez
- Offline
- Premium Member
-
Less
More
- Posts: 132
- Thank you received: 9
23 Dec 2024 17:37 #317210
by beauxnez
Replied by beauxnez on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
hello
i have an nvem card based on rt1052 but i can't flash it with st link, the card is not detected, i tried with a card with a stm32f401 and it is detected?
i have an nvem card based on rt1052 but i can't flash it with st link, the card is not detected, i tried with a card with a stm32f401 and it is detected?
Please Log in or Create an account to join the conversation.
- scotta
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 907
- Thank you received: 470
23 Dec 2024 20:58 #317228
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Hi, you cannot use ST-Link utility to flash the RT1052. You will need to use pyOCD with an ST-link (probably need to flash the CMSIS-DAP firmware).
github.com/scottalford75/Remora-RT1052/tree/main/CMSIS-DAP
github.com/scottalford75/Remora-RT1052/tree/main/CMSIS-DAP
Please Log in or Create an account to join the conversation.
- beauxnez
- Offline
- Premium Member
-
Less
More
- Posts: 132
- Thank you received: 9
24 Dec 2024 06:30 - 24 Dec 2024 08:09 #317264
by beauxnez
Replied by beauxnez on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
too complicated for me, there is no video or tutorial?
thanks
thanks
Last edit: 24 Dec 2024 08:09 by beauxnez.
Please Log in or Create an account to join the conversation.
- scotta
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 907
- Thank you received: 470
24 Dec 2024 20:21 #317297
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
I really need to do a new video.
The forum starts here
www.forum.linuxcnc.org/18-computer/44828...ard?start=630#263406
And the following video shows how to flash the ST-Link. Note the firmware you will need is not that one used in the video.
The forum starts here
www.forum.linuxcnc.org/18-computer/44828...ard?start=630#263406
And the following video shows how to flash the ST-Link. Note the firmware you will need is not that one used in the video.
Please Log in or Create an account to join the conversation.
- beauxnez
- Offline
- Premium Member
-
Less
More
- Posts: 132
- Thank you received: 9
24 Dec 2024 22:53 - 24 Dec 2024 22:55 #317310
by beauxnez
Replied by beauxnez on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
sorry it's really not clear, on the video no pyOCD and utility st LINK, I installed pyton 3.13.1 then pip 24.3.1 then pyOCD and aftersHi, you cannot use ST-Link utility to flash the RT1052. You will need to use pyOCD with an ST-link (probably need to flash the CMSIS-DAP firmware).
//github.com/scottalford75/Remora-RT1052/tree/main/CMSIS-DAP
Last edit: 24 Dec 2024 22:55 by beauxnez.
Please Log in or Create an account to join the conversation.
- scotta
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 907
- Thank you received: 470
25 Dec 2024 21:32 #317375
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
1. Convert an ST-Link to a CMSIS-DAP probe by using a a second ST-Link and the ST-Link utility to flash the CMSIS-DAP firmware.
mvdlande.wordpress.com/2015/10/05/cmsis-...ink-v2-mini-adapter/
2. Use pyOCD with the newly flashed CMSIS-DAP probe to flash the firmware to the controller board
python -m pip install -U pyocd
pyocd flash .\remora-rt1052-3.1.3.bin --target mimxrt1050_quadspi
github.com/scottalford75/Remora-RT1052-c...ora-rt1052-3.1.3.bin
mvdlande.wordpress.com/2015/10/05/cmsis-...ink-v2-mini-adapter/
2. Use pyOCD with the newly flashed CMSIS-DAP probe to flash the firmware to the controller board
python -m pip install -U pyocd
pyocd flash .\remora-rt1052-3.1.3.bin --target mimxrt1050_quadspi
github.com/scottalford75/Remora-RT1052-c...ora-rt1052-3.1.3.bin
The following user(s) said Thank You: Daz
Please Log in or Create an account to join the conversation.
- MrDe
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 1
25 Dec 2024 22:09 - 25 Dec 2024 22:14 #317377
by MrDe
First and foremost, you should be able to see the ST-Link as a probe using PyOCD. I would suggest enabling the Windows default Administrator account and trying it from there. In my case, I couldn't get PyOCD to detect either the ST-Link or CMSIS-DAP even when running the terminal as an Administrator!
So, I'd recommend giving the Administrator account a shot. If the "pyocd list" successfully recognizes the ST-Link probe, let me know and we can proceed from there.
Good luck!
Replied by MrDe on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Hello beauxnez,hello
i have an nvem card based on rt1052 but i can't flash it with st link, the card is not detected, i tried with a card with a stm32f401 and it is detected?
First and foremost, you should be able to see the ST-Link as a probe using PyOCD. I would suggest enabling the Windows default Administrator account and trying it from there. In my case, I couldn't get PyOCD to detect either the ST-Link or CMSIS-DAP even when running the terminal as an Administrator!
So, I'd recommend giving the Administrator account a shot. If the "pyocd list" successfully recognizes the ST-Link probe, let me know and we can proceed from there.
Good luck!
Last edit: 25 Dec 2024 22:14 by MrDe. Reason: Quote
Please Log in or Create an account to join the conversation.
- tu_koper
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 1
26 Dec 2024 15:03 #317409
by tu_koper
Replied by tu_koper on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Hello everyone.I am very interested in control via Ethernet, and I became familiar with this method some time ago. However, I am encountering a problem. I am currently testing everything on just one stepper motor. My system is LinuxCNC version 2.9.3, which I use to control the EC500 controller (running on the RT-1052) via Ethernet.The EC500 already has firmware installed:and a JSON file:. When I launch LinuxCNC, select the "remora-ec500" configuration, and then run the standard G-code file provided with LinuxCNC, the process starts, but the stepper motor does not turn.My EC500 controller is connected to the control output via an HBS86H driver, which controls the stepper motor. This setup is a closed-loop servo mechanism that operates autonomously (without the involvement of Remora or LinuxCNC). However, this configuration does not work when I load theJSON file onto the EC500 and run LinuxCNC with the corresponding HAL file for DMA-based control.Interestingly, after changing the JSON file toand launching LinuxCNC with the appropriate HAL file for the BASIC version, the G-code program starts working, and the motor begins to rotate using the same unchanged hardware setup.I used the HALSHOW environment to monitor and compare changing pins and signals for both the DMA and BASIC configurations, but I couldn't identify anything significant for myself. It’s possible that I am missing something, which is why I am getting these results.Scott (or anyone else on this forum), could you spare some time and provide me with any insights or information that might help me move forward? Perhaps it's some small detail, like an enable signal or something similar, that might be causing the issue (even though I did see in HALSHOW that this signal appears to be the same for both configurations).Thank you in advance!
remora-rt1052-3.1.3.bin
ec500-rt1052-DMA.txt
ec500-rt1052-DMA.txt
.../remora-rt1052-basic/ec500-rt1052.txt
Please Log in or Create an account to join the conversation.
- beauxnez
- Offline
- Premium Member
-
Less
More
- Posts: 132
- Thank you received: 9
26 Dec 2024 15:46 - 26 Dec 2024 15:50 #317414
by beauxnez
Replied by beauxnez on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Attachments:
Last edit: 26 Dec 2024 15:50 by beauxnez.
Please Log in or Create an account to join the conversation.
Time to create page: 0.259 seconds