Jump to content

Photo

sio2sd error init card


8 replies to this topic

#1 pancioalbe OFFLINE  

pancioalbe

    Combat Commando

  • 6 posts

Posted Fri Dec 7, 2018 5:43 AM

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.



#2 Stefan Both OFFLINE  

Stefan Both

    Moonsweeper

  • 440 posts
  • Location:Germany / Lower Saxony

Posted Fri Dec 7, 2018 1:00 PM

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

#3 pancioalbe OFFLINE  

pancioalbe

    Combat Commando

  • Topic Starter
  • 6 posts

Posted Sat Dec 8, 2018 12:11 AM

sd card works, 3.3 regulator works, i changed 3 atmega 32a.
the slopes welter all :(



#4 _The Doctor__ OFFLINE  

_The Doctor__

    Quadrunner

  • 5,847 posts
  • Location:10-0-11-00:02

Posted Sat Dec 8, 2018 12:18 AM

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..



#5 pancioalbe OFFLINE  

pancioalbe

    Combat Commando

  • Topic Starter
  • 6 posts

Posted Sat Dec 8, 2018 12:59 AM

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


 



#6 pancioalbe OFFLINE  

pancioalbe

    Combat Commando

  • Topic Starter
  • 6 posts

Posted Sat Dec 8, 2018 1:08 AM

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



#7 pancioalbe OFFLINE  

pancioalbe

    Combat Commando

  • Topic Starter
  • 6 posts

Posted Sat Dec 8, 2018 2:59 AM

I changed pcb, sd docking, 3.3v regulator, capacitance resistances and 75hxxx but it is always error.
I think problem of fuse atmega :(



#8 pancioalbe OFFLINE  

pancioalbe

    Combat Commando

  • Topic Starter
  • 6 posts

Posted Sat Dec 8, 2018 3:47 AM

samy@samy-Lenovo-Ideapad-110-15AST:~$ 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.

samy@samy-Lenovo-Ideapad-110-15AST:~$
samy@samy-Lenovo-Ideapad-110-15AST:~$
 workkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk ::::::::::)))))))))))))))))))))

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



#9 ProWizard OFFLINE  

ProWizard

    River Patroller

  • 4,678 posts
  • Into Stampede
  • Location:In the cattle!

Posted Sun Dec 9, 2018 1:41 AM

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

Some cards are refused.




0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users