upload gcode error
-
ive been uploading and printing fine for the past few days except once in a while it would upload really slow, and then it would fail one here and there.
now it fails every time.
just updated the firmware, wifi module, and the DWC.
running on win7 google chrome
i also removed the card and checked for errors and defragmentation was at 0%.
ive only ran about 20 files through it so far.
i can connect and move the printer fine i just cant upload anything via wifi.
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 2.02(RTOS) running on Duet WiFi 1.02 or later
Board ID: 08DGM-9T6BU-FG3S0-7JKD4-3S86J-1A5ZF
Used output buffers: 3 of 20 (10 max)
=== RTOS ===
Static ram: 25524
Dynamic ram: 98532 of which 0 recycled
Exception stack ram used: 328
Never used ram: 6688
Tasks: NETWORK(ready,408) HEAT(blocked,1176) MAIN(running,3844) IDLE(ready,200)
Owned mutexes:
=== Platform ===
Last reset 00:17:22 ago, cause: power up
Last software reset at 2019-01-17 23:36, reason: User, spinning module GCodes, available RAM 6688 bytes (slot 3)
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
Error status: 8
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest block write time: 186.3ms, max retries 0
MCU temperature: min 23.1, current 26.5, max 26.7
Supply voltage: min 23.9, current 24.0, max 24.2, under voltage events: 0, over voltage events: 0, power good: yes
Driver 0: standstill, SG min/max not available
Driver 1: standstill, SG min/max not available
Driver 2: standstill, SG min/max not available
Driver 3: standstill, SG min/max not available
Driver 4: standstill, SG min/max not available
Date/time: 2019-01-18 13:26:23
Cache data hit count 3888618574
Slowest loop: 9.89ms; fastest: 0.07ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0
=== Move ===
Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm: 240, MaxWait: 0ms, Underruns: 0, 0
Scheduled moves: 0, completed moves: 0
Bed compensation in use: none
Bed probe heights: 0.000 0.000 0.000 0.000 0.000
=== Heat ===
Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
Heater 1 is on, I-accum = 0.0
=== 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 ===
Slowest loop: 1345.29ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 1 of 8- WiFi -
Network state is running
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
WiFi firmware version 1.22
WiFi MAC address 84:f3:eb:42:aa:fe
WiFi Vcc 3.42, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 25936
WiFi IP address 192.168.1.104
WiFi signal strength -66dBm, reconnections 0, sleep mode modem
Socket states: 0 0 0 0 0 0 0 0
- WiFi -
-
@deltajegga said in upload gcode error:
SD card longest block write time: 186.3ms, max retries 0
That's rather a long block write time, so the problem might be wear on the SD card. Try a new SD card, and make sure you format it using 32kb or 64kb cluster size.
WiFi signal strength -66dBm, reconnections 0, sleep mode modem
That signal strength is a little lower than ideal, but probably OK.
-
so i reformatted an sd card i had sitting but i think that made it worse, it says my wifi module is connected to the network but DWC wont connect. im gonna buy a fresh card today and try again. all i should need to do is just copy the files from the old one to the new card right? and keep the directory's the same.
-
@deltajegga said in upload gcode error:
all i should need to do is just copy the files from the old one to the new card right? and keep the directory's the same.
Correct.
If you are using a 2.0RC version of DWC then I suggest you revert to DWC 1.22.6. I get occasional upload errors using DWC 2.0RC3, whereas uploads are 100% reliable using DWC 1.22.6.
-
okay i got a sandisk ultra 16g, formatted to 64kb and tried an upload.
it tried for 20 mins and got up to like 90% and failed. ill try reverting to 1.22.6 later tonight. i dont understand how it worked at first but slowly got worse. ill try scooting it closer to the router to be sure. -
ok so i just took the time to actually look, haha, and i am already on DWC 1.22.6
should i try updating to dwc2? -
@deltajegga said in upload gcode error:
ok so i just took the time to actually look, haha, and i am already on DWC 1.22.6
should i try updating to dwc2?No, I find DWC 1.22.6 completely reliable, but DWC2 not yet.
I am guessing that the problem is related to signal strength or WiFi interference. See https://duet3d.dozuki.com/Wiki/WiFi_disconnections_and_AJAX_timeout_errors. Note, a small number of WiFi routers seem to be incompatible with the ESP WiFi modules. We don't know why.
-
ill try moving it closer. is there anything else that you think would cause it to slowly degrade?
-
@deltajegga said in upload gcode error:
ill try moving it closer. is there anything else that you think would cause it to slowly degrade?
It could be that the 2.4GHz spectrum has become more congested where you are. Changing WiFi channel on your router may help.
-
This post is deleted!