Solved External SD Card not Reading (Maestro with 12864 Display)
-
Hey guys! First I want to give a hearty thank you for your great service and community! Next, I want to apologize. I finally finished my custom-built printer, and now I decided to start converting my fleet of Flashforge Creator Pros, so you'll likely be getting a stream of questions from me again!
I bought a (supposedly) genuine Reprap Discount Display from eBay (yes, that's probably a red flag) and everything works except the SD card reader. I absolutely love the display, and I'm working on a set of menu files for it to fix the issues that I saw with the other systems, (I'll notify you when they're on Github.) but the SD card reader was one of the main reasons I bought it.
I tried multiple cards of different capacities and brands (Samsung and SanDisk) along with formating them in varying ways, including the official formatter. However, if I try to mount the SD card using M21 it says the card is unusable, M39 says it's not present, and M20 says there are no files.
Here's a link to the display I bought, and I have about a week yet in the return period. Do you think the issue is hardware or user error? (Knowing me, the latter is much more likely!)
I'd appreciate any ideas or insight. Thanks!
BTW, I'm running a Maestro on RRF 3.01-RC2, and the display worked straight from the box. There was no cutting and twisting connectors.
Here's an M122 dump with the SD card inserted:
=== Diagnostics === RepRapFirmware for Duet 2 Maestro version 3.01-RC2 running on Duet Maestro 1.0 Board ID: 08DJM-956DU-LLMS4-7JKD2-3S07J-1VPQJ Used output buffers: 3 of 24 (9 max) === RTOS === Static ram: 21876 Dynamic ram: 94616 of which 56 recycled Exception stack ram used: 212 Never used ram: 14312 Tasks: NETWORK(ready,872) HEAT(blocked,1364) MAIN(running,2036) IDLE(ready,84) Owned mutexes: === Platform === Last reset 00:25:22 ago, cause: power up Last software reset time unknown, reason: Hard fault, spinning module Display, available RAM 13840 bytes (slot 2) Software reset code 0x406f HFSR 0x40000000 CFSR 0x00008200 ICSR 0x0400f803 BFAR 0x0100000d SP 0x20004354 Task 0x4e49414d Stack: 00443c41 0044571e 210d0200 0000000d 2001ac58 01000000 00000000 00000000 00443c41 a5a5a5a5 0044aa99 Error status: 0 Free file entries: 10 SD card 0 detected, interface speed: 15.0MBytes/sec SD card longest block write time: 0.0ms, max retries 0 MCU temperature: min 13.9, current 22.4, max 23.1 Supply voltage: min 0.0, current 24.2, max 24.2, under voltage events: 0, over voltage events: 0, power good: yes Driver 0: standstill, read errors 0, write errors 0, ifcount 7, reads 60848, timeouts 0 Driver 1: standstill, read errors 0, write errors 0, ifcount 7, reads 60848, timeouts 0 Driver 2: standstill, read errors 0, write errors 0, ifcount 7, reads 60848, timeouts 0 Driver 3: standstill, read errors 0, write errors 0, ifcount 7, reads 60848, timeouts 0 Driver 4: standstill, read errors 0, write errors 0, ifcount 6, reads 60849, timeouts 0 Driver 5: ok, read errors 0, write errors 0, ifcount 0, reads 0, timeouts 60855 Driver 6: ok, read errors 0, write errors 0, ifcount 0, reads 0, timeouts 60854 Date/time: 2020-02-27 21:14:13 Slowest loop: 54.81ms; fastest: 0.13ms I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0 === Move === Hiccups: 0(0), FreeDm: 169, MinFreeDm: 169, 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, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 === Heat === Bed heaters = 0 -1, chamberHeaters = -1 -1 Heater 1 is on, I-accum = 0.0 === 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 serial is idle 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 lcd is idle in state(s) 0 autopause is idle in state(s) 0 Code queue is empty. === Network === Slowest loop: 5.75ms; fastest: 0.02ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) HTTP sessions: 1 of 8 Interface state 5, link 100Mbps full duplex
-
Is there any indication of what the pinout is on the silk screen of the PCB?
-
@Phaedrux said in External SD Card not Reading (Maestro with 12864 Display):
Is there any indication of what the pinout is on the silk screen of the PCB?
Unfortunately, there's none whatsoever. It did come with an adapter for using it with a ramps board though, and that seems to be the same as the official adapter as far as I can tell.
-
There isn't any configuration to do for the external SD card, it should just work assuming that you have plugged both ribbon cables into the correct 2 ports of the Maestro. If both the LCD and the rotary encoder are working then you've got that right.
Before you send the LCD unit back, let me test that the external SD card support still works in RRF 3.02-RC2 for the Maestro, because it's been a while since I tested it.
-
@dc42 said in External SD Card not Reading (Maestro with 12864 Display):
There isn't any configuration to do for the external SD card, it should just work assuming that you have plugged both ribbon cables into the correct 2 ports of the Maestro. If both the LCD and the rotary encoder are working then you've got that right.
Before you send the LCD unit back, let me test that the external SD card support still works in RRF 3.02-RC2 for the Maestro, because it's been a while since I tested it.
I can't get the external SD card working on my 12864 LCD either, so it's probably a firmware bug. If so, you reported this just in time for me to fix it in 3.01-RC3.
-
Confirmed, it's a firmware bug in the RepRapFirmware 3 series for the Maestro. Now fixed in 3.01-RC3, which I hope to release later today.
-
David, thanks very much for your time, investigation, and quick response! I really appreciate it, and I've never found a company with service that even compares to yours!
Thanks for the quick fix! When you release the update, I'll test it and be sure to get back with you.
Jadon
-
@JadonM said in External SD Card not Reading (Maestro with 12864 Display):
When you release the update, I'll test it and be sure to get back with you.
I can confirm that the external SD card works perfectly with the new firmware version. Thanks!
-
@JadonM said in External SD Card not Reading (Maestro with 12864 Display):
@JadonM said in External SD Card not Reading (Maestro with 12864 Display):
When you release the update, I'll test it and be sure to get back with you.
I can confirm that the external SD card works perfectly with the new firmware version. Thanks!
You're very welcome!
-
@dc42 Hi David,
Ive just got my Maestro Zaribo built...and facing t he same issue. I'm on 3.1.1
12864 rotary encode is working and can use the screen fully. SD card on the screen is working from DWC 3.1.1 but not from the 12864
Thoughts?
Many thanks
Ray
-
@Kiwi3D said in External SD Card not Reading (Maestro with 12864 Display):
@dc42 Hi David,
Ive just got my Maestro Zaribo built...and facing t he same issue. I'm on 3.1.1
12864 rotary encode is working and can use the screen fully. SD card on the screen is working from DWC 3.1.1 but not from the 12864
Thoughts?
Many thanks
Ray
Probably best if you start your own thread.