Stuck in spin loop
-
my second test same error :
M122 === Diagnostics === RepRapFirmware for Duet 2 WiFi/Ethernet version 3.01-RC9 running on Duet WiFi 1.02 or later Board ID: 08DGM-9T6BU-FG3S8-6J1DJ-3SD6M-1SKBFUsed output buffers: 3 of 24 (11 max) === RTOS === Static ram: 28044 Dynamic ram: 93324 of which 24 recycled Exception stack ram used: 528 Never used ram: 9152 Tasks: NETWORK(ready,116) HEAT(blocked,1228) MAIN(running,1748) IDLE(ready,80) Owned mutexes: WiFi(NETWORK) === Platform === Last reset 03:40:18 ago, cause: software Last software reset time unknown, reason: User, spinning module GCodes, available RAM 9352 bytes (slot 1) Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d Error status: 0 Free file entries: 10 SD card 0 detected, interface speed: 20.0MBytes/sec SD card longest block write time: 68.6ms, max retries 4 MCU temperature: min 40.0, current 40.5, max 44.6 Supply voltage: min 23.9, current 24.2, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes Driver 0: standstill, SG min/max 12/145 Driver 1: standstill, SG min/max 1/180 Driver 2: standstill, SG min/max not available Driver 3: standstill, SG min/max 0/224 Driver 4: standstill, SG min/max not available Date/time: 1970-01-01 00:00:00 Cache data hit count 4294967295 Slowest loop: 2150.65ms; fastest: 0.13ms I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0 === Move === Hiccups: 0(0), FreeDm: 169, MinFreeDm: 142, MaxWait: 36555ms Bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves: 0, completed moves: 5, StepErrors: 0, LaErrors: 0, Underruns: 0, 3 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 === 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 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 Daemon is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty. === Network === Slowest loop: 1239.61ms; fastest: 0.00ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) HTTP sessions: 1 of 8 - WiFi - Network state is active WiFi module is connected to access point Failed messages: pending 0, notready 0, noresp 0 WiFi firmware version 1.23 WiFi MAC address cc:50:e3:15:07:f2 WiFi Vcc 3.36, reset reason Unknown WiFi flash size 4194304, free heap 21568 WiFi IP address 192.168.6.40 WiFi signal strength -68dBm, reconnections 0, sleep mode modem Socket states: 4 0 0 0 0 0 0 0
-
That error code does suggest a hardware fault (unless both SD cards are faulty), however it's a cloned Duet (although a legal one) so we can't really help you.
-
I bought the card on Aliexpress, I thought it was an original (Sorry!). If I buy a new card on www.filafarm.de it's OK ?
-
@Arnaud-S said in Stuck in spin loop:
I bought the card on Aliexpress, I thought it was an original (Sorry!). If I buy a new card on www.filafarm.de it's OK ?
Filafarm is one of our genuine resellers, see https://www.duet3d.com/GenuineResellers.
-
Thks for all @dc42, i test with a 32Gb card (it's new card still wrapped). It's Working so ! I will test with another STL.
Just for information, now with the command M122 :
SD card 0 detected, interface speed: 20.0MBytes/sec SD card longest block write time: 0.0ms, max retries 0
-
@Arnaud-S said in Stuck in spin loop:
Thks for all @dc42, i test with a 32Gb card (it's new card still wrapped). It's Working so ! I will test with another STL.
Just for information, now with the command M122 :
SD card 0 detected, interface speed: 20.0MBytes/sec SD card longest block write time: 0.0ms, max retries 0
That looks a lot better than the other one!
-
I like to understand the problem then I decided to find a software which allows to check the writing and reading SD card. I checked with the defective SD cards. And the result says that the SD card is defective:
0.5 KByte corrupted (1 sector)Warning: Only 4461 of 7428 MByte tested. The media is likely to be defective. 4.3 GByte OK (9136127 sectors) 0.5 KByte DATA LOST (1 sector) Details:0 KByte overwritten (0 sectors) 0 KByte slightly changed (< 8 bit/sector, 0 sectors) 0.5 KByte corrupted (1 sector) 0 KByte aliased memory (0 sectors) First error at offset: 0x000000008123ff80 Expected: 0x04c122acee44af80 Found: 0x27a7a1cd8943af80 Reading speed: 66.8 MByte/s
So now i chek all my SD card with the software H2testw (available on www.heise.de)
-
@Arnaud-S said in Stuck in spin loop:
I like to understand the problem then I decided to find a software which allows to check the writing and reading SD card. I checked with the defective SD cards. And the result says that the SD card is defective:
0.5 KByte corrupted (1 sector)Warning: Only 4461 of 7428 MByte tested. The media is likely to be defective. 4.3 GByte OK (9136127 sectors) 0.5 KByte DATA LOST (1 sector) Details:0 KByte overwritten (0 sectors) 0 KByte slightly changed (< 8 bit/sector, 0 sectors) 0.5 KByte corrupted (1 sector) 0 KByte aliased memory (0 sectors) First error at offset: 0x000000008123ff80 Expected: 0x04c122acee44af80 Found: 0x27a7a1cd8943af80 Reading speed: 66.8 MByte/s
So now i chek all my SD card with the software H2testw (available on www.heise.de)
Interesting! Did the second SD card you tried also report errors?
-
For the first SDCARD no error but writing 14.6MByte/s this is normal but the Reading is 14.9MByte/s maybe not fast enough for the DUET 3D which works in 20Mb.
First SD CARD : NO NAME 16Gb
Second SD CARD : EMTEC 8GB Class 10 HCISo for the second, Wrinting is 16.14MB/s and Reading is 75.69Mb/s, I format low level the second card and i will check for errors with the software. Finally I use the second card to check the print.
-
To finish, I format three times in low level the second card (EMTEC) and the error is still present.
I put in trash the two SD cards:
- the first because too slow
- the second because defective
Now on the error "Cannot read file, error code 1" I will use the software to check a malfunction on the card.
FYI, my second print with the third SD CARD (type TOSHIBA 32GB SDXC I 3, formatted in FAT32 with 32Kb of cluster) works fine.
Thanks for your help @dc42.
-
Interesting that you used H2testw to find the faulty card. It was on my list of things to investigate for finding faults in SD cards but I hadn't tested it yet (no mac version).
Thanks for confirming it works. I will add a note to the SD card page about using it to test for a faulty card.