Building my own SD card interface for the Apple II

120 posts / 0 new
Last post
Offline
Last seen: 3 months 1 week ago
Joined: Aug 2 2018 - 04:14
Posts: 7
i did it! it worked... for 3 minutes [solved]

i did it! it worked... for 3 minutes, then the C12 started smoking and fire!

made a second pcb and.. same thing... what can be my fault? 

And, it worked only  without r/w pin: selecting 1&2 or 2&3 didn't boot drive. Is it normal or a sympton of something i did wrong? 

Now i went out of 100nf caps, but any advice before burning other pcb?

Thank you in advance!

[Edit]

i solved! i found an old capacitor blister with some 100nf, changed c11, c12 & c13, and it works like a charme!

probably the chinese caps pusher found on the bay sold me some caps that doesn't work with more than 5v... ;)

 

 

freitz's picture
Offline
Last seen: 1 month 6 days ago
Joined: Jun 11 2013 - 04:37
Posts: 56
@aotta: I am glad that you

@aotta: I am glad that you could find a solution. I was not aware that there are caps in this form factor that are rated below 25V or something like that.

As for the pin header, this was thought to be able to program the memory inside the circuit, but I was not able to make it work, yet. For the moment, it could be soldered to pins 1 & 2. I suppose that you are using a 2x16, this connects the program voltage input to 5V as it is recommended for a read operation.

However, if you are using a 2x32 you need to program the chip with an offset of $800 because the on those chips the address line A11 is on the same pin as the program pin on the others. That could be an explanation, why it worked without any jumper: the chip interpreted the open pin as low. So either hardwire this pin to ground or program with an offset, because it is never a good thing to leave an input pin floating!

It is already on my list of possible reworks to get rid of the jumper and use a 2x64 or larger ROM, because they are more easy to get hold of there days.

Offline
Last seen: 3 months 1 week ago
Joined: Aug 2 2018 - 04:14
Posts: 7
@freitz: thank you for the

@freitz: thank you for the info, but i am using a 2716 (2x8k), and i can confirm appleIIsd works only without jumper at SV1.

I made 2 of them, and tested both on IIe and IIGS.

And i had some trouble with -12v and -5v with the second board too, so i didn't use c12 and c13, since i noticed your board doesn't use theese voltage. It works, but it may be a problem for the Apple in your opinion?

My compliments again for your great project!

freitz's picture
Offline
Last seen: 1 month 6 days ago
Joined: Jun 11 2013 - 04:37
Posts: 56
@aotta: I am glad that all

@aotta: I am glad that all worked out for you. The caps on the -12V, -5V and +12V lines are not 'needed'. It was suggested in a TechInfo that unused power lines should be coupled to ground. C12 and C13 are pretty close so it is possible that they were shorted during soldering.

Could you check pin 21 of the 2716 for shorts to ground +5V or another pin when SV1 is open? What level is the pin at when SV1 is jumpered to 1-2?

Please make sure that have the latest firmware because I corrected another little thing recently.

Offline
Last seen: 3 months 1 week ago
Joined: Aug 2 2018 - 04:14
Posts: 7
Freitz, thanks for your info,

Freitz, thanks for your info, so i can continue without c12 & c13 caps...

I checked pin 21 and it's not shorted to gnd or 5v.. when running with no switch on sv1, it's always lower than 1v. 

