Hello everyone, I just finished the assembling and wiring my new IDEX Printer (RatRig V-Cast) and started configuring the Duet 6HC and 3HC. At this point I should probably point out that this is my first Duet/RepRap firmware system and I may very well be making stupid beginner mistakes. Also I hope this is the right section of the Forum, this seems to be where most other issues with the CAN bus where being posted.
When I first loaded the configuration I created with the configuration tool onto the 6HC through Duet Web Control yesterday , I was able to control the fan connected to the 3HC but the thermistor and heater were not showing up and the diagnostic led was flashingin sync with the 6HC. However after I rebooted it to make a change to the config.g it did not connect ot the 6HC anymore and I started seeing the error messages shown below. Then this morning when I turned the printer on the 3HC worked normally again with the diagnostic LED flashing in sync with the 6HC and I was able to control the heater, fans and motors connected to the 3HC and even get it to spit out an M122 (also below). However, after I turned the machine off and on again, I had the same issue as yesterday and the diagnostic LED didn´t turn on at all again, whilst all the power LEDS are on (Does this mean the board is not booting?).
Here is some troubleshooting I tried after reading some other threads on here about similiar Issues:
-
If i set the 3HC to CAN adress 0 by turning of all the switches and remove the CAN cable, it will occasionaly flash the diagnostic LED four times, as would be expected from what I read in other threads, however most times the diagnostic LED will just not come on at all. Meanwhile, the four power LEDs (VIN, 12V, 5V and 3,3V) always come on.
-
Adding a G4 delay to the config.g to allow for the 3HC to boot does not seem to have any impact on the problem
-
I checked and my RJ11 cable was sold as an ADSL 2+ High speed cable on Amazon, so I think that should not be the issue
Both boards are running Firmware Version 3.2.2 and the 6HC is running in SBC mode with a Raspberry Pi 3.
When I turn the Printer on and the CAN is not working I get the following Error messages followed by some more errors about the components connected to the 3HC not being found:
Error: M569: Response timeout: CAN addr 1, req type 6018, RID=0
Error: M569: Response timeout: CAN addr 1, req type 6018, RID=1
Error: M569: Response timeout: CAN addr 1, req type 6018, RID=2
Error: M584: Response timeout: CAN addr 1, req type 6042, RID=3
Here is an M122 I was able to extract from the 3HC when it was working this morning:
M122 B1
Diagnostics for board 1:
Duet EXP3HC firmware version 3.2.2 (2021-02-11)
Bootloader ID: not available
Never used RAM 154440, free system stack 200 words
HEAT 92 CanAsync 94 CanRecv 87 TMC 64 MAIN 173 AIN 259
Last reset 00:01:45 ago, cause: power up
Last software reset data not available
Driver 0: position 0, 400.0 steps/mm, standstill, reads 26978, writes 16 timeouts 0, SG min/max 0/0
Driver 1: position 0, 1.0 steps/mm, standstill, reads 26982, writes 14 timeouts 0, SG min/max 0/0
Driver 2: position 0, 420.0 steps/mm, standstill, reads 26983, writes 16 timeouts 0, SG min/max 0/0
Moves scheduled 0, completed 0, in progress 0, hiccups 0
No step interrupt scheduled
VIN: 24.2V, V12: 12.3V
MCU temperature: min 41.8C, current 42.0C, max 42.0C
Ticks since heat task active 158, ADC conversions started 105900, completed 105898, timed out 0
Last sensors broadcast 0x00000004 found 1 161 ticks ago, loop time 0
CAN messages queued 1032, send timeouts 0, received 888, lost 0, free buffers 36
and here is an M122 from the 6HC:
m122
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC version 3.2.2 running on Duet 3 MB6HC v1.01 or later (SBC mode)
Board ID: 08DJM-956BA-NA3TN-6J1F2-3S46K-9BAAS
Used output buffers: 1 of 40 (13 max)
=== RTOS ===
Static ram: 149788
Dynamic ram: 62976 of which 60 recycled
Never used RAM 146008, free system stack 200 words
Tasks: Linux(ready,101) HEAT(blocked,297) CanReceiv(blocked,927) CanSender(blocked,371) CanClock(blocked,352) TMC(blocked,53) MAIN(running,1203) IDLE(ready,19)
Owned mutexes: HTTP(MAIN)
=== Platform ===
Last reset 00:01:59 ago, cause: software
Last software reset at 2021-04-07 13:44, reason: User, none spinning, available RAM 146008, slot 1
Software reset code 0x0012 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0044a000 BFAR 0x00000000 SP 0x00000000 Task Linu Freestk 0 n/a
Error status: 0x00
Aux0 errors 1,1,1
Aux1 errors 0,0,0
MCU temperature: min 39.6, current 41.3, max 42.8
Supply voltage: min 23.9, current 23.9, max 24.0, under voltage events: 0, over voltage events: 0, power good: yes
12V rail voltage: min 12.0, current 12.1, max 12.1, under voltage events: 0
Driver 0: position 0, standstill, reads 24326, writes 14 timeouts 0, SG min/max 0/0
Driver 1: position 0, standstill, reads 24326, writes 14 timeouts 0, SG min/max 0/0
Driver 2: position 0, standstill, reads 24327, writes 13 timeouts 0, SG min/max 0/0
Driver 3: position 0, standstill, reads 24326, writes 14 timeouts 0, SG min/max 0/0
Driver 4: position 0, standstill, reads 24329, writes 11 timeouts 0, SG min/max 0/0
Driver 5: position 0, standstill, reads 24329, writes 11 timeouts 0, SG min/max 0/0
Date/time: 2021-04-07 13:47:00
Slowest loop: 0.44ms; fastest: 0.04ms
=== Storage ===
Free file entries: 10
SD card 0 not detected, interface speed: 37.5MBytes/sec
SD card longest read time 0.0ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 125, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== AuxDDARing ===
Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters = 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
=== GCodes ===
Segments left: 0
Movement lock held by null
HTTP* is doing "M122" 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 assembling a command 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 331, send timeouts 928, received 0, lost 0, longest wait 0ms for reply type 0, free buffers 48
=== SBC interface ===
State: 4, failed transfers: 0
Last transfer: 1ms ago
RX/TX seq numbers: 3946/3946
SPI underruns 0, overruns 0
Number of disconnects: 0, IAP RAM available 0x2c8a8
Buffer RX/TX: 0/0-0
=== Duet Control Server ===
Duet Control Server v3.2.2
Code buffer space: 4096
Configured SPI speed: 8000000 Hz
Full transfers per second: 33.79
Maximum length of RX/TX data transfers: 3072/844
Here is my Config.g file:
config.g