Jump to content
IGNORED

SDrive question


mimo

Recommended Posts

  • 1 month later...

I have been working on making a few sdrives since chat around November 08. After about a month of recovering from and auto accident, I finally got the chips programmed this week after more than a week of trying(computer #3 worked). While the leds work the way they are supposed to, the sdrive does not respond to the xl at all. Checked boards and circuits many ways, and nothing seems wrong. May be a case of I'll have to do it all 10 times to finally get it to work(as was programming).

 

And I am only guessing at what I need on the root dir of the sdcard other sdrive.atr, no good instructions.

 

Rick D.

Link to comment
Share on other sites

I have been working on making a few sdrives since chat around November 08. After about a month of recovering from and auto accident, I finally got the chips programmed this week after more than a week of trying(computer #3 worked). While the leds work the way they are supposed to, the sdrive does not respond to the xl at all. Checked boards and circuits many ways, and nothing seems wrong. May be a case of I'll have to do it all 10 times to finally get it to work(as was programming).

 

And I am only guessing at what I need on the root dir of the sdcard other sdrive.atr, no good instructions.

 

Rick D.

 

All you need in the root of the SD card is SDRIVE.ATR. As long as the firmware is on the chips correctly and things are wired up, it pretty much just works. One doesn't actually need any buttons nor LEDs to make it work, and everything the DIP and toggle switches do could wired up that way while connecting the SD card.

 

(Did you set the fuses right on the AVR? If not, it won't run / run right...)

Edited by c0nsumer
Link to comment
Share on other sites

Did you set the fuses right on the AVR? If not, it won't run / run right...

Just a small hint: After having troubles with the SIO2SD Christoph (HardwareDoc) from ABBUC discovered that it's better to also enable the brownout detector (BODEN, BODLEVEL) of the Atmel. The fuse bits for the SDrive also didn't enable the detector, so instead of

 

Low=0xFF, High=0xDF

 

ist's better to set them to

 

Low=0x3F, High=0xDF

 

so long,

 

Hias

Link to comment
Share on other sites

Did you set the fuses right on the AVR? If not, it won't run / run right...

Just a small hint: After having troubles with the SIO2SD Christoph (HardwareDoc) from ABBUC discovered that it's better to also enable the brownout detector (BODEN, BODLEVEL) of the Atmel. The fuse bits for the SDrive also didn't enable the detector, so instead of

 

Low=0xFF, High=0xDF

 

ist's better to set them to

 

Low=0x3F, High=0xDF

 

so long,

 

Hias

 

Hias,

 

Do you have more information on the problems he was having? It makes sense that this may be desirable in some cases, but I'm not really sure why it'd be needed in this application.

 

I could see that, if there's a bunch of capacitors helping smooth 5V that a very quick power off/on of device could sag Vcc until the chip performs wrongly but isn't turned off. Is this possibly what was happening?

Link to comment
Share on other sites

Do you have more information on the problems he was having? It makes sense that this may be desirable in some cases, but I'm not really sure why it'd be needed in this application.

Christoph wrote that sometimes the flash memory might get corrupted or erased, especially when (un-)plugging the device while the Atari was powered on. He had to fix serveral "dead" SIO2SD devices, the Atmel chip was still OK but the programming was lost. After enabling the brownout detector this didn't happen again.

 

so long,

 

Hias

Link to comment
Share on other sites

Christoph wrote that sometimes the flash memory might get corrupted or erased, especially when (un-)plugging the device while the Atari was powered on. He had to fix serveral "dead" SIO2SD devices, the Atmel chip was still OK but the programming was lost. After enabling the brownout detector this didn't happen again.

 

Hmm, that makes sense. I don't imagine it'll hurt, and (as you stated) may provide a benefit.

Link to comment
Share on other sites

I have been working on making a few sdrives since chat around November 08. After about a month of recovering from and auto accident, I finally got the chips programmed this week after more than a week of trying(computer #3 worked). While the leds work the way they are supposed to, the sdrive does not respond to the xl at all. Checked boards and circuits many ways, and nothing seems wrong. May be a case of I'll have to do it all 10 times to finally get it to work(as was programming).

 

And I am only guessing at what I need on the root dir of the sdcard other sdrive.atr, no good instructions.

 

Rick D.

 

All you need in the root of the SD card is SDRIVE.ATR. As long as the firmware is on the chips correctly and things are wired up, it pretty much just works. One doesn't actually need any buttons nor LEDs to make it work, and everything the DIP and toggle switches do could wired up that way while connecting the SD card.

 

(Did you set the fuses right on the AVR? If not, it won't run / run right...)

 

===========================

Never mind! Problem Solved! Magnifiers are great for finding a bad solder at the dip switch. Thx.

=============================

From the video, I did put sdrive.atr on the root. I also added a couple of folders just to browse. I assume this works since the 4 drive LEDs go on when I insert the card, which the doc says the atmega read that file as the special drive.

For the Fuses, I am going by the Fuses.gif in the sdrive zip file. I will try again, but I seem to recall an error when writing the security bits.

 

Thanks,

Rick

Edited by a8maestro
Link to comment
Share on other sites

From the video, I did put sdrive.atr on the root. I also added a couple of folders just to browse. I assume this works since the 4 drive LEDs go on when I insert the card, which the doc says the atmega read that file as the special drive.

For the Fuses, I am going by the Fuses.gif in the sdrive zip file. I will try again, but I seem to recall an error when writing the security bits.

 

Yep, if all four (D1-D4) LEDs light up when you plug in the SD card, it's working.

 

What sort of circuit were you programming the AVR in? If it doesn't have an oscillator present, you'll immediately get an error after writing the fuses.

Link to comment
Share on other sites

It runs quite nicely. Spent one Sunday afternoon while I was on chat letting it run a demo .ATR. Drunken Chessboard is quite nice.

 

So, kits, circuit boards, and program atmega mpus are now at my site.

 

I have also posted my efforts at programming, and started info on using it.

http://morethangames.a8maestro.com/proda8/adv-ek0130.htm

Should be enough extra info on how to make it yourself, and/or assemble it, use it.

 

Thanks for info.

 

Rick D.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...