Closed jschoch closed 1 year ago
Hi, we increased the SPI speed to the W5500 module as it is onboard on the development board and the PicoBOB-DLX. This may be an issue when using an external module.
This is the line that was changed. Maybe compare to your working example.
With this change
spi_init(SPI_PORT, 10000 * 1000);
I can ping it now and try to take it out of estop but it still hangs.
What version/repo of the linux hal module should I be testing with?
The Ethernet component is remora-nv.c
On Wed, Oct 11, 2023 at 10:42 AM Jesse Schoch @.***> wrote:
With this change
spi_init(SPI_PORT, 10000 * 1000);
I can ping it now and try to take it out of estop but it still hangs.
What version/repo of the linux hal module should I be testing with?
— Reply to this email directly, view it on GitHub https://github.com/scottalford75/Remora-RP2040-W5500/issues/6#issuecomment-1756469522, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGBMVIIRNEZRSONWG34SRSLX6XMMTAVCNFSM6AAAAAA5ZQXYGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJWGQ3DSNJSGI . You are receiving this because you commented.Message ID: @.***>
which repo can I find the right working version, [scottalford75/Remora-NVEM or scottalford75/Remora-EC500?
https://github.com/scottalford75/Remora-NVEM/tree/main/LinuxCNC/Components/Remora-nv
On Wed, Oct 11, 2023 at 10:44 AM Jesse Schoch @.***> wrote:
which repo can I find the right working version, [scottalford75/Remora-NVEM or scottalford75/Remora-EC500?
— Reply to this email directly, view it on GitHub https://github.com/scottalford75/Remora-RP2040-W5500/issues/6#issuecomment-1756471306, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGBMVIOFYLQVHHDQ3L2S6WLX6XMXRAVCNFSM6AAAAAA5ZQXYGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJWGQ3TCMZQGY . You are receiving this because you commented.Message ID: @.***>
ugh, still getting issues after the initial connection
...
Starting the SERVO thread
Registering interrupt for interrupt number = 1
setting up timer Slice 1
actual period = 500
timer started
## Entering IDLE state
## Entering RUNNING state
No Data max triggered, setting comms status to false, max was: 40 Comms returned false, entering Reset
## Entering RESET state
Resetting rxBuffer
## Entering IDLE state
then it locks up and doesn't respond to ping or any further estop signal.
a video to show where i'm stuck after a few more hours troubleshooting
would be great if you could join the linuxcnc discord https://discord.gg/bQhs5mzp
ok.... my luck... i finally got a debugger attached and ran
cmake -DCMAKE_BUILD_TYPE=Debug . -DPICO_BOARD=pico
make clean
make
and it is working. I also had a breakout board
THis may have played a part but i disconnected everything and was still having the issues until i loaded the debug version.
Now i'm getting joint errors with the old defaultConfig.
i had slowed down the servo period in the ini for troubleshooting, set it back and joint errors went away. I'll close this and try to document setup better in the PR.
Hey Scott,
Got around to poking at this again this weekend but a few problems.
then it stops responding to pings and I have to reset it.
I had to monkey with the uart setttings and I can only seem to get my FTDI to read GPIO28, nothing over USB and can't connect to that serial port. wondering how you are debugging.
which hal module goes with this main version? I'm trying the remora-eth but there is also remora-nv and likely many versions. Maybe this deserves it's own repo with tags to track what it is tested with/designed to work with.