Brand new board not reading SD card
-
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.
-
Hi,
I am new here.
I recently purchased a Duet_Ethernet board and I am currently getting it set up.
Does the SD card have to be specifically formatted for the Duet?
I ask because I tried to copy all my files over to a larger SD card, but I get same symptoms as Tim.
Both cards have the same exact files, the original will work perfect, but the replacement won't work. -
The SD card needs to be formatted to the FAT16 or FAT32 format.
You can test whether the new card is being recognised by sending M21 from USB or from PanelDue.
-
I thought you were on to something there, as the new sd card was formatted as exfat. So i formatted to fat32, copied files from original sd card over and pasted to new card and… no dice. Still won't work. M21 shows sd card in slot 0, with 59GBs
-
Hi:
Ok, I picked up my Wifi Extender and it is now configured and connected on my Wifi.
I have powered up the cartesian.
It connects to the Wifi
I have a network utility in my Avast antivirus software.
IP address 192.168.2.27
MAC 2c:3a:e8:0b:07:d2Port 80 HTTP
The software idicates that the device is problem free
Ping sent 4 lost 0 received 4
min 3ms max 82ms avg 42msWifi signal strength - 59dBm which is the same as my delta printer reports.
My browser connects to the Delta printer with no issues.
192.168.2.21
I backspace the 1 and type 7
Enter
Browser does not connect.Suggestions?
-
FOUND IT!!!! IT'S OK NOW
I did a comparison between my two memory cards. On the Card that was not working, The directory structure with the folders that is supposed to be in the WWW folder was in the root.
I moved the files into the www folder, power cycled the machine and all it well. I am connected.
Sorry to waste so much of your time. I even confirmed the directory structure in the wiki and it is clear that the folders are showing in a www directory.
Really, I'm actually not this stupid normally.
Thanks for your patience!! I will never make that mistake again
-
Glad you figured it out TimVukman.
I wasn't trying to hijack you thread, I thought maybe our problems were related.
I guess not.I figured out my problem as well, maybe this will help someone else.
When I formatted to Fat32, there was 16MB of space being left unallocated. That would screw the Duet up and wouldn't read the SD card correctly. It could see it mounted in slot zero, but that is it.
What I did to fix the SD card was run DiskPart, select and clean that drive, then create a primary partition.
Then formatted to Fat32 and was good to go.