Jump to content

Build A SCSI2SD V4.2


Recommended Posts

I recently decided to try and make my own scsi2sd v4.2 from the project shared on github. I've managed to build 2 boards and flash a hex file to the cypress chip and then upgrade the firmware.
It's at this stage I've come unstuck. I have not been able to get the board to work on a compact mac, having tried several firmware versions and different combinations of both V3 and V4 versions of the software provided on github.
 
Both boards fail the self test on the configuration utility and I've now come to a dead end on where to proceed from here.
 
I was wondering if anyone could point me towards what might be an obvious problem or suggest a way to further troubleshoot the problem.
 
Thanks

IMG_4498.jpg

Log.png

Link to post
Share on other sites

When I had trouble doing this, I had to get into scsi2sd-util and hack in additional debugging to get more than the a terse "things didn't work" message. I don't have the modified versions I made, unfortunately.

 

To roll your own, in scsi2sd-util.cc there's a (myHID->scsiSelfTest() ? "Passed" : "FAIL") statement. I believe the value returned there is the same integer returned in the firmware's self-test, defined in scsiPhy.c, where certain bits are set if particular tests failed. You could change the line so instead of doing a pass/fail conditional it just writes the results of scsiSelfTest() to the console so you can check which bits are set.

 

In all cases with me the problems I had were with with bridged / dry pins on the main SoC. The 0.5mm spacing is tight and it's hard to see if there is a problem there, even using a loupe.

Link to post
Share on other sites
6 hours ago, saybur said:

 

In all cases with me the problems I had were with with bridged / dry pins on the main SoC. The 0.5mm spacing is tight and it's hard to see if there is a problem there, even using a loupe.

 

Thankyou that is a huge help. I'm going to go back and very carefully redo the SoC pins. 

 

Ive been looking for the problem on the software/firmware side. The problem occurred in both boards that I made and my thinking was that it would be difficult to repeat the same problem twice on both boards. 

 

I agree with you saying the SoC is tight, I might go as far as saying f$&@ing tight. 

Link to post
Share on other sites

Looking at your picture closely, you do have a handful of issues with the soldering of that CPU. 

 

you should use a flux pen, and then drag soldering with desoldering braid for cleanup. 

 

the ATMega128A1U is the same package, and I deal with those almost daily and have 0 issues with this method. 

Link to post
Share on other sites

I just got both of them working.;D

I must have removed and re-soldered the SoC 5 times on each board and I still kept getting the same error.

In total frustration I took one of the boards to the kitchen sink and gave it a good scrub with soapy water and a toothbrush.

You would scarcely believe it now worked.....not only that my second board also came good after a good scrub. 

 

 

5297246C-020E-4F32-AAD2-0F8F1790D377.jpeg

Link to post
Share on other sites
23 hours ago, techknight said:

Looking at your picture closely, you do have a handful of issues with the soldering of that CPU. 

 

you should use a flux pen, and then drag soldering with desoldering braid for cleanup. 

 

the ATMega128A1U is the same package, and I deal with those almost daily and have 0 issues with this method. 

 

I followed your advice and tried my flux pen and dragging the iron across the pins. It was definitely much easier and quicker than the solder paste and heat gun I had been using. 

Link to post
Share on other sites
44 minutes ago, babelfisher said:

 

I followed your advice and tried my flux pen and dragging the iron across the pins. It was definitely much easier and quicker than the solder paste and heat gun I had been using. 

 

Solder paste and heatgun method only works if you have a stencil for the PCB and you can apply the proper even amount of paste. just going willy nilly with the paste without a stencil is asking for a disaster. Something to keep in mind. 

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...
×
×
  • Create New...