Remora on NVEM board - unable to upload new configs

More
1 year 6 months ago - 1 year 6 months ago #325750 by jenkinson8
I managed to get Remora uploaded to an NVEM v5 board, thanks to Scott's detailed video instructions. The board has the RT1052 chip and I was able to make a donor STLink into a DAPLink and upload the firmware by compiling the latest Remora-RT1052-cpp source. I could see it working by toggling the eStop in software and seeing the LED light up on the board so I know it was responding to LinuxCNC. Just like in the video. 

I then successfully uploaded the full_config.txt with the upload_config.py script, I managed to get past needing to install the TFTP package via PIP successfully. I did manage to get the config file (the supplied unmodified config) uploaded to the board the first time but now I'm trying to make updates to the config and it no longer uploads. The script confirms it's valid config, but now I get a time-out error. I can still ping the device and get responses, something else is blocking it. 

I've already de-soldered the pin headers - and packed away all of my soldering gear. I could re-solder it and re-flash with a fresh firmware, but ideally would like to avoid that in case this happens again.

Seems the board is now bricked and won't accept new configs. The LED eStop indicator on the PCB is lit permanently and I can no longer toggle it in software.

Any ideas how I can get this up and running again? I've tried to be as specific as possible. I'd love to share some screengrabs and stuff, but the system is set up offline in another room. Let me know what I can provide to troubleshoot? I can get the computer connected to the internet to share configs and logs and other bits and pieces if that helps. Just thought maybe someone knows an obvious answer?  
Last edit: 1 year 6 months ago by jenkinson8. Reason: mentioning compiling from source

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

More
1 year 6 months ago #325766 by cakeslob
forum.linuxcnc.org/18-computer/44828-rem...cnc-board?start=2080

take it to here,

but if flashing the config worked before and now it wont work, you will probably need to do a full chip erase to overwrite the sector, then reload the firmware and config.

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

More
1 year 6 months ago #325778 by jenkinson8

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

More
2 months 3 weeks ago #348505 by CNC_Manni
Hi,

Thanks for sharing your experience - I'm running into a very similar issue and hoping you might have found a solution since posting this.

I'm using an NVEM V5 board (RT1052 chip). I successfully flashed the firmware via pyOCD (tried multiple firmware versions: remora-rt1052-NVEM-0.2.1.bin, remora-rt1052-0.0.1.bin, remora-rt1052.bin - all flashed without errors). Ping to 10.10.10.10 works perfectly and consistently.

However, unlike your case, I'm getting a timeout on my very first config upload attempt - not after a successful first upload. I've tried:
- My own custom config file
- The unmodified official example configs (both nvem-rt1052.txt and remora-rt1052-basic/ec500-rt1052.txt)
- Uploading with the SWD/ST-Link connection both attached and disconnected during the upload
- Confirmed via tcpdump that the WRQ packet is sent correctly on port 69, but no response ever comes back from the board
- No firewall involved (iptables set to ACCEPT), direct point-to-point Ethernet connection, no router

The script always confirms "Valid JSON config file" and calculates the CRC correctly, so it gets stuck at exactly the same point you describe - after everything on the PC side looks fine.

Did you ever find out what caused the board to stop responding to TFTP? Was it possibly related to the eStop/enable state getting stuck, as you mentioned the LED stayed permanently lit? Any insight into how you (or anyone else) resolved this would be hugely appreciated - trying to avoid unnecessary re-flashing if there's a known cause.

Thanks in advance!

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

More
2 months 3 weeks ago #348512 by tommylight
@CNC_Manni
This is the third post with the same subject, although one is in German, abd this one has more info, so do not do multiple posts, that makes a mess for us and for whoever tries to help you.

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

More
2 months 3 weeks ago #348514 by CNC_Manni
The following user(s) said Thank You: tommylight

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

Time to create page: 0.318 seconds
Powered by Kunena Forum