Jump to content
Sign in to follow this  
pancioalbe

sio2sd error init card

Recommended Posts

Hi, you're sorry my English.
I built a sio2sd, using an atmega 32a, I programmed the atmega 32a with the last available file.
but if I start the sio2sd it gives me error no sd / mmc card and after a few minutes it gives me error init card.
I have programmed the atmega 32a without setting the fuses that are written on the website, because if I imposed the merges atmega stops.

does sio2sd not see the sd card for a programming or hardware problem?
I tried sd card from 1gb and 4gb card and following a guide on youtube
thank you so much.

Share this post


Link to post
Share on other sites

I have no crystal ball available, to see the unknown.

 

If I have to guess, I would suspect the SD card reader,

it's connection, or the SPI bus or something like that.

 

But sorry, it's just a guess - and even with photos...

no chance to help.

 

Stefan

Share this post


Link to post
Share on other sites

touch up all solder connection. re-program atmega make sure security brown out fuse bits are set.

last thing is other chip and transistor, make sure sd card slot is not damaged, is clear, and not dirty..

Share this post


Link to post
Share on other sites

I changed the controller and the 74hcxxxx but still error.
I have programmed the atmega without setting the fused bits, because if I set the fused bits as written on the site of the sio2sd the atmega crashes, I already tried two atmega that are now blocked. I have programmed without setting the merged bits.
I prepare the sd card with atari folder and Sio2sd.xex files
How should I set the merges?
I program with avrdude and the command is this:

sudo avrdude -c usbasp -p m32 -u -U flash:w:sio2sd_all_v3.0rc5.bin

and this is the command I used to set the fuses

sudo avrdude -c usbasp -p m32 -u -U lfuse:w:0x3F:m -U hfuse:w:0xC3:m flash:w:sio2sd_all_v3.1rc2.bin

 

I have 3 atmega, 2 blocked and one mounted on the sio2sd, how can I do to recover the two locked at'mega, so to do other tests?
thank you


Share this post


Link to post
Share on other sites

I give the atari and the sio2sd from no sd / mmc card. and remains locked even if I press the keys nothing changes.
when error init card appears, I can enter the sio2sd configuration

Share this post


Link to post
Share on other sites

[email protected]:~$ sudo avrdude -c usbasp -p m32 -u -U lfuse:w:0x3F:m -U hfuse:w:0xC3:m flash:w:sio2sd_all_v3.1rc2.bin


avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9502 (probably m32)
avrdude: reading input file "0x3F"
avrdude: writing lfuse (1 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 1 bytes of lfuse written
avrdude: verifying lfuse memory against 0x3F:
avrdude: load data lfuse data from input file 0x3F:
avrdude: input file 0x3F contains 1 bytes
avrdude: reading on-chip lfuse data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 1 bytes of lfuse verified
avrdude: reading input file "0xC3"
avrdude: writing hfuse (1 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 1 bytes of hfuse written
avrdude: verifying hfuse memory against 0xC3:
avrdude: load data hfuse data from input file 0xC3:
avrdude: input file 0xC3 contains 1 bytes
avrdude: reading on-chip hfuse data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 1 bytes of hfuse verified

avrdude done. Thank you.

[email protected]:~$
[email protected]:~$
workkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk ::::::::::)))))))))))))))))))))

I do not know why but it works after giving this command once again
thank you very much for the answers

  • Like 1

Share this post


Link to post
Share on other sites

Try different sd card or older sio2sd firmware. The newest firmware gave me same issues.

 

Some cards are refused.

Share this post


Link to post
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.

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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...