CAN response timeout when mapping endstops
-
Hi,
I've got a 6HC mainboard connected to EB3HC expansion board address 1.
The LEDs are blinking in sync. Both boards are at 3.4.6 firmware.
When I try to map the endstop on the expansion board, it does not seem to work and I get a CAN response timeout error.
Does anyone know what I'm doing wrong, or how to fix this? Thanks so much!
-
I cannot post my config.g because it complains I need a reputation 2 to post links even though it's just text.
-
@ChunkyPanda I've upvoted your posts, please post your config.g now, preferably as text in your reply not as a file. Also please post the response to M122, again as text. In code tags would be even better!
Ian
-
config.g
M575 P1 S1 B57600 ; enable support for PanelDue G90 M550 P"cp" M575 P1 S0 B57600 M552 S1 P0.0.0.0 M586 P0 S1 ; enable HTTP M586 P2 S1 ; enable Telnet G4 S2 ; wait for expansion boards to start M569 P0.1 S1 D2 ; driver 0.1 goes forwards (Y axis) M569 P0.2 S1 D2 ; driver 0.2 goes forwards (Z axis) M569 P1.0 S0 D2 ; drive M569 P1.1 S0 D2 M906 X400 A400 I30 ; motor currents and motor idle factor in per cent M84 S30 ; idle timeout M584 X1.0 Y0.1 Z0.2 A1.1 ; set axis mapping M350 X16 A16 I1 ; microstepping with interpolation M92 X{200*16} A{(66*200*16)/360} ; steps per unit M208 X0:50 A0:{100*360} ; axis limits M566 X900.00 A900.00 ; maximum instantaneous speed changes (u/min) M203 X{50*60} A{45*60} ; maximum speeds (u/min) M201 X50.00 A10.00 ; set accelerations (u/s^2) M669 K0 ; configure Cartesian kinematics M574 X1 P"1.io1.in" S1 ; configure X axis endstop M574 Y0 ; configure Y axis endstop M574 Z0 ; configure Z axis endstop M574 A1 P"1.io2.in" S1 ; configure A axis endstop M950 P0 C"out4" ; gas M950 P1 C"out5" ; laser shot M501 ; load saved parms from nv memory M453
-
m122 === Diagnostics === RepRapFirmware for Duet 3 MB6HC version 3.4.6 (2023-07-21 14:11:38) running on Duet 3 MB6HC v1.02 or later (standalone mode) Board ID: 0JD2M-9P9DA-F0PS4-6JTDJ-3S46K-T6WM2 Used output buffers: 3 of 40 (20 max) === RTOS === Static ram: 153252 Dynamic ram: 96792 of which 0 recycled Never used RAM 100628, free system stack 190 words Tasks: NETWORK(ready,39.3%,169) ETHERNET(notifyWait,0.5%,108) HEAT(notifyWait,0.0%,373) Move(notifyWait,0.0%,344) CanReceiv(notifyWait,0.0%,798) CanSender(notifyWait,0.0%,335) CanClock(delaying,0.0%,349) TMC(notifyWait,7.7%,90) MAIN(running,52.3%,925) IDLE(ready,0.2%,30), total 100.0% Owned mutexes: === Platform === Last reset 00:30:06 ago, cause: software Last software reset at 2024-12-19 13:18, reason: User, GCodes spinning, available RAM 100628, slot 0 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00432000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x00 Aux0 errors 0,0,0 Step timer max interval 1409 MCU temperature: min 41.5, current 41.6, max 42.7 Supply voltage: min 24.2, current 24.3, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes 12V rail voltage: min 12.1, current 12.2, max 12.3, under voltage events: 0 Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0 Events: 0 queued, 0 completed Driver 0: standstill, SG min 0, mspos 8, reads 49865, writes 13 timeouts 0 Driver 1: standstill, SG min 0, mspos 8, reads 49866, writes 12 timeouts 0 Driver 2: standstill, SG min 0, mspos 8, reads 49866, writes 12 timeouts 0 Driver 3: standstill, SG min 0, mspos 8, reads 49867, writes 11 timeouts 0 Driver 4: standstill, SG min 0, mspos 8, reads 49867, writes 11 timeouts 0 Driver 5: standstill, SG min 0, mspos 8, reads 49868, writes 11 timeouts 0 Date/time: 2024-12-19 13:48:39 Slowest loop: 999.97ms; fastest: 0.05ms === Storage === Free file entries: 10 SD card 0 detected, interface speed: 25.0MBytes/sec SD card longest read time 2.3ms, write time 0.0ms, max retries 0 === Move === DMs created 125, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === AuxDDARing === Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0 === GCodes === Segments left: 0 Movement lock held by null HTTP is idle in state(s) 0 Telnet is idle in state(s) 0 File is idle in state(s) 0 USB is idle in state(s) 0 Aux is idle in state(s) 0 Trigger is idle in state(s) 0 Queue is idle in state(s) 0 LCD is idle in state(s) 0 SBC is idle in state(s) 0 Daemon is idle in state(s) 0 Aux2 is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty === CAN === Messages queued 9043, received 14459, lost 0, boc 0 Longest wait 1ms for reply type 6018, peak Tx sync delay 286, free buffers 50 (min 49), ts 9032/9031/0 Tx timeouts 0,0,0,0,0,0 === Network === Slowest loop: 899.24ms; fastest: 0.03ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0) HTTP sessions: 2 of 8 = Ethernet = State: active Error counts: 0 0 0 1 0 0 Socket states: 5 2 2 2 2 0 0 2 = WiFi = Interface state: disabled Module is disabled Failed messages: pending 0, notready 0, noresp 0 Socket states: 0 0 0 0 0 0 0 0 === Multicast handler === Responder is inactive, messages received 0, responses 0
-
@ChunkyPanda Can you send
M98 P"config.g"
and post the response?Ian
-
@ChunkyPanda I think it's because your 6HC is on a different firmware version compared to the 3HC, 3.4.6 vs 3.5.4. Update the 6HC to the same version.
Ian
-
The immediate response is
m98 P"config.g"
HTTP is enabled on port 80
TELNET is enabled on port 23But a few seconds later this is the response
Error: Response timeout: CAN addr 1, req type 6036, RID=18
Error: Response timeout: CAN addr 1, req type 6036, RID=19 -
My mistake... I'm sorry for mixing up the firmware numbers. I thought I had the latest firmware on both boards but I don't. I updated the firmware on the 6HC and it's now working.
Thanks so much for your help!
-
-