The SD card slot on the PanelDue does not work.
-
Good evening!
The SD card slot on the PanelDue does not work. Firmware Duet2 and PanelDue rev 3.3. Panel for connection with a ribbon cable with Duet2. The tester checked the connection of the card slot to the processor pins on the Duet2 board. All OK. I looked with an oscilloscope - everything is at 1, 3.3V. When removing and installing the SD card from the slot, nothing happens. What could be? Maybe the config is not configured to work with the SD card?
Log M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.3 (2021-06-15 21:44:54) running on Duet WiFi 1.02 or later
Board ID: 0JD0M-9X6JA-JUNSW-6JTDD-3S86T-9UM7V
Used output buffers: 1 of 24 (19 max)
=== RTOS ===
Static ram: 23876
Dynamic ram: 75132 of which 104 recycled
Never used RAM 15304, free system stack 184 words
Tasks: NETWORK(ready,13.4%,376) HEAT(delaying,0.0%,246) Move(notifyWait,0.1%,340) MAIN(running,86.5%,425) IDLE(ready,0.0%,29), total 100.0%
Owned mutexes: WiFi(NETWORK) USB(MAIN)
=== Platform ===
Last reset 00:22:59 ago, cause: power up
Last software reset time unknown, reason: User, GCodes spinning, available RAM 15304, slot 0
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Aux0 errors 0,0,0
Step timer max interval 0
MCU temperature: min 25.7, current 28.4, max 28.7
Supply voltage: min 1.7, current 1.8, max 1.8, under voltage events: 0, over voltage events: 0, power good: no
Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
Driver 0: position 0, ok, SG min/max not available
Driver 1: position 0, ok, SG min/max not available
Driver 2: position 0, ok, SG min/max not available
Driver 3: position 0, ok, SG min/max not available
Driver 4: position 0, ok, SG min/max not available
Driver 5: position 0
Driver 6: position 0
Driver 7: position 0
Driver 8: position 0
Driver 9: position 0
Driver 10: position 0
Driver 11: position 0
Date/time: 1970-01-01 00:00:00
Cache data hit count 4294967295
Slowest loop: 3.21ms; fastest: 0.12ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest read time 0.4ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== AuxDDARing ===
Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 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 ready with "m122" 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
LCD 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: 200.78ms; fastest: 0.07ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
HTTP sessions: 0 of 8- WiFi -
Network state is active
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 5
WiFi firmware version 1.26
WiFi MAC address e8:db:84:a8:56:4f
WiFi Vcc 3.42, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 26048
WiFi IP address 172.20.10.14
WiFi signal strength -60dBm, mode 802.11n, reconnections 0, sleep mode modem
Clock register 00002002
Socket states: 0 0 0 0 0 0 0 0
ok
- WiFi -
-
@romanvin how are you trying to access the SD card in the PanelDue, and what response do you get when you try?
-
@dc42 said in The SD card slot on the PanelDue does not work.:
how are you trying to access the SD card in the PanelDue, and what response do you get when you try?
I insert the card into the slot and click the card icon on the touch panel. A window opens. Zero files. Or should it be otherwise?
-
Activated the card from the PanelDue slot through the DWR interface. But this must be done every time after turning on Duet2. Please tell me what needs to be added to the config so that the card can be activated autonomously. Thanks.
-
@romanvin you can send M21 P1 to mount the second SD card.
-
@dc42 Is it possible to make sure that every card installation does not send the M21 command? Add a command to the config, for example.
-
@romanvin why is M21 causing a problem?
-
@dc42 said in The SD card slot on the PanelDue does not work.:
why is M21 causing a problem?
No problem. But there is a special contact in the card slot, which is connected to GND when the card is installed. Thus, the processor knows about the presence of a card in the slot. Isn't it possible to implement card identification if there is one in the slot without entering the command by hand?
-
@romanvin it's only when using recent versions of the integrated PanelDue in combination with Duet 3 Mini boards that the Card Detect pin is supported. For this combination, it would be possible to mount the card automatically as you suggest. However, in most cases you will be accessing the card via DWC or PanelDue, which will mount the card automatically when you switch to it.