Remora - ethernet NVEM / EC300 / EC500 cnc board

More
2 years 2 months ago #308732 by aDm1N
I'm having problems flashing the controller. I have tried two different STlink v2, but I only get error messages. Does anyone have any idea what the error could be?
Code:
cnc@MiniDrehbank:~$ pyocd list   #   Probe/Board    Unique ID                  Target   --------------------------------------------------------   0   STM32 STLink   260046001033353739303541   n/a      cnc@MiniDrehbank:~$ pyocd list   #   Probe/Board    Unique ID                  Target   --------------------------------------------------------   0   STM32 STLink   40001400020000415246524E   n/a      cnc@MiniDrehbank:~/linuxcnc/Remora-RT1052-cpp/Firmware$ pyocd flash remora-rt1052-3.1.3.bin --target mimxrt1050_quadspi 0001513 C STLink error (9): Get IDCODE error [__main__]

 

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

More
2 years 2 months ago #308740 by scotta
I've also had no luck with an out of the box STLinkV2. But ColdTurkey has got it to work

pyocd.io/docs/debug_probes.html

"Recent STLink firmware versions will only allow access to STM32 targets. If you are using a target from a silicon vendor other than ST Micro, please use a different debug probe."

If you have a couple of probes you can always flash one with the following firmware.

github.com/scottalford75/Remora-RT1052/tree/main/CMSIS-DAP

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

More
2 years 2 months ago - 2 years 2 months ago #308763 by cakeslob

I've also had no luck with an out of the box STLinkV2. But ColdTurkey has got it to work

pyocd.io/docs/debug_probes.html

"Recent STLink firmware versions will only allow access to STM32 targets. If you are using a target from a silicon vendor other than ST Micro, please use a different debug probe."

If you have a couple of probes you can always flash one with the following firmware.

github.com/scottalford75/Remora-RT1052/tree/main/CMSIS-DAP

ok, so pyocd, CMSIS-DAP firmware, stlink
give me some more notes, im trying to do a docs thing
github.com/cakeslob/Remora-docs/blob/mas.../Ethernet/rt1052.rst
Last edit: 2 years 2 months ago by cakeslob.

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

More
2 years 2 months ago #308943 by aDm1N
Just to be sure that I didn't make any wiring mistakes. Red = gnd, yellow = clk, white = dio, black = 3.3v (not needed for flashing). The board is blasted with 24v.

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

More
More
2 years 2 months ago #308971 by qaywsxedc
Hello,
Thx for the great work to all contributers. I read this huge threat and hopefully i did not miss my problem. i flashed an old nvem V2 with ethernet with Version 1.0.0
And it worked like a charme. Ping Test fine and even linuxcnc on first try thanks to the videos...
Now my problem... I just have the basic config with 3 Axis as default. The config upload fails...it prints out all Infos, but the upload fails with timeout. I try to solve IT but didn't find the problem. Maybe i can't write on the nvem.
I read it between threats but didn' t find an answer. With full config i do not need to change the config? How do i flash with full config?

Thanks for your Help
Btw. I tried the rt version... Flashing works but i can't ping it. If i get it right, my nvem is too old?
Regards

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

Time to create page: 0.789 seconds
Powered by Kunena Forum