Javascript error when try to access sd card
-
Was doing a pid after changing hotend to volcano and now it seems like my sd card is corrupt. It will disconnect and give me a javascript error and disconnect. was working fine. so I'm sure I changed something the problem is I'm not that familiar with this firmware to know if I caused this.
here is my M122
=== Diagnostics ===
Used output buffers: 3 of 32 (16 max)
=== Platform ===
RepRapFirmware for Duet WiFi version 1.19 running on Duet WiFi 1.0
Board ID: 08DDM-9FAM2-LW4S4-6JTDA-3SD6K-K3SBX
Static ram used: 21176
Dynamic ram used: 96032
Recycled dynamic ram: 1576
Stack ram used: 1304 current, 4840 maximum
Never used ram: 7448
Last reset 00:04:33 ago, cause: power up
Last software reset reason: User, spinning module GCodes, available RAM 7448 bytes (slot 2)
Software reset code 0x0003, HFSR 0x00000000, CFSR 0x00000000, ICSR 0x00400000, BFAR 0xe000ed38, SP 0xffffffff
Error status: 0
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest block write time: 64.3ms
MCU temperature: min 30.3, current 39.8, max 39.9
Supply voltage: min 24.2, current 24.4, max 24.7, under voltage events: 0, over voltage events: 0
Driver 0: stalled standstill
Driver 1: standstill
Driver 2: standstill
Driver 3: standstill
Driver 4: standstill
Date/time: 2018-05-28 16:23:21
Slowest main loop (seconds): 0.074799; fastest: 0.000034
=== Move ===
MaxReps: 3, StepErrors: 0, FreeDm: 240, MinFreeDm 234, MaxWait: 1659ms, Underruns: 0, 0
Scheduled moves: 5, completed moves: 5
Bed compensation in use: none
Bed probe heights: 0.000 0.000 0.000 0.000 0.000
=== Heat ===
Bed heater = 0, chamber heater = -1
=== GCodes ===
Segments left: 0
Stack records: 1 allocated, 0 in use
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
serial is idle in state(s) 0
aux is idle in state(s) 0
daemon is idle in state(s) 0
queue is idle in state(s) 0
autopause is idle in state(s) 0
Code queue is empty.
Network state is running
WiFi module is connected to access point
WiFi firmware version 1.19
WiFi MAC address 60:01:94:31:b0:14
WiFi Vcc 3.05, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 38976
WiFi IP address 192.168.1.8
WiFi signal strength -53dBm
HTTP sessions: 1 of 8
Socket states: 2 0 0 0 0 0 0 0
Responder states: HTTP(1) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) -
here is my config
; Configuration file for Duet WiFi (firmware version 1.17 to 1.19)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Wed Dec 27 2017 15:50:45 GMT-0800 (Pacific Standard Time); General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P2 ; Set firmware compatibility to look like Marlin
M665 R235.191 L421.772 B165 H615.687 ; Set delta radius, diagonal rod length, printable radius and homed height
M666 X-0.22 Y1.94 Z-1.72 ; Put your endstop adjustments here, or let auto calibration find them
M208 Z0 S1 ; Set minimum ZM574 X2 Y2 Z2 S1 ; Set active high endstops
M558 P1 X0 Y0 Z0 H3 F2500 T7000 ; Set Z probe type to unmodulated, the axes for which it is used and the dive height + speeds
G31 P500 X0 Y24 Z1.5 ; Set Z probe trigger value, offset and trigger height
M557 R165 S20 ; Define mesh grid; Drives
M569 P0 S0 ; Drive 0 goes forwards
M569 P1 S0 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes forwards
M569 P3 S0 ; Drive 3 goes forwards
M350 E16 I0 ; Configure microstepping without interpolation
M350 X16 Y16 Z16 I1 ; Configure microstepping with interpolation
M92 X160 Y160 Z160 E2810 ; Set steps per mm
M566 X800 Y800 Z800 E30 ; Set maximum instantaneous speed changes (mm/min)
M203 X18000 Y18000 Z18000 E400 ; Set maximum speeds (mm/min)
M201 X1500 Y1500 Z1500 E120 ; Set accelerations (mm/s^2)
M906 X1700 Y1700 Z1700 E360 I60 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Heaters
M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S150 ; Set temperature limit for heater 0 to 150C
M305 P1 X200 ; Set thermistor + ADC parameters for heater 1 and remap it to channel 501
M143 H1 S400 ; Set temperature limit for heater 1 to 400C
M307 H1 A349.1 C148.2 D3.0 B0 ; set pid for hotend
M307 H0 A134.2 C689.9 D14.0 B0 ; set pid for bedM563 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; Network
M550 PDELTA1 ; Set machine name
M552 S1 ; Enable network
M587 S"NoAccess" P"9512457774DaGWerkz" ; Configure access point. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Fans
M106 P0 S0 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
M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on -
If you think the SD card is corrupt, I suggest you move it to a PC and using the disk tools to fix any errors on it. However, it may be that something else is causing the javascript error. Please upgrade to firmware and DWC 1.21, or to the just-released 2.0RC6 version, and try again. If the Javascript error persists, please report the exact error message here.
-
Ok thanks. I will try that this weekend.
-
That has fixed it. thank you.
-
Your Bad Ass BTW!