Duet 2 SBC hiccups during printing (3.2-beta 2)
-
I have been testing out the SBC functionality of RRF 3.2-beta 2, and it looks to be pretty good. However, I am experiencing a lot of movement hiccups, mostly stalls, at a rate of about once every 10 seconds. Checking the diagnostics, no hiccups are reported. I have not been able to test without the SBC, but I will try soon. The SPI communications are very good, with no errors reported by DSF or RRF.
This is just after finishing a print:
=== Diagnostics === RepRapFirmware for Duet 2 + SBC version 3.2-beta2 running on Duet 2 1.02 or later + SBC (SBC mode) Board ID: 08DGM-917N9-FLMS4-7JTDG-3SJ6J-9HV4G Used output buffers: 1 of 24 (12 max) === RTOS === Static ram: 23252 Dynamic ram: 100672 of which 564 recycled Exception stack ram used: 544 Never used ram: 6040 Tasks: Linux(ready,54) HEAT(blocked,161) MAIN(running,411) IDLE(ready,19) Owned mutexes: HTTP(MAIN) === Platform === Last reset 131:29:15 ago, cause: software Last software reset at 2020-10-16 11:30, reason: StuckInSpinLoop, GCodes spinning, available RAM 5876, slot 0 Software reset code 0x4083 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f80f BFAR 0xe000ed38 SP 0x2000412c Task MAIN Stack: 000007b0 0041861e 010f0000 3efae148 3d4ccccd 3edb6db7 b7803800 40c80003 3d800001 43c80000 42480001 00000000 3f800000 c1a00000 4354c416 c0a66666 3f000000 3f800000 3efae148 60000011 004185d9 20002198 ffffff01 00000000 20009618 2000d020 20002aec Error status: 0x00 MCU temperature: min 22.0, current 28.6, max 31.6 Supply voltage: min 0.3, current 24.1, max 24.2, under voltage events: 6, over voltage events: 0, power good: yes Driver 0: position 28445, standstill, SG min/max 0/1023 Driver 1: position -32000, standstill, SG min/max 0/1023 Driver 2: position 343918, standstill, SG min/max 0/1023 Driver 3: position 0, standstill, SG min/max 0/1023 Driver 4: position 0, standstill, SG min/max 0/1023 Driver 5: position 0 Driver 6: position 0 Driver 7: position 0 Driver 8: position 0 Driver 9: position 0 Driver 10: position 0 Driver 11: position 0 Date/time: 2020-10-21 23:00:29 Cache data hit count 4294967295 Slowest loop: 260.64ms; fastest: 0.10ms I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0 === Storage === Free file entries: 10 SD card 0 not detected, interface speed: 30.0MBytes/sec SD card longest read time 0.0ms, write time 0.0ms, max retries 0 === Move === Hiccups: 0(0), FreeDm: 169, MinFreeDm: 108, MaxWait: 433821936ms Bed compensation in use: mesh, comp offset 0.000 === MainDDARing === Scheduled moves: 43213, completed moves: 43213, StepErrors: 0, LaErrors: 0, Underruns: 0, 1060 CDDA state: -1 === AuxDDARing === Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1 === Heat === Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1 Heater 0 is on, I-accum = 0.0 Heater 1 is on, I-accum = 0.4 === GCodes === Segments left: 0 Movement lock held by null HTTP* is ready with "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 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. === SBC interface === State: 0, failed transfers: 0 Last transfer: 9ms ago RX/TX seq numbers: 60071/51096 SPI underruns 0, overruns 0 Number of disconnects: 0 Buffer RX/TX: 0/0-0 === Duet Control Server === Duet Control Server v3.2.0-beta2 Code buffer space: 4096 Configured SPI speed: 8000000 Hz Full transfers per second: 32.50
-
@SAtech Sorry to butt in, but is there a guide to connecting the SBC to the Duet 2 WIFI? This functionality is not documented yet and would love to tinker with it.
-
@ctilley79 Get comfortable, you're in for a long read.
https://forum.duet3d.com/topic/17203/duet-2-ethernet-and-sbc
-
I did notice some lags in 3.2-b2 as well but we've changed the firmware quite a bit to get rid of them. You should be able to confirm this when we've released 3.2-b3.