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:

Quick Reply
Draft saved Draft deleted
Loading...