When connected to 5v of sv1-pin1 (it's 5v when not bridged to sv1-pin2), the vpp it's about 0,3v, and card don't boot.

I used 2 Mostek MK2716j, programmed with 21v on vpp. May be this eeprom has something different from standard ones? 

freitz's picture
Offline
Last seen: 1 month 6 days ago
Joined: Jun 11 2013 - 04:37
Posts: 56
This is very strange!

This is very strange!

I checked the datasheets and the Mostek is not different from other 2716 types: pin 21 (VPP) shall be connected to 5V when reading and 25V when programming. Leaving an input open is always a bad thing. Could you measure the supply voltages on each socket without any of the chips inserted? There seems to be something wrong with your boards.

 

Maybe we could discuss further per PM?

Offline
Last seen: 3 months 1 week ago
Joined: Aug 2 2018 - 04:14
Posts: 7
@freitz: sent pm with voltage

@freitz: sent pm with voltage reading

Offline
Last seen: 2 days 15 hours ago
Joined: Oct 5 2017 - 04:18
Posts: 2
Card almost working

 Hi there,

I have just finished making up the SD card interface, what a great project.

 

 

I have a little problem, I am trying it out in Apple IIGS ROM3 and its in Slot 7 Card seems to be working mostley, - thats only if I use a GS/OS boot disk with system 5.0.2 on it and initialize the SD that way then copy the system files over.

I have tyied making the SD with Cider press as Decribed http://bluemeanie-retro.blogspot.com/2017/12/how-to-prepare-sd-cards-for-appleiisd.html here, but I have had no luck and it will not boot.? And also the SD card once formatted this way wont be seen by Ciderpress anymore.?? 

 

I'm using the ROM .hex filed posted of the github https://github.com/freitz85/AppleIISd - Is this the current version.?
Any ideas what might be going on.?

 

Regards

   Vernon

 

 

TedThompson's picture
Offline
Last seen: 4 months 3 days ago
Joined: Sep 24 2018 - 17:45
Posts: 46
Wow.  I'm honestly jealous -

Wow.  I'm honestly jealous - you guys making cards like this is really fantastic.

 

I have to ask tho, having seen both SDcard and Compact Flash cards as HDD substitutes, is there a reason to favor one over the other?  I kinda like the idea of CF just because it's physically bigger - not that's I'm against saving space, just that SD cards are a bit too tiny to me (tho certainly not as bad as Micro SD) But is there a performance or reliability (or even ease of R/W ops) for favoring one over the other?

Offline
Last seen: 7 hours 21 min ago
Joined: Jul 5 2018 - 09:44
Posts: 252
CF is generally considered to

CF is generally considered to be obsolete.  It is getting harder to find CF media.  Even regular SD is losing favor to Micro SD.  If I was going to build a card today, I'd probably go with Micro SD.  Actually I've got something in the works, and it uses Micro SD.

 

freitz's picture
Offline
Last seen: 1 month 6 days ago
Joined: Jun 11 2013 - 04:37
Posts: 56
@vernman: my IIgs is a rom 1,

@vernman: my IIgs is a rom 1, so rom 3 is not tested by myself, but I am almost sure, that someone else has successfully used it in rom 3.

I have to admit, that the hex file in the repository is not the most recent version, as I have found a tiny bit nasty bug in the write routine recently. I will make a proper Bugfix Release and send you the updated version.

It is true, that Windows will not recognize the card anymore when it had been formatted by CiderPress. However, CiderPress will still be able to see the physical medium.

 

 

@TedThompson: I choose SD card, because I had already experience with them in several microcontroller applications. The second point was that I had found André Fachat's 6502-ready implementation of the SPI master.

SD cards are serial, so they need just a few pins to operate. CF cards are parallel, as they are compatible with both IDE and PCMCIA, but need way more pins to operate. 50, to be precise. The CPLD I choose, only has 44 itself!

In theory, a parallel connection can be faster, but my implementation of the SD card is already so far that it has to wait for the Apple.

Normal SD and micro SD are the same, they have the same chips inside. I choose the normal size, because the sockets are much more easy to solder. I wouldn't even think of soldering a CF socket by hand!

Offline
Last seen: 2 days 15 hours ago
Joined: Oct 5 2017 - 04:18
Posts: 2
IIGS ROM3

OK  Thank you Freitz for the heads up. I've got a Apple II GS ROM1 as well so might give that a go. In case that's my problem. I look forward to trying a updated bugfix ROM when you get a chance to make one. I'll also try it out in my Apple IIe Platinum once a repair the power supply this weekend.  
About CiderPress. I was meaning if i initialize the SD card plugged into my Apple IIGS and format the 32meg partitions, then I take the SD card out and put it into a windows machine CiderPress will not see it.?
Regards

Vernon

Offline
Last seen: 1 month 2 days ago
Joined: Feb 2 2019 - 22:20
Posts: 1
Are any boards/kits available?

Hello Freitz, I am interested in one of these, are you still selling them?

 

 

freitz's picture
Offline
Last seen: 1 month 6 days ago
Joined: Jun 11 2013 - 04:37
Posts: 56
@dm80218: I am currently in

@dm80218: I am currently in the process of planning a release of 25-50 preassembled boards with another Apple enthusiast. But it might take a while. I will keep you and the other forum members informed.

Offline
Last seen: 13 hours 18 sec ago
Joined: Feb 5 2019 - 16:28
Posts: 1
Interested in the SD card

Hello Freitz and all of you.

I'm new to this forum. I'm these days "resurrecting" my old Apple //e, and I have just found this great group! After more than 25 years unused, the resurrection process is going surprisingly well (if anyone is interested, I could post the details in another thread). Of course, there are been some drawbacks, as a defunct ZIP chip and the same for the old 48 MB SCSI hard disk I bought through UK Apple2000 users group a very long time ago. This is to say that I would be very interested on your SD card interface. If possible, please, add me to the list.

Regards.

Phyberoptic's picture
Offline
Last seen: 3 weeks 18 hours ago
Joined: Feb 8 2019 - 14:04
Posts: 1
Interested in a card.

Very cool project. Count me in on one from the next lot.  Are you assembeling by hand or getting them wave soldered in China?

 

-=Phyber

freitz's picture
Offline
Last seen: 1 month 6 days ago
Joined: Jun 11 2013 - 04:37
Posts: 56
@nomikon: I am glad that you

@nomikon: I am glad that you have found back to the Apple II and I think that my card could be just the right thing for you. It's small, it's cheap and it's quiet. Certainly different than an old SCSI drive. However, sometimes it is too quiet so that you don't know if the computer is loading, working or just stuck ;-) I had the idea to swap the power LED of my IIgs to a two-colour LED so that I could connect the one colour to my card and see when it's working without having the lid open. I still haven't found a LED that's in the correct direction, but that should not be the problem.

@Phyberoptic: We are not sure about that. At the moment we are planning to build them by hand, but we may switch to SMD for the chips as well. The having them wave soldered would be much better or just the only way. Do you have a good and cheap service in mind?

Offline
Last seen: 1 month 1 week ago
Joined: Feb 12 2019 - 15:50
Posts: 1
Hi freitz, could you put me

Hi freitz, could you put me down for one as well if you're building some more?

freitz's picture
Offline
Last seen: 1 month 6 days ago
Joined: Jun 11 2013 - 04:37
Posts: 56
I will start a new list to

I will start a new list to collect all pre-orders. I will contact all of them as soon as I have more information about prices and dates, but that may take a while.

 

Right now I am researching the possibility of updating an EEPROM on the card within the Apple II with an updater app, so that you don't have to use an EPROM burner anymore. It may even be possible to update the old cards to do that.

Pages

Log in or register to post comments