Author |
Message |
Justplayin
 Guru
 Joined: 31/01/2014 Location: United StatesPosts: 328 |
Posted: 03:53pm 11 Aug 2015 |
Copy link to clipboard |
 Print this post |
|
I'm not sure which one is correct, but the schematic with Grogsters Explore 64 and Geoff's Advanced Features docs don't match up for the SD Card. I spent all day trying to get the SD card slot to work, checking pins and even replacing the SD socket at one point.
Probably most have already figured this out, but for those who have not gotten their Explore 64 yet... The SD card is disabled by default (I'm okay with that) and you will need to type in at the command line OPTION SDCARD 12 to enable it.
My problem was I kept looking the main Micromite docs where the SD card is barely mentioned. What I needed was in the Advance Features docs but the schematic discrepancy did not help my migraine .
--Curtis
Just started cleaning up the solder station and found new SD socket sitting there. Apparently I removed and soldered the original SD socket back on. Edited by Justplayin 2015-08-13 I am not a Mad Scientist... It makes me happy inventing new ways to take over the world!! |
|
Grogster
 Admin Group
 Joined: 31/12/2012 Location: New ZealandPosts: 9603 |
Posted: 04:52pm 11 Aug 2015 |
Copy link to clipboard |
 Print this post |
|
Yes, that is a gotcha when assembling one from parts.
Assembled modules I will be supplying will have the SD card enabled by default before shipping, so it does work right out of the box.
The reason for this NOT being enabled on the default HEX file, is simply cos some constructors using just the chip, may not want the SD card ability, so it is left disabled by default.
Perhaps this is something that should be done the other way around?
(IE: SD enabled by default, disabled by the user if they DON'T want it)
EDIT: Just checked the schematic, and it is correct. V2 or V3, that is. If you have one of the very first ones, it may be showing the standard full-size SD card pinout, which, believe it or not, does not have the same pinout as the micro-SD cards!!!!Edited by Grogster 2015-08-13 Smoke makes things work. When the smoke gets out, it stops! |
|
WhiteWizzard Guru
 Joined: 05/04/2013 Location: United KingdomPosts: 2938 |
Posted: 08:54pm 11 Aug 2015 |
Copy link to clipboard |
 Print this post |
|
Just to re-iterate Grogster: ALL Explore64 fully assembled modules supplied by either myself or by Grogster will have the OPTION SDCARD 12 option enabled. This is so we can test it functions correctly.
WW |
|
Justplayin
 Guru
 Joined: 31/01/2014 Location: United StatesPosts: 328 |
Posted: 07:03am 12 Aug 2015 |
Copy link to clipboard |
 Print this post |
|
I should have realized Grogster's schematic was correct, I used it to probe the pins to verifiy they changed state when I toggled them from software. The whole time I was working on the problem I was sure it was me! Turns out I was right... I forgot about the other docs and therefore could not find the proper OPTION command I was fairly sure existed.
@Grogster - Wish I had known that micro-SD and full size SD socket had a different layouts, it would have save me a bunch of confusion. However, I think it was right of Geoff to use the full size version in his diagram, it's a good generic example.
At least it's all sorted out, and I have a working Explore64!
--Curtis
I am not a Mad Scientist... It makes me happy inventing new ways to take over the world!! |
|
Grogster
 Admin Group
 Joined: 31/12/2012 Location: New ZealandPosts: 9603 |
Posted: 02:28pm 12 Aug 2015 |
Copy link to clipboard |
 Print this post |
|
If it makes you feel any better Curtis, the 1A prototype of the E64, I followed the exact same pinout for the full-size SD, also not realiszing that there was an f-ing difference in pinout between them - Grrrrrrrrrrrr.....
So, the 1A board had PCB hacks and a couple of very thin enamelled wire links to fix that problem. I also could not make the flippin' SD card work on the 1A, and it was a real head-scratching moment, what with Geoff telling me via email that it WAS working for him......
Geoff was testing his conceptual prototype using a full-size SD card, so when he double-checked his wireing, it was correct. It was only after I did a little research, I found the cause of the problem: Full-size SD and micro-SD look like they would use the same pinout, but they bloody don't!!! Edited by Grogster 2015-08-14 Smoke makes things work. When the smoke gets out, it stops! |
|
atmega8
 Guru
 Joined: 19/11/2013 Location: GermanyPosts: 724 |
Posted: 04:56am 18 Aug 2015 |
Copy link to clipboard |
 Print this post |
|
Hi Grogster,
used the Option sdcard 12 with your Explorer Board.
Firmware ist MM+ last Revision.
Reset Explorer.
8GB SD Card FAT32
Made some Test...,
print mm.errno is always 0, with or without sd Card...
any idea what is going wrong?
> dvz$ = "programme"
> mkdir dvz$
Error: Cannot access the SD card
> files *
\
0 directories, 0 files
> mkdir $dvz
Error: Invalid syntax
> $dvz = "test"
Error: Invalid character: $
> dvz$ = "TEST"
> mkdir $dvz
Error: Invalid syntax
> mkdir dvz$
Error: All root directory entries are taken
Edited by atmega8 2015-08-19 |
|
atmega8
 Guru
 Joined: 19/11/2013 Location: GermanyPosts: 724 |
Posted: 05:29am 18 Aug 2015 |
Copy link to clipboard |
 Print this post |
|
HI,
in the meantime i had Success ;-)..
It is a lite bit different than msdos...;-) |
|