Scratch that. I Just misread the file and realized I was using a RRF2 code.
Posts made by hansy453
-
RE: Duet 2 Wifi Module Issue
-
RE: Duet 2 Wifi Module Issue
So I found these 2 files named SETNETWORK14 and SETNETWORK24 and deleted them:
; SetNetwork macro to set up access to dummy test Wifi network June 2020 Version with IP 14
M552 S0
G4 P1000
M587 S"TNCAPF2FD81" P"15ED995349" I192.168.1.14
M587
M552 S1
M552and then:
; SetNetwork macro to set up access to dummy test Wifi network June 2020 Version with IP 24
M552 S0
G4 P1000
M587 S"TNCAPF2FD81" P"15ED995349" I192.168.1.24
M587
M552 S1
M552Its completely beyond me, but once I deleted those 2 it stopped showing all those errors and allowed me to re-flash without issue. After that, I went through all the normal M552 and M587 business and it is all hooked up over the network now.
Any idea why those files would have messed it up? I downloaded Jaysblogs github files for Anycubic Predator with a duet and those were in them.
Thank you for all your help. If you don't mind looking it over. I am still having some trouble getting it to home or do anything after now.
; Configuration file for Duet WiFi (firmware version 1.21)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves; Delta Settings
M665 L440.380 R226.821 H420 B185.0 X0 y0 z0 ; Set delta radius, diagonal rod length, printable radius and homed height
M666 X0 y0 z0 A0.00 B0.00 ; Put your endstop adjustments here, or let auto calibration find them; Network
M550 P"Anycubic Predator" ; Set machine name
M551 P"" ; Set password
M552 S1 ; Enable network and acquire dynamic address via DHCP
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S0 ; Drive 3 goes forwards
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X160.00 Y160.00 Z160.00 E415 ; Set steps per mm
M566 X3000 Y3000 Z3000 E3000 ; Set maximum instantaneous speed changes (mm/min)
M203 X12000.00 Y12000.00 Z12000.00 E12000 ; Set maximum speeds (mm/min)
M201 X9000.00 Y9000.00 Z9000.00 E6000.00 ; Set accelerations (mm/s^2)
M906 X1800.00 Y1800.00 Z1800.00 E1000.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Retraction
M207 S1.85 F7000 R0 T2500 Z0.5 ; Firmware retraction; Axis Limits
M208 Z0 S1 ; Set minimum Z; Endstops
M574 X2 Y2 Z2 S1 ; Set active high endstops; Z-Probe
M558 P8 R0.4 F1200 H3 T5000 ; Set Z probe type to switch and the dive height + speeds
G31 P100 X0 Y0 Z-0.1 ; Set Z probe trigger value, offset and trigger height
M557 R175 S20 ; Define mesh grid; Heaters
M307 H0 A137.8 C533.3 D1.5 V24.3 B0 ; Disable bang-bang mode for the bed heater and set PWM limit
M305 P0 T100000 B4300 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 T100000 B4725 C7.06e-8 ; Set thermistor + ADC parameters for heater 1
M143 H1 S290 ; Set temperature limit for heater 1 to 240C
M307 H2 A-1 C-1 D-1 ; Disconnect H2 from being a heater - LED; Fans
M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on; Tools
M563 P0 D0 H1 ; Define tool 0
G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C; Automatic saving after power loss is not enabled
; Custom settings are not configured
M591 D0 P2 C4 S1 ; Activate filament sensor
M404 N1.75 ; Set for print monitor
M592 D0 A0.011806 B0.0026876 ; Nonlinear extrusion. Set parameters for extruder drive 0 - 0.4mm
M575 P1 B57600 S1; Miscellaneous
M501 ; Load saved parameters from non-volatile memoryLet me know what you think.
-
RE: Duet 2 Wifi Module Issue
@phaedrux Connecting...
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.0beta7
Executing config.g... Error: in file macro line 17 column 7: M552: expected string expression
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled
Error: in file macro line 27 column 19: M350: array too long, max length = 0
Error: in file macro line 28ok
Printer is now online.M997 S1
SENDING:M997 S1
Error: M997: File 0:/firmware/DuetWiFiServer.bin not found
Error: M997: File 0:/firmware/DuetWiFiServer.bin not foundThat's what I'm getting no matter where I put it on the card.
All else is the same at the moment. -
Duet 2 Wifi Module Issue
After inputting :
M552 S-1
M552 S0
M587 S"" P""
Error: M587: Failed to add SSID to remembered list: another SPI transfer is pendingI keep receiving this.
I have tried different firmwares, different config settings, hard erase and load from BOSSA... and its to no avail.
Provided below is some info for firmware and wifi card. Please let me know if there is anything more I can try.
Thanks.
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.4.0beta7 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2021-12-16 12:22:11
M122
SENDING:M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.0beta7 (2021-12-16 12:22:11) running on Duet WiFi 1.02 or later
Board ID: 0JD0M-9P6B2-NJ4S4-6JKF6-3SJ6L-1A2UK
Used output buffers: 1 of 24 (5 max)
=== RTOS ===
Static ram: 23804
Dynamic ram: 71788 of which 404 recycled
Never used RAM 16084, free system stack 193 words
Tasks: NETWORK(ready,7.0%,518) HEAT(notifyWait,0.0%,387) Move(notifyWait,0.0%,364) MAIN(running,92.6%,467) IDLE(ready,0.4%,30), total 100.0%
Owned mutexes: USB(MAIN)
=== Platform ===
Last reset 00:03:41 ago, cause: power up
Last software reset details not available
Error status: 0x00
Error status: 0x00Aux0 errors 0,0,0
Step timer max interval 0
MCU temperature: min 9.3, current 14.6, max 15.0
Supply voltage: min 0.0, current 0.9, max 1.0, under voltage events: 0, over voltage events: 0, power good: no
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: pos 63798, ok, SG min n/a
Driver 1: pos 63798, ok, SG min n/a
Driver 2: pos 3189897, ok, SG min n/a
Driver 3: pos 0, ok, SG min n/a
Driver 4: pos 0, ok, SG min n/a
Driver 5: pos 0
Driver 6: pos 0
Driver 7: pos 0
Driver 8: pos 0
Driver 9: pos 0
Driver 10: pos 0
Driver 11: pos 0
Date/time: 1970-01-01 00:00:00
Cache data hit count 4294967295
Slowest loop: 100.81ms; fastest: 0.14ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest read time 3.1ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 83, 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, 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 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
Daemon is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty
=== Network ===
Slowest loop: 0.21ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
HTTP sessions: 0 of 8- WiFi -
Network state is starting2
WiFi module is disabled
Failed messages: pending 0, notready 1, noresp 0
Socket states: 0 0 0 0 0 0 0 0
- WiFi -