Remora - ethernet NVEM / EC300 / EC500 cnc board

More
2 years 11 months ago #286434 by hanskuster

Hmm. I'm guessing this is with the DMA stepgen. I thought my last changes had solved that issue. It's not a LinuxCNC config issue.

If you could monitor the situations which lead up to this bug that would be appreciated so I can try to narrow down the underlying cause.
 
Hi scotta,
yes, I use the version remora-rt1052-3.1.0.bin
not only restarting the software changes the direction at random. Toggle machine power changes the direction also.

Regards, Hans

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

More
2 years 11 months ago #286595 by scotta
I was able to confirm the direction output issues. My approach to getting the step and direction outputs into a "known" state during restarts was not consistent. So, with this bugfix I'm reading the actual output port DR register and then performing a direction change if needed. Happy testing and thanks again for the feedback. We'll get this stable.

I'll merge the bugfix branch once we have some feedback.

github.com/scottalford75/Remora-RT1052-c...t1052-3.1.1-beta.bin
The following user(s) said Thank You: oficinerobotica, hanskuster, cnc-phil

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

More
2 years 11 months ago - 2 years 11 months ago #286613 by 0jw
I'm having a similar problem to user oficinerobotica when trying to flash a ec500 with a pi pico using a windows machine. The board date is 2022-09-07.

When I try to use
pyocd flash remora-rt1052-EC500-beta.bin --target mimxrt1050_quadspi -v
I get the error
0001433 I Target type is mimxrt1050_quadspi [board]
0001534 C No ACK received [__main__]

I'm not using resistors and don't have 3.3v connected to boot.
I have gnd, 24v, com- and com+ connected to power.
Anyone have any ideas as to what might be the problem?
Last edit: 2 years 11 months ago by 0jw.

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

More
2 years 11 months ago #286615 by 0jw
lol user error. I had the black wires in the diagram mixed up. it looks to have worked but not sure.

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

More
2 years 11 months ago - 2 years 11 months ago #286679 by oficinerobotica

I'm having a similar problem to user oficinerobotica when trying to flash a ec500 with a pi pico using a windows machine. The board date is 2022-09-07.

When I try to use
pyocd flash remora-rt1052-EC500-beta.bin --target mimxrt1050_quadspi -v
I get the error
0001433 I Target type is mimxrt1050_quadspi [board]
0001534 C No ACK received [__main__]

I'm not using resistors and don't have 3.3v connected to boot.
I have gnd, 24v, com- and com+ connected to power.
Anyone have any ideas as to what might be the problem?
 
After a bit of fidling I completely given up on the pico route and just ordered 2 cheap ST-LINK's . With the particular ones that I got , it turns out they work out of the box for flashing the EC500. I didn't even needed to flash the custom firmware on the stlink. If you get the ST-LINK try first a flash just the way they are before flashing one of them as per scotta instructions.  Unfortunatly I don't have the time and knowledge to dig deeper and make the pico work

Edit: I see you got it working lol. I just missed your second post. Sorry for the noise :)
Last edit: 2 years 11 months ago by oficinerobotica.
The following user(s) said Thank You: 0jw

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

More
2 years 11 months ago #286704 by 0jw
As far as I can tell it worked. I'm not sure if there's some way to ping the board or something using windows to verify. The led configuration definitely changed. I now have 4 LED's on that were not before. 

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

Time to create page: 0.310 seconds
Powered by Kunena Forum