Internal modchip - SAMD21 (Trinket M0, Gemma M0, ItsyBitsy M0 Express) Guide, Files & Support

Discussion in 'Switch - Tutorials' started by mattytrog, Jun 20, 2018.

  1. JaRocker

    JaRocker GBAtemp Regular

    Member
    5
    May 3, 2018
    Jamaica
    hey, Idk if anyone here is able to help.
    I just a switchme up mod chip made but I'm not able to program it, I tried doing it just as I would a trinket me but it is not using up on my pc no light no nothing
     

    Attached Files:

  2. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    Check the right hand side of D1(looking at your pic).

    Looks dry to me.
     
  3. JaRocker

    JaRocker GBAtemp Regular

    Member
    5
    May 3, 2018
    Jamaica
    here is another pic this is what I've been doing. am wondering if the ships are blank if so how would i do about programming them, the reason I think the chip is blank is that i took a chip from a trinket m0 and try it on a switch meup and after doing that, then i tried the switchup me ship on the trinket m0 and nothing
     

    Attached Files:

  4. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    Yep will be blank.

    Follow the OP for openOCD image and connection guidelines.

    Read the datasheet for SAMD21, as you are using a G18 which is QFN48, rather than the E18, which is QFN32.

    Match up SCK / SDIO according to datasheet, grab a pi zero, flash the image in OP, flash chip.

    Sounds easy if you say it fast enough...
     
  5. JaRocker

    JaRocker GBAtemp Regular

    Member
    5
    May 3, 2018
    Jamaica
    I've been trying to use openocd but idk what I'm doing, I have been looking at some videos online but I haven't been able to find any that works with the img that I got from your post. I'm looking for a noob-friendly guide

    — Posts automatically merged - Please don't double post! —

    trying this now hope it works,
    cd ~
    sudo apt-get update
    sudo apt-get install git autoconf libtool make pkg-config libusb-1.0-0 libusb-1.0-0-dev
    git clone http://openocd.zylin.com/openocd
    cd openocd
    ./bootstrap
    ./configure --enable-sysfsgpio --enable-bcm2835gpio
    make
    sudo make install
     

    Attached Files:

  6. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    why not just use the image in the OP? Its ready to go
     
  7. JaRocker

    JaRocker GBAtemp Regular

    Member
    5
    May 3, 2018
    Jamaica
    whats what I'm using now but idk where to find the commands.
    like I said I'm a noob so I'm pretty much lost to what I'm doing
     
  8. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    cd bootloader
    sudo openocd
    if i remember correctly
     
  9. JaRocker

    JaRocker GBAtemp Regular

    Member
    5
    May 3, 2018
    Jamaica
    thanks seem like I'm getting somewhere now I was using the wrong folder. i CD in the openocd folder not the bootloader

    — Posts automatically merged - Please don't double post! —

    oh one more thing are the pins the same for the pi2 as the pi0
     
  10. JaRocker

    JaRocker GBAtemp Regular

    Member
    5
    May 3, 2018
    Jamaica
    still no luck where can I find the SWDIO / SWDCLK pads on the switchme up chip
     

    Attached Files:

  11. cormaltes

    cormaltes Member

    Newcomer
    1
    Dec 30, 2014
    France
    Hello, I damaged the resistance or must weld the CFW permanent. I would like to know the reference to replace it. Thx

    [​IMG]
     
  12. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    Yes pins are same across all pi.

    Should be labelled. SDL sck?

    — Posts automatically merged - Please don't double post! —

    150r 0201 50mW
     
    cormaltes likes this.
  13. JaRocker

    JaRocker GBAtemp Regular

    Member
    5
    May 3, 2018
    Jamaica
    still haven't been able to able to flash the file
     

    Attached Files:

  14. mattytrog
    OP

    mattytrog You don`t want to listen to anything I say.

    Member
    13
    Apr 27, 2018
    United Kingdom
    Shorter thicker cables... 5v dedicated supply and gnd...

    About all I can suggest.

    I did have issues with a pi zero once. If using one of those, use a pi2 maybe?
     
  15. JaRocker

    JaRocker GBAtemp Regular

    Member
    5
    May 3, 2018
    Jamaica
    thanks ill give it another try
     
  16. JaRocker

    JaRocker GBAtemp Regular

    Member
    5
    May 3, 2018
    Jamaica
    sigh sill nothing
     
  17. JaRocker

    JaRocker GBAtemp Regular

    Member
    5
    May 3, 2018
    Jamaica
    this is my latest attempt still no luck
     

    Attached Files:

  18. pure3d2

    pure3d2 Newbie

    Newcomer
    1
    Dec 30, 2016
    United States
    California
    @mattytrog, after about a month of reading, I've finally finished this entire thread LOL. I'm going to do my install this weekend/next week then post pictures.
     
  19. Skuffe

    Skuffe Newbie

    Newcomer
    1
    Sunday
    Denmark
    So i installed a trinket m0 in my switch, and initially everything worked as expected. It seemed a bit janky with auto rcm though, so i thought i'd solder the rcm strap as well, since i had not done that to begin with.

    I unplugged the flex cables from the two connectors marked in the left side of the image (right joycon, and not 100% sure what the other one is for, but i assume its something for the display), and soldered the rcm strap and then attached the two flex cables to the connectors again. Unfortunately something went wrong in those steps, i cant see any damage anywhere, but the screen no longer comes on. I can hear the audio after the switch boots, so the switch seems to be working fine, and so does the trinket m0, since cfw loads, but nothing happens on the screen. In the dock i get the image as expected as well.

    Any ideá what could have happened? i can't see any damage to the flex cables visually, and i didnt apply much force to them at all (i flipped the little plastic locks before removing the cables).

    switch_connectors.png
     
    Last edited by Skuffe, Dec 8, 2019 at 8:26 PM
  20. pure3d2

    pure3d2 Newbie

    Newcomer
    1
    Dec 30, 2016
    United States
    California
    Did you disconnect the battery before you started soldering?
     
Quick Reply
Draft saved Draft deleted
Loading...