Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. Charlie
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 135
    • Best 17
    • Controversial 0
    • Groups 0

    Charlie

    @Charlie

    Voron 2.4.2, 350 mm^3. Duet 3 MB 6HC v1.01a & Duet 3 Toolboard 1LC v1.2. RasPi 4B 4GB.

    Creality CR10 S5, 24V power supply, Titan Aqua extruder with SuperVolcano hotend. Keenovo 120V silicone bed heater. TH3D EZABL bed leveling.

    18
    Reputation
    8
    Profile views
    135
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Charlie Unfollow Follow

    Best posts made by Charlie

    • RE: Print stuttering around curves, LaErrors

      Thank you both for your replies! I tried a normal diff checker, but there was far too much different for me to compare. Using "gcodeanalyser.com" (amazing tool, way better than the "gcode.ws" that I used originally which didn't depict accelerations) I think I found my issue.

      First image is using Cura 4.5 (no issues).
      Screen Shot 2020-04-28 at 3.40.33 PM.png

      Second image is using Cura 4.6 (stuttering issues).
      Screen Shot 2020-04-28 at 3.41.54 PM.png

      Same exact settings, same layer, but notice how Cura 4.6 speeds up and slows down many more times during the layer. I would assume that it would accelerate once for the layer start, and again for the small radius corner (as in 4.5) but 4.6 changes a lot more.

      It's worth noting that the version of Cura that @Phaedrux kindly provided does not appear to have the issues that "stock" Cura 4.6 seems to have.

      Please let me know if I'm mistaken with any of my assumptions.

      posted in Duet Hardware and wiring
      Charlieundefined
      Charlie
    • RE: 3.2 JSON Parse error: Unrecognized token '<' Password bug

      @Sindarius

      Your solution appears to have worked! I deleted M551 and no more error messages in Safari.

      posted in Beta Firmware
      Charlieundefined
      Charlie
    • RE: BLTouch Probe Won't Deploy

      @fcwilt
      Z Probe readout value is 0, and remains 0 for the entire homing attempt.

      posted in General Discussion
      Charlieundefined
      Charlie
    • RE: Print stuttering around curves, LaErrors

      @NitroFreak First of all, thank you for printing items to fight COVID!

      Looks like you have many "Hiccups." In my experience, this has to do with very high microstepping. In your config.g file, what does it show under "M350"? For instance, mine is "M350 X16 Y16 Z16 E16 I1".

      posted in Duet Hardware and wiring
      Charlieundefined
      Charlie
    • RE: 3.2 JSON Parse error: Unrecognized token '<' Password bug

      @alankilian

      Neither do I.

      No worries! You've been super helpful, and way more knowledgeable than myself! I greatly appreciate your time.

      Since changing the browser or removing the password GCode fixed this issue, Im super happy.

      posted in Beta Firmware
      Charlieundefined
      Charlie
    • RE: BLTouch Probe Won't Deploy

      Upon some preliminary testing, it appears as though the wiring may be to blame. In a few days Ill have the time to do some more digging. Ill keep you posted as to the results. Thank you all for your help so far!

      posted in General Discussion
      Charlieundefined
      Charlie
    • RE: Print stuttering around curves, LaErrors

      As an update, I was able to eliminate the stuttering (the banding is likely an issue for another day, lol) by re slicing in Cura 4.5 (Cura 4.6 was where I was having the issues).

      IMG_8302.jpg

      Settings are:
      No wall overlap compensation
      Max resolution: 2.333 mm
      Max travel resolution: 0.8 mm
      Max deviation: 0.05 mm

      x16 Microstepping with interpolation

      Still had Look Ahead Errors (forgot to copy the M122) but MaxWait was 0 ms.

      posted in Duet Hardware and wiring
      Charlieundefined
      Charlie
    • RE: 3.6.0-beta.1 Breaking Homing Sequence

      @AndyE3D This may sound simple, but how do I get the "v, a, cf" display in SBC mode? I enabled debugging using the M111 P4 S1 in dwc, plugged my computer into the USB port on the Duet, and I tried Serial Tools on a Mac, but I dont get any response. Im assuming that this may be correct for standalone mode, but not for SBC. Is this correct?

      posted in Beta Firmware
      Charlieundefined
      Charlie
    • RE: BLTouch Probe Won't Deploy

      After a long hiatus, Ive come back to the project and it definitely was a wiring issue. The silicone ribbon cable jacket was completely intact, but the wire inside was frayed. Hopefully with a Toolboard installed, I should have less wiring issues. Thank you again to everyone for your help in troubleshooting!

      posted in General Discussion
      Charlieundefined
      Charlie
    • RE: Print stuttering around curves, LaErrors

      @CCS86 Yes, Cura 4.6.1 does appear to fix the issue (at least it looks fixed in "GCode Analyzer"). Much appreciated!

      posted in Duet Hardware and wiring
      Charlieundefined
      Charlie

    Latest posts made by Charlie

    • RE: 3.6.0-beta.1 Breaking Homing Sequence

      @droftarts Thank you!

      posted in Beta Firmware
      Charlieundefined
      Charlie
    • RE: 3.6.0-beta.1 Breaking Homing Sequence

      Also, I just want to note that for the Gcode Dictionary, for M970, .1, &.2, the "Example" code shows M917 instead of M970.

      posted in Beta Firmware
      Charlieundefined
      Charlie
    • RE: 3.6.0-beta.1 Breaking Homing Sequence

      @gloomyandy Thats really good to know. I appreciate that info!

      Regarding the first crash, it could've either been the first attempt at capturing the debug data, me pulling the mains power in an attempt to "reset" the board, or something to do with me trying to connect to the board over YAT.

      posted in Beta Firmware
      Charlieundefined
      Charlie
    • RE: 3.6.0-beta.1 Breaking Homing Sequence

      @gloomyandy @AndyE3D I was under the (potentially incorrect) assumption that if the MCU reset, it would not be reflected in the M122 (since it restarted and reset). With that being said, here's the response to M111:

      M111 P4 S1
      Debugging enabled for modules: Move(4 - 0xffffffff)
      Debugging disabled for modules: Platform(0) Network(1) Webserver(2) Gcodes(3) Heat(5) Kinematics(6) InputShaping(7) unused(8) PrintMonitor(9) Storage(10) PortControl(11) DuetExpansion(12) FilamentSensors(13) WiFi(14) Display(15) SbcInterface(16) CAN(17) Expansion(18)
      

      Here's the M122 after sending M111 P4 S1, but before the move command:

      M122
      === Diagnostics ===
      RepRapFirmware for Duet 3 MB6HC version 3.6.0-beta.1 (2024-09-24 10:07:51) running on Duet 3 MB6HC v1.01 (SBC mode)
      Board ID: 08DJM-956L2-G43S8-6J9DG-3S46T-KV2LF
      Used output buffers: 2 of 40 (23 max)
      === RTOS ===
      Static ram: 136444
      Dynamic ram: 96212 of which 4652 recycled
      Never used RAM 90476, free system stack 156 words
      Tasks: SBC(2,nWait 7,0.9%,795) HEAT(3,nWait 6,0.0%,325) Move(4,nWait 6,0.0%,211) TMC(5,nWait 6,11.3%,283) CanReceiv(6,nWait 1,0.0%,794) CanSender(5,nWait 7,0.0%,334) CanClock(7,delaying,0.0%,348) MAIN(2,running,87.8%,101) IDLE(0,ready,0.0%,29) USBD(3,blocked,0.0%,134), total 100.0%
      Owned mutexes: USB(MAIN)
      === Platform ===
      Last reset 00:13:55 ago, cause: power up
      Last software reset at 2024-11-06 20:54, reason: AssertionFailed, Gcodes spinning, available RAM 90560, slot 1
      Software reset code 0x0123 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x20415a34 Task MAIN Freestk 2233 ok
      Stack: 00000001 00000000 0049941d 20426970 00000000 204207e8 20426970 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
      Error status: 0x00
      Aux0 errors 0,0,0
      MCU temperature: min 51.7, current 52.7, max 52.9
      Supply voltage: min 26.4, current 26.5, max 26.5, 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
      Heap OK, handles allocated/used 99/4, heap memory allocated/used/recyclable 2048/88/8, gc cycles 0
      Events: 0 queued, 0 completed
      Date/time: 2024-11-07 12:46:12
      Slowest loop: 2.24ms; fastest: 0.07ms
      USB interrupts 161
      === Storage ===
      Free file entries: 20
      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 ===
      Segments created 38, maxWait 0ms, bed comp in use: none, height map offset 0.000, hiccups added 0 (0.00/0.00ms), max steps late 0, ebfmin 0.00, ebfmax 0.00
      Pos req/act/dcf: 26080.00/26080/0.00 1920.00/1920/0.00 2036.00/2036/0.00
      no step interrupt scheduled
      Driver 0: standstill, SG min n/a, mspos 8, reads 11116, writes 0 timeouts 0
      Driver 1: standstill, SG min n/a, mspos 8, reads 11116, writes 0 timeouts 0
      Driver 2: standstill, SG min n/a, mspos 520, reads 11117, writes 0 timeouts 0
      Driver 3: standstill, SG min n/a, mspos 520, reads 11116, writes 0 timeouts 0
      Driver 4: standstill, SG min n/a, mspos 520, reads 11116, writes 0 timeouts 0
      Driver 5: standstill, SG min n/a, mspos 520, reads 11116, writes 0 timeouts 0
      Phase step loop runtime (us): min=0, max=25, frequency (Hz): min=6410, max=10563
      === DDARing 0 ===
      Scheduled moves 12, completed 12, LaErrors 0, Underruns [0, 0, 0]
      === DDARing 1 ===
      Scheduled moves 0, completed 0, LaErrors 0, Underruns [0, 0, 0]
      === Heat ===
      Bed heaters 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1 -1 -1 -1 -1, ordering erHeater 1 is on, I-accum = 0.0
      === GCodes ===
      Movement locks held by null, null
      HTTP* is idle in state(s) 0
      Telnet is idle in state(s) 0
      File is idle in state(s) 0
      USB is ready with "M122" 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
      File2 is idle in state(s) 0
      Queue2 is idle in state(s) 0
      Q0 segments left 0, axes/extruders owned 0x80000007
      Code queue 0 is empty
      Q1 segments left 0, axes/extruders owned 0x0000000
      Code queue 1 is empty
      === Filament sensors ===
      check 0 clear 0
      Extruder 0: no data received, errs: frame 0 parity 0 ovrun 0 pol 0 ovdue 0
      === CAN ===
      Messages queued 1329, received 3024, lost 0, ignored 0, errs 0, boc 0
      Longest wait 0ms for reply type 0, peak Tx sync delay 6, free buffers 50 (min 50), ts 738/738/0
      Tx timeouts 0,0,0,0,0,0
      === SBC interface ===
      Transfer state: 5, failed transfers: 0, checksum errors: 0
      RX/TX seq numbers: 31603/31603
      SPI underruns 0, overruns 0
      State: 5, disconnects: 0, timeouts: 0 total, 0 by SBC, IAP RAM available 0x27f90
      Buffer RX/TX: 0/0-0, open files: 0
      ok
      

      The move command:

      G91
      G1 H2 X10 F3000
      

      And the M122 output after:

      M122
      === Diagnostics ===
      RepRapFirmware for Duet 3 MB6HC version 3.6.0-beta.1 (2024-09-24 10:07:51) running on Duet 3 MB6HC v1.01 (SBC mode)
      Board ID: 08DJM-956L2-G43S8-6J9DG-3S46T-KV2LF
      Used output buffers: 2 of 40 (23 max)
      === RTOS ===
      Static ram: 136444
      Dynamic ram: 96104 of which 4652 recycled
      Never used RAM 91496, free system stack 180 words
      Tasks: SBC(2,nWait 7,0.8%,791) HEAT(3,nWait 6,0.0%,335) Move(4,nWait 6,0.0%,321) TMC(5,nWait 6,11.1%,379) CanReceiv(6,nWait 1,0.0%,794) CanSender(5,nWait 7,0.0%,334) CanClock(7,delaying,0.0%,350) MAIN(2,running,88.0%,101) IDLE(0,ready,0.0%,29) USBD(3,blocked,0.0%,134), total 100.0%
      Owned mutexes: USB(MAIN)
      === Platform ===
      Last reset 00:00:36 ago, cause: software
      Last software reset at 2024-11-07 12:49, reason: HeatTaskStuck, Gcodes spinning, available RAM 90476, slot 2
      Software reset code 0x4143 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0042780f BFAR 0x00000000 SP 0x2041d3d0 Task Move Freestk 958 ok
      Stack: 00000000 2041cd2c 10000000 e000e000 2041d4b8 0049a1d5 0049a9cc 61000000 204210a0 20432728 20432728 00000000 204326a0 00453cf9 001025cc 00456df5 20432728 204326a8 a5a5a5a5 a5a5a500 42576179 a5a5a5a5 a5a5a5a5 a5a5a5a5 a5a5a5a5 a5a5a5a5 a5a5a5a5
      Error status: 0x00
      Aux0 errors 0,0,0
      MCU temperature: min 53.7, current 53.9, max 54.1
      Supply voltage: min 26.4, current 26.5, max 26.5, under voltage events: 0, over voltage events: 0, power good: yes
      12V rail voltage: min 12.1, current 12.1, max 12.1, under voltage events: 0
      Heap OK, handles allocated/used 99/4, heap memory allocated/used/recyclable 2048/80/0, gc cycles 0
      Events: 0 queued, 0 completed
      Date/time: 2024-11-07 12:50:35
      Slowest loop: 2.11ms; fastest: 0.08ms
      USB interrupts 185
      === Storage ===
      Free file entries: 20
      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 ===
      Segments created 0, maxWait 0ms, bed comp in use: none, height map offset 0.000, hiccups added 0 (0.00/0.00ms), max steps late 0, ebfmin 0.00, ebfmax 0.00
      Pos req/act/dcf: 0.00/0/0.00 0.00/0/0.00 0.00/0/0.00
      next step interrupt due in 11 ticks, disabled
      Driver 0: standstill, SG min n/a, mspos 8, reads 7814, writes 0 timeouts 0
      Driver 1: standstill, SG min n/a, mspos 8, reads 7814, writes 0 timeouts 0
      Driver 2: standstill, SG min n/a, mspos 520, reads 7814, writes 0 timeouts 0
      Driver 3: standstill, SG min n/a, mspos 520, reads 7814, writes 0 timeouts 0
      Driver 4: standstill, SG min n/a, mspos 520, reads 7813, writes 0 timeouts 0
      Driver 5: standstill, SG min n/a, mspos 520, reads 7814, writes 0 timeouts 0
      Phase step loop runtime (us): min=0, max=26, frequency (Hz): min=6465, max=10416
      === DDARing 0 ===
      Scheduled moves 0, completed 0, LaErrors 0, Underruns [0, 0, 0]
      === DDARing 1 ===
      Scheduled moves 0, completed 0, LaErrors 0, Underruns [0, 0, 0]
      === Heat ===
      Bed heaters 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1 -1 -1 -1 -1, ordering erHeater 1 is on, I-accum = 0.0
      === GCodes ===
      Movement locks held by null, null
      HTTP is idle in state(s) 0
      Telnet is idle in state(s) 0
      File is idle in state(s) 0
      USB is ready with "M122" 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
      File2 is idle in state(s) 0
      Queue2 is idle in state(s) 0
      Q0 segments left 0, axes/extruders owned 0x80000003
      Code queue 0 is empty
      Q1 segments left 0, axes/extruders owned 0x0000000
      Code queue 1 is empty
      === Filament sensors ===
      check 0 clear 0
      Extruder 0: no data received, errs: frame 0 parity 0 ovrun 0 pol 0 ovdue 0
      === CAN ===
      Messages queued 227, received 518, lost 0, ignored 0, errs 0, boc 0
      Longest wait 0ms for reply type 0, peak Tx sync delay 6, free buffers 50 (min 50), ts 126/126/0
      Tx timeouts 0,0,0,0,0,0
      === SBC interface ===
      Transfer state: 5, failed transfers: 3, checksum errors: 6
      RX/TX seq numbers: 41734/1414
      SPI underruns 4, overruns 4
      State: 5, disconnects: 0, timeouts: 0 total, 0 by SBC, IAP RAM available 0x27f90
      Buffer RX/TX: 0/0-0, open files: 0
      ok
      
      posted in Beta Firmware
      Charlieundefined
      Charlie
    • RE: 3.6.0-beta.1 Breaking Homing Sequence

      @AndyE3D And yes, making sure that DTR was enabled solved my issue with connection! Thank you so much. I can now use YAT on the PC to send and receive commands using a direct USB connection to the Duet.

      Now my issue is that, although I can connect and send an M122 command and get an output, once I send M111 P4 S1, every time I send a move command (like G91 G1 H2 X10 F3000) I get a "Warning: Lost connection to Duet (Timeout while waiting for transfer ready pin)", and then a "Warning: SPI connection has been reset". Then it seems to restart, as the machine is no longer homed.

      posted in Beta Firmware
      Charlieundefined
      Charlie
    • RE: 3.6.0-beta.1 Breaking Homing Sequence

      @AndyE3D Thank you so much for posting this code. Im pretty new to code in general, but it looks like makes sense (unless im completely mistaken which is also possible). Looks like this is in GitHub: ReprapFirmware/src/Movement/PhaseStep.cpp, line 132 for others that may be looking.

      After trying to put some of this in a spreadsheet (which Im sure is not the best way to go about this, but its what I kinda know), and putting in some velocity and acceleration values, Im struggling to get the PIDControlSignal value to be anything other than the 256 max value, which will in turn set the currentFraction to the max of 1.

      Im not sure what Im missing here. Could be that the mParams arent actually as simple as the speed and accel in mm/sec(^2), I may have calculated holdCurrentFraction wrong (in PhaseStep.h as 0.71), or the default values are really conservative. Or something else that I cant think of.

      posted in Beta Firmware
      Charlieundefined
      Charlie
    • RE: 3.6.0-beta.1 Breaking Homing Sequence

      Does anyone have references to how this is implemented?

      The only link I currently have is M970. Others with more info (particularly regarding how its calculated and tuned) would be greatly appreciated.

      posted in Beta Firmware
      Charlieundefined
      Charlie
    • RE: 3.6.0-beta.1 Breaking Homing Sequence

      @Notepad I completely agree. "Acceleration/Velocity constant." Does not help much when trying to tune settings. I was hoping to be able to report back how the calculations are made after doing some testing (and reverse calculating the current factor), but without being able to get a debugging output Im unable to help.

      posted in Beta Firmware
      Charlieundefined
      Charlie
    • RE: 3.6.0-beta.1 Breaking Homing Sequence

      @AndyE3D I also tried using YAT on a PC, and was unable to get a response from any commands that I made (like M122 or M115). Im assuming that this may have something to do with SBC mode, or Im making some other error in the setup.

      posted in Beta Firmware
      Charlieundefined
      Charlie
    • RE: 3.6.0-beta.1 Breaking Homing Sequence

      @AndyE3D This may sound simple, but how do I get the "v, a, cf" display in SBC mode? I enabled debugging using the M111 P4 S1 in dwc, plugged my computer into the USB port on the Duet, and I tried Serial Tools on a Mac, but I dont get any response. Im assuming that this may be correct for standalone mode, but not for SBC. Is this correct?

      posted in Beta Firmware
      Charlieundefined
      Charlie