Remora - ethernet NVEM / EC300 / EC500 cnc board

More
03 Jul 2023 01:59 #274671 by scotta

I'm back from mach4 after a while.

I have just flashed new firmware and inputs and outputs seems to stop working on my recent settings.
And also some outputs seems to be on: 5, 7, 12, 14, 16 on startup.
And changing output states in Halshow (Pins->remora->output) does not really change output state.
What did I miss?
I tried default config (github.com/scottalford75/Remora-RT1052-c.../remora-rt1052-basic) and it's the same.

Hi, 

With the new firmware you will also need to upload a configuration file. I've done one for each for the NVEM, EC300 and EC500. They are located in the LinuxCNC directory.

Copy one of these into your configuration directory and run the upload script. eg
$ python3 upload_config.py ec500-rt1052.txt

 
The following user(s) said Thank You: zmrdko

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

More
03 Jul 2023 07:59 - 03 Jul 2023 09:10 #274679 by zmrdko
Thanks for reply.I was half successful. I installed tftpy using pipx, but it does not change anything for script upload_config.py and I am still gettingModuleNotFoundError: No module named 'tftpy'Meanwhile I am trying to google what's wrong.I guess it has something to do with venvs.

EDIT: I manually copied tftpy library to location where the rest of the python3 libraries were stored, so I successfully uploaded the configuration file. I looks like it works now.
Attachments:
Last edit: 03 Jul 2023 09:10 by zmrdko.

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

More
03 Jul 2023 09:14 #274686 by zmrdko
By the way, is there any way how to debug and sort out this annoying error?

Unexpected realtime delay on task 0 with period 1000000
This message will only display once per session.
Run latency test and resolve before continuing.

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

More
04 Jul 2023 12:13 - 04 Jul 2023 12:14 #274735 by Murphy
Ok so I am also having problems loading the firmware. It converted the stlink and it's showing up as the RT1052 drive. When I drop the bin file in , it does something but a fail .txt pops up in the drive and says
Error: Failed to initialize the target MCU
type: target

I tried to connect with mcuexpress , when I got the debug button to find the probe nothing happens.

I noticed the connection LED is constant on now. I hope they don't have an inbuilt bricking thing on the new boards
Last edit: 04 Jul 2023 12:14 by Murphy.

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

More
04 Jul 2023 12:55 - 04 Jul 2023 12:56 #274738 by zmrdko
After converting stlink to RT1052 drive, flash with pyocd command:

forum.linuxcnc.org/media/kunena/attachments/34234/rt1052.PNG
Last edit: 04 Jul 2023 12:56 by zmrdko.

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

More
04 Jul 2023 13:05 - 04 Jul 2023 13:06 #274739 by zmrdko
Thanks Scott, it seems to work excellent.
Is there anything particular you’d like me to test?

What is the max step rate EC500 with remora fw can do?

Original firmware for mach3 states 460kHz, but if I recall correctly, with remora firmware it’s different. Dependant on some hardcoded value in firmware.

Im asking because I have set 1000 steps per mm (0.001mm step resolution) and at 40mm/s = 40kHz it’s OK, but at 50mm/s I already get following error.
Last edit: 04 Jul 2023 13:06 by zmrdko.

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

More
04 Jul 2023 13:19 #274740 by Murphy
Thank you but if no idea what that is. I'm using widows to program it. I quickly Googled pyocd and looks like I have to download a load of stuff for it to work.

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

More
04 Jul 2023 13:29 #274742 by zmrdko
Try installing pyocd typing into cmd window:

python -m pip install -U pyocd

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

More
04 Jul 2023 13:40 #274743 by Murphy

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

More
04 Jul 2023 13:50 #274744 by zmrdko
Maybe try python3 instead of python.

If that does not work, you probably dont have python installed, so you will have to google for guide, how to install python on windows.

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

Time to create page: 0.232 seconds
Powered by Kunena Forum