Remora - ethernet NVEM / EC300 / EC500 cnc board

More
21 Dec 2024 23:05 #317113 by cakeslob
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.

More
23 Dec 2024 17:37 #317210 by 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?
 
Attachments:

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

  • scotta
  • scotta's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
23 Dec 2024 20:58 #317228 by scotta
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

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

More
24 Dec 2024 06:30 - 24 Dec 2024 08:09 #317264 by beauxnez
too complicated for me, there is no video or tutorial?
thanks
Last edit: 24 Dec 2024 08:09 by beauxnez.

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

  • scotta
  • scotta's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
24 Dec 2024 20:21 #317297 by scotta
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.

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

More
24 Dec 2024 22:53 - 24 Dec 2024 22:55 #317310 by beauxnez

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
 

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 afters
Last edit: 24 Dec 2024 22:55 by beauxnez.

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

  • scotta
  • scotta's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
25 Dec 2024 21:32 #317375 by scotta
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
The following user(s) said Thank You: Daz

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

More
25 Dec 2024 22:09 - 25 Dec 2024 22:14 #317377 by MrDe

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?
 

Hello beauxnez,
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.

More
26 Dec 2024 15:03 #317409 by tu_koper
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:
remora-rt1052-3.1.3.bin
and a JSON file:
ec500-rt1052-DMA.txt
. 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 the
ec500-rt1052-DMA.txt
JSON file onto the EC500 and run LinuxCNC with the corresponding HAL file for DMA-based control.Interestingly, after changing the JSON file to
.../remora-rt1052-basic/ec500-rt1052.txt
and 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!

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

More
26 Dec 2024 15:46 - 26 Dec 2024 15:50 #317414 by beauxnez
Thanks, I don't know if I did it right but I got an error message.
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
Powered by Kunena Forum