Duet 3 hc6 firmware '''issues''
-
Tried to do this, how ever routter does not regognize it after i try to fidle with the IP.
This is so frustrating.
-
@Torppa Then it may be down to your router. It's against 'best practice' to set the ip address static within the address range that the router normally provides DHCP addresses. I don't know that any router actively rejects a static address in it's DHCP range, but it might.
A bit more information, like how you're actually trying to do this, or the copy the commands you are trying to use from the YAT, may help diagnose the issue. Get it working with DHCP again, send M552, then set the static IP address to the address that DHCP has given it.
Ian
-
Cant get that far anymore, the sd card is again not regognized.
-
intermittent connections issues could indicate IP conflict.
could you run
route print
in your computer (it will tell us about he network in your computer).then
M540
andM552
on the Duet (in the serial/usb terminal)this should give us something to start working with to find out whats causing the issue.
-
@Torppa said in Duet 3 hc6 firmware '''issues'':
the sd card is again not regognized.
hmm, include
M20
andM122
from the Duet's terminal please. -
Begin file list<LF>NONE<LF>End file list<LF>ok<LF>
M122
=== Diagnostics ===<LF>RepRapFirmware for Duet 3 MB6HC v0.6 or 1.0 version 3.0beta12 running on Duet 3 MB6HC<LF>Board ID: 08DJM-956L2-G43S4-6J1FL-3SJ6T-186QH<LF>Used output buffers: 1 of 32 (2 max)<LF>=== RTOS ===<LF>Static ram: 122240<LF>Dynamic ram: 171368 of which 0 recycled<LF>Exception stack ram used: 280<LF>Never used ram: 99328<LF>Tasks: orm ===<LF>Last reset 00:02:43 ago, cause: power up<LF>Last software reset at 2020-04-10 16:36, reason: User, spinning module GCodes, available RAM 97552 bytes (slot 3)<LF>Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x04429000 BFAR 0x00000000 SP 0xffffffff Task 0x4e49414d<LF>Error status: 0<LF>Free file entries: 1ent 0.2, max 0.2, under voltage events: 0, over voltage events: 0, power good: no<LF>12V rail voltage: min 0.1, current 0.2, max 0.2, under voltage events: 0<LF>Driver 0: ok, reads 0, writes 0 timeouts 0, SG min/max 0/0<LF>Driver 1: ok, reads 0, writes 0 timeouts 0, SG min/max 0/0<LF>Driver 2: ok, reads 0, writes 0 timeouts 0, SG min/max 0/0<LF>Driver 3: ok, reads 0, writes[Warning: Maximal number of bytes per line exceeded! Check the EOL (end-of-line) settings or increase the limit in the advanced terminal settings.] -
please check the getting connected guide to change the line ending settings of the YAT terminal. M122 should be much much longer.
But you're right, SD card isn't getting recognized or somehow empty.
-
pc does regognize it, how ever the duet does not
-
@bearer said in Duet 3 hc6 firmware '''issues'':
M20 P/www
M20 P/www
Begin file list<LF>favicon.ico<LF>index.html<LF>css<LF>fonts<LF>js<LF>End file list<LF>ok<LF>Okay... this is geting weird.
am i safe to bet it needs an exorcism?
-
@Torppa said in Duet 3 hc6 firmware '''issues'':
am i safe to bet it needs an exorcism?
i'm usually in favour of threatening to format it well into next tuesday; jokes aside please check step 3 https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7#s6
Setup YAT to use <LF> as the end of line character. Go to "Terminal" Menu -> "Settings" -> "Text Settings" -> "EOL sequence:" set to <LF>
(edit: I'll leave the SD stuff to Ian; tag me when you get back to networking)
-
@Torppa said in Duet 3 hc6 firmware '''issues'':
am i safe to bet it needs an exorcism?
No, just something's causing it to be a bit temperamental. Does the SD card socket get hot to the touch? Can you have a close look (camera with a macro lens is ideal) at the pins on the back of the SD card socket? I'm just wondering if it's fully soldered. We haven't had any issues with this on Duet 3 (yet), but it occasionally happens on Duet 2.
Unfortunately your M122 response stopped before the useful part which diagnoses the SD card. How are you communicating with the Duet over USB? Are you using YAT, or some other serial console?
Ian
-
@bearer
Interface List
16...00 00 f8 4d 63 0c ......Evolve Virtual Ethernet Adapter
2...2c fd a1 6f 29 f1 ......Intel(R) Ethernet Connection (2) I219-V
5...30 85 a9 f3 a8 1b ......Microsoft Wi-Fi Direct Virtual Adapter
14...30 85 a9 f3 a8 19 ......ASUS PCE-N53 300Mbps 11n dual band Wireless PCI-E card #2
4...30 85 a9 f3 a8 1c ......Microsoft Wi-Fi Direct Virtual Adapter #4
1...........................Software Loopback Interface 1IPv4 Route Table
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.102 25
127.0.0.0 255.0.0.0 On-link 127.0.0.1 331
127.0.0.1 255.255.255.255 On-link 127.0.0.1 331
127.255.255.255 255.255.255.255 On-link 127.0.0.1 331
192.168.1.0 255.255.255.0 On-link 192.168.1.102 281
192.168.1.102 255.255.255.255 On-link 192.168.1.102 281
192.168.1.255 255.255.255.255 On-link 192.168.1.102 281
224.0.0.0 240.0.0.0 On-link 127.0.0.1 331
224.0.0.0 240.0.0.0 On-link 192.168.1.102 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 331
255.255.255.255 255.255.255.255 On-link 192.168.1.102 281Persistent Routes:
Network Address Netmask Gateway Address Metric
255.255.255.255 255.255.255.255 On-link 1
224.0.0.0 240.0.0.0 On-link 1IPv6 Route Table
Active Routes:
If Metric Network Destination Gateway
2 281 ::/0 fe80::dad7:75ff:fee6:274
1 331 ::1/128 On-link
2 281 2001:14ba:27fc:1400::/56 fe80::dad7:75ff:fee6:274
2 281 2001:14ba:27fc:1400::/64 On-link
2 281 2001:14ba:27fc:1400::1/128
On-link
2 281 2001:14ba:27fc:1400:6ce5:ad82:916f:ed69/128
On-link
2 281 2001:14ba:27fc:1400:a985:46bd:4831:30bf/128
On-link
2 281 fe80::/64 On-link
2 281 fe80::a985:46bd:4831:30bf/128
On-link
1 331 ff00::/8 On-link
2 281 ff00::/8 On-linkPersistent Routes:
NoneM540
MAC: be:62:3d:33:53:34
okM552
Ethernet is enabled, configured IP address: 0.0.0.0, actual IP address: 192.168.1.115
ok -
M122
=== Diagnostics ===
RepRapFirmware for Duet 3 MB6HC v0.6 or 1.0 version 3.0beta12 running on Duet 3 MB6HC
Board ID: 08DJM-956L2-G43S4-6J1FL-3SJ6T-186QH
Used output buffers: 1 of 32 (13 max)
=== RTOS ===
Static ram: 122240
Dynamic ram: 172724 of which 0 recycled
Exception stack ram used: 644
Never used ram: 97608
Tasks: NETWORK(ready,396) HEAT(blocked,1212) CanReceiv(suspended,3804) CanSender(suspended,1480) CanClock(blocked,1428) TMC(suspended,256) MAIN(running,3568) IDLE(ready,200)
Owned mutexes:
=== Platform ===
Last reset 00:07:11 ago, cause: software
Last software r 0xffffffff Task 0x4e49414d
Error status: 0
Free file entries: 10
SD card 0 detected, interface speed: 25.0MBytes/sec
SD card longest block write time: 0.0ms, max retries 0
MCU temperature: min 24.9, current 25.9, max 26.1
Supply voltage: min 0.1, current 0.2, max 0.2, under voltage events: 0, over voltage events: 0, p min/max 0/0
Driver 2: ok, reads 0, writes 0 timeouts 0, SG min/max 0/0
Driver 3: ok, reads 0, writes 0 timeouts 0, SG min/max 0/0
Driver 4: ok, reads 0, writes 0 timeouts 0, SG min/max 0/0
Driver 5: ok, reads 0, writes 0 timeouts 0, SG min/max 0/0
Date/time: 2020-04-10 18:12:40
Slowest loop: 5.70ms; fastest: 0.17ms
=== Move ===
Hiccups: 0, FreeDm: 375, MinFreeDm: 375, MaxWait: 0ms
Bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
=== AuxDDARing ===
Scheduled moves: 0,ck 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 ready with "M122" in state(s) 0
aux is assembling a command in state(s) 0
daemon is idle in state(s) 0
queue is idle in state(s) 0
lcd is idle in state(s) 0
spi is idTP(0) Telnet(0) Telnet(0)
HTTP sessions: 1 of 8- Ethernet -
State: 5
Socket states: 2 2 2 2 2 2 0 2
=== CAN ===
Messages sent 1723, longest wait 0ms for type 0
=== Linux interface ===
State: 0, failed transfers: 0
Last transfer: 431018ms ago
RX/TX seq numbers: 0/1
SPI underruns 0, overruns 0
Number of disconnects: 0
B
- Ethernet -
-
Both should be on the same network*, but if the SD card is having issues then that could explain the web issues as well.
If it persist after sorting the SD card you can use
arp -a
repeatedly on the computer to see if more than one MAC address replies to 192.168.1.115 which is the address the Duet is using.*) assuming there aren't multiple routers involved.
-
And again its dead after trying to change IP
-
@Torppa said in Duet 3 hc6 firmware '''issues'':
And again its dead after trying to change IP
can you show the command and response?
-
@Torppa said in Duet 3 hc6 firmware '''issues'':
SD card 0 detected, interface speed: 25.0MBytes/sec
SD card longest block write time: 0.0ms, max retries 0That's the correct speed for Duet 3, so I'd expect the socket to be okay, perhaps a faulty/failing SD card. Have you got another you can try?
@Torppa said in Duet 3 hc6 firmware '''issues'':
And again its dead after trying to change IP
How are you changing the IP address? Using YAT? (Are you using YAT?) Please show the commands and replies.
Ian
-
The problem is, when ever i try to change the IP to a stactik one it looses the SD card, and i haveto format it to oblivion to get it to work again.
or to be precise any alteration to the IP adress destroys everything on the SD card
-
how are you changing the address?
And if you can connect to the duet using a dynamic address, why not stick with that - or create a reservation in the router?
-
@Torppa Please explain how you are 'changing the IP address'. Because you should be able to do this (temporarily, until the next reset, at least) without the SD card even in the Duet, by connecting via USB, and sending the commands directly.
Are you editing the config.g on your computer? What programme are you using to edit it? Notepad should be okay, but other programmes may introduce odd characters that are upsetting the Duet.
Or are you editing it in the DWC editor? It should save the changes on exit, then ask if you want to reset.
Ian