Brand new board not reading SD card
-
Hi
I can't yet get to the Duet Wifi Browser based interface on this printer. (Printer1)I can see on my other printer (Printer2) that in the G-Code section, the top left corner has a Green Icon that says SD Card 0 and there is a list of files. If I click on this, I get a Red icon that says SD Card 1 - not mounted.
On my printer (Printer1), I do have a Duet Display that is connected.
There is a row of icons under the X Y Z position indicators
Two rows down is an icon for the memory card, Move Extrude MacroThis memory card icon is the one I pressed.
It says< Files on Card 0 <_> X
The balance of the screen is blank
Pressing < in the top left did nothing
Pressing <> in the middle returned
Error 1 accessing SD Card
no files listed
Pressing <> again returns
Files on card 0
None listed -
Hi
I redid the entire process.
I can write to the card. I put version 1.20 on it
I unzipped all the files.
I put the main gcode files in the /sys folder
I put the .bin files in the /www folder
I sent M552 S0 to stop the wifi module
I sent M552 S1 to start the wifi module
I sent M997 S0
Message returned File Not Found
M122[[language]] SENDING:M122 === Diagnostics === Used output buffers: 1 of 32 (8 max) === Platform === RepRapFirmware for Duet WiFi version 1.19 running on Duet WiFi 1.0 Board ID: 08DGM-95BNL-MGPSJ-6J1DG-3S46N-TKY7W Static ram used: 21176 Dynamic ram used: 95936 Recycled dynamic ram: 1672 Stack ram used: 4008 current, 5220 maximum Never used ram: 7068 Last reset 00:18:03 ago, cause: power up Last software reset reason: not available Error status: 0 [ERROR] Error status: 0 Free file entries: 10 SD card 0 detected, interface speed: 20.0MBytes/sec SD card longest block write time: 0.0ms MCU temperature: min 36.6, current 37.9, max 38.2 Supply voltage: min 12.1, current 12.2, max 12.3, under voltage events: 0, over voltage events: 0 Driver 0: standstill Driver 1: standstill Driver 2: standstill Driver 3: standstill Driver 4: standstill Date/time: 1970-01-01 00:00:00 Slowest main loop (seconds): 0.004517; fastest: 0.000000 === Move === MaxReps: 0, StepErrors: 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 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 ready with "M122" 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 2c:3a:e8:0b:07:d2 WiFi Vcc 3.10, reset reason Turned on by main processor WiFi flash size 4194304, free heap 39416 WiFi IP address 192.168.2.27 WiFi signal strength -66dBm HTTP sessions: 0 of 8 Socket states: 0 0 0 0 0 0 0 0 Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
SD card SD 0 is reported as found and interfaced at 20mb/sec
From the Duet Panel Due
The printer name "Tevo Tarantula" is showing in the red line at the top of the screen and shows as idle
No files show on the screen
If I go into messages, I get:
Correct Network Name IP address correct address displayed
19m Wifi module is idle
19m Wifi module is connected to access point
correct network name correct ip address
17m Error: Firmware binary "DuetWifiFirmware.bin" not found
5mxx Cannot initialise SD card 1: Card is unuseable
5mxx Cannot initialise SD card 1: Card is unuseableWhy is it looking for Card SD1?
-
SENDING:M21
SDHC card mounted in slot 0, capacity 3.64Gb -
Hi
I can't yet get to the Duet Wifi Browser based interface on this printer. (Printer1)I can see on my other printer (Printer2) that in the G-Code section, the top left corner has a Green Icon that says SD Card 0 and there is a list of files. If I click on this, I get a Red icon that says SD Card 1 - not mounted.
On my printer (Printer1), I do have a Duet Display that is connected.
There is a row of icons under the X Y Z position indicators
Two rows down is an icon for the memory card, Move Extrude MacroThis memory card icon is the one I pressed.
It says< Files on Card 0 <_> X
The balance of the screen is blank
Pressing < in the top left did nothing
Pressing <> in the middle returned
Error 1 accessing SD Card
no files listed
Pressing <> again returns
Files on card 0
None listedYou must be running an older version of PanelDue firmware, which uses the <_> button to switch between card 0 and card 1. That's why it's trying to mount SD card 1 when you press that button.
Do you actually have any files in the /gcodes folder of the SD card?
-
Yes, I have all the gcode files installed.
-
As indicated earlier, it is the .bin file that is reported as not being found. That is in the /www folder.
The message from PanelDue is that Card 1 was not found.
Should I try to update the PanelDue firmware?
-
The .bin file should not be in the /www folder. If you intend to update the firmware from it, it needs to be in the /sys folder.
As your PanelDue firmware appears to be quite old, i suggest you update it.
-
I have been busy
I have updated the paneldue firmware to 1.17. It was actually very smooth and straight forward.
I have gone through the "getting connected" document and I can confirm that the network setup was successful.
I can confirm that AngryIP scan reported that the ip address on this board shows as connected on the wifi network.
I sent M122 from Pronterface
The results.```
[[language]]
SENDING:M122
=== Diagnostics ===
Used output buffers: 1 of 32 (4 max)
=== Platform ===
RepRapFirmware for Duet WiFi version 1.19 running on Duet WiFi 1.0
Board ID: 08DGM-95BNL-MGPSJ-6J1DG-3S46N-TKY7W
Static ram used: 21176
Dynamic ram used: 95936
Recycled dynamic ram: 1672
Stack ram used: 4008 current, 4956 maximum
Never used ram: 7332
Last reset 00:07:43 ago, cause: power up
Last software reset reason: not available
Error status: 0
[ERROR] Error status: 0Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest block write time: 0.0ms
MCU temperature: min 30.7, current 36.0, max 36.3
Supply voltage: min 12.1, current 12.1, max 12.3, under voltage events: 0, over voltage events: 0
Driver 0: standstill
Driver 1: standstill
Driver 2: standstill
Driver 3: standstill
Driver 4: standstill
Date/time: 1970-01-01 00:00:00
Slowest main loop (seconds): 0.009644; fastest: 0.000034
=== Move ===
MaxReps: 0, StepErrors: 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 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 ready with "M122" 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 2c:3a:e8:0b:07:d2
WiFi Vcc 3.10, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 38712
WiFi IP address 192.168.2.27
WiFi signal strength -65dBm
HTTP sessions: 0 of 8
Socket states: 0 0 0 0 0 0 0 0
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)I don't know what the free file reference means, but it clearly states in the diagnostics that the memory card is mounted and accessible at 20mb/sec``` [[language]] SENDING:M21 SDHC card mounted in slot 0, capacity 3.64Gb ```I put all the .bin files into the /sys folder. M997 S0 indicates file not found If I put the IP address in my browser, it comes back stating that the IP address cannot be found If I press the memory card icon on the duetwifi, no files are displayed on SD0 or SD 1 and I get the error 1 message If I look on console there is no message indicating an attempt to initialise SD Card 0\. It does report that attempting to initialize SD Card 1 failed. What if I put all the files on the type of memory card that is supported on the PanelDue. Is that the SD Card 1 port? Can I update the board from there? Can I use that instead of Card 0? so that I can use the printer?
-
Can you show us a listing of the files in the /sys folder?
If I put the IP address in my browser, it comes back stating that the IP address cannot be found
That's the odd bit. Looks like there is a communication issue between the Duet and your router. Here are some things that may help:
1. Try rebooting your router. This has worked for a few people.
2. Try changing channel on your router. Feedback from some some users suggests that channel 6 works better than channel 1.
3. Try setting a static IP address in the M587 command. First check on your router admin page that no other device is using that IP address.
-
-
I will reboot the router
This channel works fine for the other duet card. -
I will reboot the router
This channel works fine for the other duet card.That's even more odd!
-
No go. Router rebooted. Can't connect to the new duet card.
Can connect to the old duet card no problemOddly enough my panelDue is displaying My Duet when it was displaying Tevo Tarantula earlier. It's not showing on AngryIP now either, so maybe it's signal strength?
Maybe I'll just shut it all down and give up until tomorrow
Tomorrow I might swap memory cards between the two printers. I won't turn on the printer, just connect to the board via USB and see if I can see anything different.
I guess I could move the PanelDue to the other board and see if it reads anything on the card that is currently in it.
If I'm careful moving things around, I might be able to isolate what is actually working and what is not.
-
It's a new day here, so let's get this sorted out once and for all.
I have not turned on this printer yet today.
I am connected via USB to the main board.
PanelDue Says My Duet in the top line
Console Says ConnectedPronterface connected and printer online
M552 from Pronterface says wifi module is disabledM552 S0 Wifi Module is Started
M587 shows my network in remembered networks (also shows TNCAP2FCC19 which I know nothing about?)
M552 S1 show wifi module is connected to correct network with correct IP address.
AngryIP scanner hit the address in 11ms and returned the network address for the card.
PanelDue console reflects wifi module started and wifi module connected to access point with correct wifi name and correct ip address.
This is the document I have been following. What to do next for version 1.19 of the firmware says TODO
I have been trying to install the latest version of firmware so that it is the same version as my other Duet Card since I can't seem to get past this point.I have entered my IP address in the browser and it appears that I am connecting today, but I am not getting the DWF interface screen in my browser. I am not getting an error message saying that it could not connect or that the address is unknown
[[language]] https://duet3d.com/wiki/Getting_connected_to_the_Duet_WiFi
Something is different this morning.
I disconnected and reconnected the USB and when the board booted this time, it automatically went out and connected to the wifi network
I am also reading Tevo Tarantula in the red bar on the top of the PanelDue.
The only way for that to change would be that my config.g file was read, because that it where the printer name is defined. If it did not read config.g, the panel would say My Duet.
Now when I enter M997 S0, from Pronterface, I get an error message that says.
Error: In-application programming binary "iap4e.bin" not found which is true. That file is not on my memory card.The iap files are not listed in the current firmware files on github for version 1.20
I copied the two files from the version 1.19 firmware on the same page. Is that ok??
Now I am getting Firmware binary "DuetWifiFirmware.bin" not found when I run M997 S0.
Obviously I am connecting to the network.
Obviously I am reading from the memory card.M997 S0 reported DuetWifiFirmware.bin not found
M997 S1 installed successfully?I checked the memory card and DuetWifiFirmware was no longer there? I copied it over again.
M997 S0 still fails
M122 reports[[language]] >>> m122 SENDING:M122 === Diagnostics === Used output buffers: 1 of 32 (9 max) === Platform === RepRapFirmware for Duet WiFi version 1.20 running on Duet WiFi 1.0 Board ID: 08DGM-95BNL-MGPSJ-6J1DG-3S46N-TKY7W Static ram used: 15448 Dynamic ram used: 98544 Recycled dynamic ram: 696 Stack ram used: 3576 current, 4608 maximum Never used ram: 11776 Last reset 00:08:18 ago, cause: power up Last software reset details not available Error status: 0 [ERROR] Error status: 0 Free file entries: 10 SD card 0 detected, interface speed: 12.0MBytes/sec SD card longest block write time: 0.0ms MCU temperature: min 52.3, current 52.9, max 55.8 Supply voltage: min 0.4, current 0.5, max 0.7, under voltage events: 0, over voltage events: 0 Driver 0: ok, SG min/max not available Driver 1: ok, SG min/max not available Driver 2: ok, SG min/max not available Driver 3: ok, SG min/max not available Driver 4: ok, SG min/max not available Date/time: 1970-01-01 00:00:00 Cache data hit count 1757075559 Slowest main loop (seconds): 0.154149; fastest: 0.000101 === Move === MaxReps: 0, StepErrors: 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 === GCodes === Segments left: 0 Stack records: 0 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 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 Failed messages: pending 0, notready 0, noresp 0 WiFi firmware version 1.20 WiFi MAC address 2c:3a:e8:0b:07:d2 WiFi Vcc 3.17, reset reason Turned on by main processor WiFi flash size 4194304, free heap 16480 WiFi IP address 192.168.2.27 WiFi signal strength -62dBm, reconnections 0, sleep mode modem HTTP sessions: 0 of 8 Socket states: 0 0 0 0 0 0 0 0 Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) ```Is it just me, or does this seem borderline flakey??????
-
after a successful firmware update, DuetWifiFirmware.bin will be deleted automatically.
Are you able to connect to DWC or not? -
Thanks for telling me that the file will be deleted.
So. WDC does not connect
-
I will be getting a Wifi Extender delivered tomorrow. just because I would like the signal strength to be higher.
It is clear that the board is connecting to the access point and thus my network.
I see no reason why the browser I use to connect to the duet wifi in the delta printer won't connect to the duet wifi in my cartesian.
I'm all ears. I would really appreciate an explanation and a troubleshooting path forward. -
-62dbM is rather low. What WiFi signal strength does your other Duet report? Is the Duet in your Cartesian printer shielded by metalwork to a greater extent than the one in your delta?
-
Hi dc42
The Duet in the Cartesian is indeed shielded by metalwork. I put the power supply and board and external heat bed driver in an old desktop computer case that I had, with voltage / current meters in the space that used to hold the DVD. It really does look good, but I'd rather it worked properly.
It never caused grief with the other card, but I know that all wifi modules are not created equal. I will get rid of the case and see where things stand.
My Wifi on the delta with the other Duet card is 59dBm
-
I took the board out of the case for the cartesian printer. The M122 command reports -62dBm. M552 shows the board connected to the correct network and displaying the correct ip address.
I suspect that the readings for the signal strength are the same because while I was doing all my prior testing, I did not have the metal cover in place on the computer case. No matter, I am not going to put everything back inside it.
I have note yet received the Wifi signal booster.