Last week I ordered a Novusum NVEM V2 board (Amazon) but I received a version 5 board.
Following the instructions, I was able to install the firmware with:
pyocd flash ./remora-rt1052.bin --target mimxrt1050_quadspi
I got the following response:
0001244 I Loading /Users/jameelberg/Desktop/Remora-RT1052-main/firmware/remora-rt1052.bin [load_cmd]
[==================================================] 100%
0032928 I Erased 131072 bytes (2 sectors), programmed 117760 bytes (460 pages), skipped 0 bytes (0 pages) at 3.63 kB/s [loader]
Its seems to be OK.
when I power up the board the RS232 output looks like this:
.Initializing PHY...
Remora RT1052 firmware for Digital Dream / Novusun CNC controllers starting
## Entering SETUP state
## Entering START state
Starting the BASE thread
Starting the SERVO thread
## Entering IDLE state
LinuxCNC comes to a ready state and the demo is running.
When I try to install a configuration file with the command:linuxcnc@linuxcnc400:~/linuxcnc/Remora/LinuxCNC/ConfigSamples/remora-nvem-basic $ python3 upload_config.py nvem-full-config.txt
I get following response:Valid JSON config file, uploading to Novusun board
Config file length (words) = 1775
Config file length (bytes) = 7099
Remainder = 3
Padding added = [0]
Config file length with padding (bytes) = 7100
CRC-32 = 0x95ee3542
Timeout waiting for traffic, retrying...
Timed-out waiting for traffic
resending last packet
Resending packet WRQ packet: filename = config mode = octet on sessions <tftpy.TftpStates.TftpStateSentWRQ object at 0x7fa28e96a0>
Timeout waiting for traffic, retrying...
Timed-out waiting for traffic
resending last packet
Resending packet WRQ packet: filename = config mode = octet on sessions <tftpy.TftpStates.TftpStateSentWRQ object at 0x7fa28e96a0>
Timeout waiting for traffic, retrying...
Timed-out waiting for traffic
Traceback (most recent call last):
File "/home/linuxcnc/.local/lib/python3.9/site-packages/tftpy/TftpContexts.py", line 171, in cycle
(buffer, (raddress, rport)) = self.sock.recvfrom(MAX_BLKSIZE)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/linuxcnc/linuxcnc/Remora/LinuxCNC/ConfigSamples/remora-nvem-basic/upload_config.py", line 72, in <module>
client.upload("config", "/tmp/config.txt", timeout=30)
File "/home/linuxcnc/.local/lib/python3.9/site-packages/tftpy/TftpClient.py", line 101, in upload
self.context.start()
File "/home/linuxcnc/.local/lib/python3.9/site-packages/tftpy/TftpContexts.py", line 325, in start
self.cycle()
File "/home/linuxcnc/.local/lib/python3.9/site-packages/tftpy/TftpContexts.py", line 174, in cycle
raise TftpTimeout("Timed-out waiting for traffic")
tftpy.TftpShared.TftpTimeout: Timed-out waiting for traffic
I hope some knows why tftpy is not able to connect to the board.