• Rise from your gwave!

USB dev cart project

Discussion in 'Saturn Dev' started by antime, Mar 24, 2012.

  1. razor85

    razor85 New Member

    Antime, since I don't understand anything about this, what voltage should I get the capacitors / resistors? How many Watts? Does it make a difference?
     
  2. antime

    antime Extra Hard Mid Boss

    10V or 16V capacitors with X5R or X7R dielectric will be fine. The power rating for the resistors doesn't really matter, 5V through 10kOhm will dissipate about 1/400W.
     
  3. razor85

    razor85 New Member

    So...this looks ok?



    Ignoring the quantities (and the fact that I couldn't find 4.7 uF with 10V or 16V [max was 6.7V]). Sorry for bothering, I wanted to get the specifics right.
     
  4. antime

    antime Extra Hard Mid Boss

    The 4.7µF capacitor is the wrong size. You've picked metric 0603, but you need imperial 0603 (aka metric 1608). It's confusing, I know.
     
  5. razor85

    razor85 New Member

    Wow, didn't noticed that! Thanks alot for the help, it's been a hell of a learning :)



    I think I got it right now.
    EDIT: Wrong link
     
  6. antime

    antime Extra Hard Mid Boss

    The 10K resistor you've selected will work, but it's some special high-precision component. You can save a few bucks by using a normal thick-film resistor, like eg. RC0603FR-0710KL.

    Unless you know you need something special, one trick is to enter the parametrics you know, and then sort by price. The cheapest parts are usually also the ones that are used the most, and are therefore "normal".
     
  7. razor85

    razor85 New Member

    ah I see. I wasn't sure if I needed to get a high quality one or a "normal one". Also, whats up with the tolerance values? Do I need higher tolerance components? I wouldn't think so, since this is so low voltage....am I wrong?
     
  8. antime

    antime Extra Hard Mid Boss

    The tolerance value indicates much much the actual, measured value of the component is allowed to differ from the nominal value. The right tolerance range to choose doesn't depend on voltage, but rather on the accuracy and precision demanded by the application. For this cartridge, the answer is "not much at all." 5% or even 10% resistors would work just as well, but you don't really save any money compared to 1% ones.
     
  9. razor85

    razor85 New Member

    Ah I see. It's just that I didn't find most of the 1% ones. Most of the ones I got are 10%
     
  10. antime

    antime Extra Hard Mid Boss

    Resistors and capacitors are very different components, and the normal tolerance ranges are different, too.
     
  11. razor85

    razor85 New Member

    Well...looks like I'm running out of luck here.
    I assembled my first board and was able to flash the cartridge just OK. But as soon as I plugged the USB in, my board fried (I forgot a shortened pin on FT245RL. Not nice.

    I assembled another board, and took the most extreme care on doing it. I connected the USB, nothing. Put it on saturn, no cartridge detected. I believe something is shortened out or simply not working, but I have no idea where to start looking. I used a multimeter and tested the resistors, and they are correctly soldered.

    What makes me believe is a shortened pin, is because when I put the cartridge on saturn with the console turned on, it immediatly turns off. Any tips?
     
  12. Can you snap any photos of the board including some close ups? Maybe myself or another user, will be able to visually spot a bridge or solder splash that you're not seeing.
     
  13. razor85

    razor85 New Member

    Sure, there you go:
    This is my first time soldering SMD, hence the horrible cap/resistor work.
     
  14. razor85

    razor85 New Member

    By the way, I measure current and voltage on all capacitors and resistors (and measured resistance on resistors to make sure they were correct too). They only resistor that doesn't get current (when USB is plugged in) is R4. Other than that everything has current.

    EDIT: Is there anything I can do to make sure the IC are working? Like measuring current/resistance/voltage on some pins?
     
    Last edited: Dec 23, 2018
  15. antime

    antime Extra Hard Mid Boss

    The USB interface is not powered by the USB host, so it'll only show up on your computer when the Saturn is turned on. If you insert the cartridge, turn on the Saturn, and then connect the USB cable, is it detected on the PC? If it is, the USB part works.

    The Saturn won't do anything with the cartridge until the flash is programmed. You can eg. burn an arflasher disc for that.

    If you suspect a short, connect a lab power supply to 5V and GND and set the current limit to maybe 40 mA and see if it hits the limit.
     
  16. razor85

    razor85 New Member

    Ok, with the cartridge plugged in, Linux recognized FTDI. Looks like the problem might be the memory chips then? They are only writeable from saturn (I mean, it can't be done through USB), right?

    I don't have a lab power supply (I might find one after the holidays), so I can't really test the current right now. But I burned the arflash disk and it doesn't recognize the chips (I tried moving the cartridge and reposition it all around, still does nothing).
     
  17. antime

    antime Extra Hard Mid Boss

    Since you're not burning the Saturn's fuse, and it seems to start normally with the cartridge inserted, there's almost certainly no short circuit. If arflasher doesn't recognize the chips, then there may be a problem with the chips themselves, or the interface logic ICs. Double- and triple-check all joints, make sure all chips are soldered the right way around. I'm assuming you picked flash devices that are actually supported by arflasher?
     
  18. razor85

    razor85 New Member

    Yeah, I ordered the components from mouser (the ones on your page)
    EDIT: Also, my first cartridge worked (until the ftdi exploded)
     
  19. razor85

    razor85 New Member

    By the way antime, what tool chain are you using to compile the tools? I'm trying to make a version of the tools that ignore identification (and tries to write directly to my hardware) but the generated iso doesn't work in the console :(
     
  20. antime

    antime Extra Hard Mid Boss

    A self-built vanilla sh-elf toolchain.
     

Share This Page