Remora - ethernet NVEM / EC300 / EC500 cnc board

More
1 year 11 months ago #315227 by Thayloreing
Good morning guys, I bought my nvem v5 board to test with linuxcnc, I'm still waiting, I saw in the files that there is an encoder component to compile in linuxcnc to use in remora, this component was created to only accept the mpg encoder or is there a possibility of using the mpg input to connect an encoder to a spindle or the spindle shaft of a lathe, I don't know if it is possible to use just the mpg encoder input or there is a way to use other inputs if configured, could you give me more details of this part of the encoder on the nvem board? thank you in advance thank you very much

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

More
1 year 11 months ago #315245 by schnellmued
Hello all

I now have installed pyocd, but no luck with connecting. I guess it should show a target id here ?

xx@xxxxxx:~# pyocd list
# Probe/Board Unique ID Target
0 X893 ARM CMSIS-DAP 0001A0000000 n/a



Flashing fails then too:

xx@xxxxxx:~# pyocd flash /home/bf/Downloads/remora-rt1052-3.1.3.bin –-target mimxrt1050_quadspi
0000497 W Generic 'cortex_m' target type is selected by default; is this intentional? You will be able to debug most devices, but not program flash. To set the target type use the '--target' argument or 'target_override' option. Use 'pyocd list --targets' to see available targets types. [board]
0000674 I Loading /home/bf/Downloads/remora-rt1052-3.1.3.bin [load_cmd]
0000690 C No boot memory is defined for this device [__main__]

 

Anything wrong with the wiring ? I got 24v supplied to the remora board

-
schnellmued
 

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

More
1 year 11 months ago #315251 by scotta

Good morning guys, I bought my nvem v5 board to test with linuxcnc, I'm still waiting, I saw in the files that there is an encoder component to compile in linuxcnc to use in remora, this component was created to only accept the mpg encoder or is there a possibility of using the mpg input to connect an encoder to a spindle or the spindle shaft of a lathe, I don't know if it is possible to use just the mpg encoder input or there is a way to use other inputs if configured, could you give me more details of this part of the encoder on the nvem board? thank you in advance thank you very much
Hi, for the MPG the encoder counting is done in LinuxCNC using the normal inputs as the speed is low. The PRUencoder module is used for the hardware based encoder modules. The NVEM is limited on Inputs, but please check the EC500 configuration below with the NVEM configuration to identify which inputs are available for the QDC encoder module.

Remora-RT1052-cpp/LinuxCNC/ec500-rt1052-DMA-ENC.txt at main · scottalford75/Remora-RT1052-cpp
Remora-RT1052-cpp/LinuxCNC/nvem-rt1052.txt at main · scottalford75/Remora-RT1052-cpp
 

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

More
1 year 11 months ago #315254 by scotta

Hello all

I now have installed pyocd, but no luck with connecting. I guess it should show a target id here ?

xx@xxxxxx:~# pyocd list
# Probe/Board Unique ID Target
0 X893 ARM CMSIS-DAP 0001A0000000 n/a



Flashing fails then too:

xx@xxxxxx:~# pyocd flash /home/bf/Downloads/remora-rt1052-3.1.3.bin –-target mimxrt1050_quadspi
0000497 W Generic 'cortex_m' target type is selected by default; is this intentional? You will be able to debug most devices, but not program flash. To set the target type use the '--target' argument or 'target_override' option. Use 'pyocd list --targets' to see available targets types. [board]
0000674 I Loading /home/bf/Downloads/remora-rt1052-3.1.3.bin [load_cmd]
0000690 C No boot memory is defined for this device [__main__]

 

Anything wrong with the wiring ? I got 24v supplied to the remora board

-
schnellmued

 
The pyocd warning is hinting that the command line is not correct and it's defaulting the generic target type that cannot flash memory.

pyOCD/docs/target_support.md at main · pyocd/pyOCD

Is there a typo in the command line arguments?

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

More
1 year 11 months ago #315259 by Thayloreing
Sorry, I didn't understand the translation well, I don't speak English, in this case the remora doesn't support high pulse frequencies due to the limited hardware, does the ec 500 and ec300 have an input for high pulse frequency encoders? Or does it only allow you to make an extension module for the encoder? If so, what would this expansion module be like? Is there anything ready? and how would you add it? Sorry for the number of questions, I'm very interested in this project

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

More
1 year 11 months ago - 1 year 11 months ago #315317 by schnellmued


Flashing fails then too:

xx@xxxxxx:~# pyocd flash /home/bf/Downloads/remora-rt1052-3.1.3.bin –-target mimxrt1050_quadspi
0000497 W Generic 'cortex_m' target type is selected by default; is this intentional? You will be able to debug most devices, but not program flash. To set the target type use the '--target' argument or 'target_override' option. Use 'pyocd list --targets' to see available targets types. [board]
0000674 I Loading /home/bf/Downloads/remora-rt1052-3.1.3.bin [load_cmd]
0000690 C No boot memory is defined for this device [__main__]


 
The pyocd warning is hinting that the command line is not correct and it's defaulting the generic target type that cannot flash memory.

pyOCD/docs/target_support.md at main · pyocd/pyOCD

Is there a typo in the command line arguments?





 


I used the "--target" option, like show in the help output, but i found the variable "target" in "board.py" was allsways "None". So i did the quick & very dirty fix to change default to my board:

# As a last resort, default the target to 'cortex_m'.
if target is None:
target = 'cortex_m'

to

# As a last resort, default the target to 'cortex_m'.
if target is None:
target = 'mimxrt1050_quadspi'

Finaly it flashed the board and i got it connected to linuxcnc :D

-
schnellmued

 
Last edit: 1 year 11 months ago by schnellmued. Reason: .
The following user(s) said Thank You: scotta

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

Time to create page: 0.403 seconds
Powered by Kunena Forum