-
-
Notifications
You must be signed in to change notification settings - Fork 19.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2.0.x] Anet A8 SD still not working #8746
Comments
Does it work with |
Yes. |
Can confirm still happening with bugfix-2.0.x from 12/29/17, and still works with bugfix-1.1.x from 12/29/17 |
Anyone have any ideas as to where I should start looking to squash this bug? |
A lot of changes to the 2.0.x work branch lately. Has this issue been resolved yet? |
I can test after some sleep. But as of my last test, still no.
…On Feb 11, 2018 4:38 AM, "Scott Lahteine" ***@***.***> wrote:
A lot of changes to the 2.0.x work branch lately. Has this issue been
resolved yet?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8746 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIc6rmimfHDQwIRDueo1888hEw2Rjdrvks5tTrT7gaJpZM4Q803M>
.
|
Thinkyhead, I am using a 2.0.x that was downloaded today and the SD card still is not working |
There are some clear differences in |
Tried changing the SD_DETECT_INVERTED and the SD card still not working.
Version 1.1.8 SD works fine.
…-----Original Message-----
From: Scott Lahteine <notifications@github.com>
To: MarlinFirmware/Marlin <Marlin@noreply.github.com>
Cc: MikeLud <MikeLud1@aol.com>; Comment <comment@noreply.github.com>
Sent: Sat, Feb 24, 2018 7:36 pm
Subject: Re: [MarlinFirmware/Marlin] [2.0.x] Anet A8 SD still not working (#8746)
See if changing the SD_DETECT_INVERTED setting makes any difference, just in case…
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I would test it myself, but all my SD card readers work fine with 2.0.x at this time. If you feel ambitious you can try tweaking the code in |
Also, don't forget to play around with the various SD card-related settings like check-and-retry, etc. |
I dusted off my old Anet board to see if I could help with this problem. I can confirm that I was able to reproduce it right away. First stop was pins debugging, but on bugfix-1.0.x I get garbage output from M43, e.g.:
On bugfix-2.0.x it looks sane:
@Bob-the-Kuhn, any pointers? Is this a known issue with M43 on bugfix-1.1.x? Compiling with PlatformIO in VS Code, if that makes any difference. |
@thinkyhead pushed some commits for pin debuggung and that now 'works' (the output is no longer garbage, but the pin readings still look odd - that's a conversation for another issue). Anyhoo, I figured out how to make the Anet SD card work. I have no idea what effect this has on other boards, but I suspect it may fix #9209 as well. At line line 253 of Sd2Card.cpp, insert this:
So that it looks like this:
I suppose the |
Just tested my change on a RAMPS board with RRDFG Smart Controller and it didn't seem to cause anything adverse - SD is detected, mounted, read as expected. |
Based on #8746 (comment) by @benlye
Thanks immensely @benlye — How did we miss that comment? Marlin 1.1.x clearly sets the pin to an output, and why it was dropped for 2.0.x is a mystery. |
Looking at 4b16fa3 I can see why @p3p left it out, since the SPI pins are otherwise pre-defined. On the other hand there should have been no harm in leaving the line setting the passed pin as an output. And now we know, it's better. Well I'm utterly relieved this is sorted out. Only a few small things remain before we can put out 1.1.9. |
Benlye & Thinkyhead,
Thanks for fixing the SD issue, just downloaded the current 2.0 version and the SD works.
Mike
…-----Original Message-----
From: Scott Lahteine <notifications@github.com>
To: MarlinFirmware/Marlin <Marlin@noreply.github.com>
Cc: MikeLud <MikeLud1@aol.com>; Comment <comment@noreply.github.com>
Sent: Mon, Feb 26, 2018 3:46 pm
Subject: Re: [MarlinFirmware/Marlin] [2.0.x] Anet A8 SD still not working (#8746)
Thanks immensely @benlye — How did we miss that comment? Marlin 1.1.x clearly sets the pin to an output, and why it was dropped for 2.0.x is a mystery.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I just upgraded to marlin 1.1.9 on anet a8 and lost my sd card. been browsing on solutions and found this thread. I looked at sd2card.cpp and can't find where spi is invoked as in " spiBegin();" |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description: SD Not Working
Expected behaviour: SD card initialised/read and contents displayed
Actual behaviour: Prolonged part cooling fan spin, no sd detected
Steps to reproduce:
Anet A8 Marlin 2.0 default configs.zip
The text was updated successfully, but these errors were encountered: