1. jcrorxp

    OP jcrorxp Advanced Member
    Newcomer

    Joined:
    May 2, 2018
    Messages:
    65
    Country:
    China
    MOD of trinket M0,arduino zero。。。thanks for all the Contributors。
    with the reed switch connect to the RES,it easy to change the firmware(UF2)
     

    Attached Files:

  2. iriez

    iriez GBAtemp Advanced Fan
    Member

    Joined:
    Oct 27, 2016
    Messages:
    548
    Country:
    United States
    Can you give us more details? How does it get put into reset mode for flashing? Is this a custom pcb you made, it doesn't look anything like the trinket m0 ?
     
  3. Hayato213

    Hayato213 ( -_・) ︻デ═一' * (/❛o❛)/
    Suspended

    Joined:
    Dec 26, 2015
    Messages:
    10,308
    Country:
    United States
    Why it is next to the battery?
     
  4. jcrorxp

    OP jcrorxp Advanced Member
    Newcomer

    Joined:
    May 2, 2018
    Messages:
    65
    Country:
    China
    Q
    This is trinket m0.But I deleted everything useless,such as LED,button and LDO.Another IC is USB signal switch IC, when payload is done, the IC can disconnect the USB.That 's all.
     
  5. mrdude

    mrdude GBAtemp Maniac
    Member

    Joined:
    Dec 11, 2015
    Messages:
    1,170
    Country:
    Can you post your CURRENT.UF2 file please, I'm trying to test my own board - also using samd21g18a - but can't use the sam21e files as the code for those doesn't work on the sam21g, I can't get it to send the payload to the switch - but the trinket I have works fine.
     
  6. jcrorxp

    OP jcrorxp Advanced Member
    Newcomer

    Joined:
    May 2, 2018
    Messages:
    65
    Country:
    China
    you need to layout them with the same gpio,can you flash the bootloader? just flash it to a trinket m0 bootloader is OK,G18 and E18 is the same usb D+ D- gpio,but if bootloader is difference. the arduino Port D0 D1 D2 is difference
     
  7. mrdude

    mrdude GBAtemp Maniac
    Member

    Joined:
    Dec 11, 2015
    Messages:
    1,170
    Country:
    If I dump the trinket flash that works with sxox payload - then flash that dump onto sam21g18a - and use pins 34/33/gnd as D+ and D-, It doesn't send the payload? (even though connected to a pc these are the correct pins to use for usb as I can see the board as trinketboot)
     
    Last edited by mrdude, Aug 9, 2018
  8. aos10

    aos10 Yuuki chan
    Member

    Joined:
    Apr 10, 2012
    Messages:
    4,725
    Country:
    Saudi Arabia
    Did you put it on the battery itself?
    This doesn't feel right at all.
     
  9. jcrorxp

    OP jcrorxp Advanced Member
    Newcomer

    Joined:
    May 2, 2018
    Messages:
    65
    Country:
    China
    they have the same bootloader?
     
  10. mrdude

    mrdude GBAtemp Maniac
    Member

    Joined:
    Dec 11, 2015
    Messages:
    1,170
    Country:
    Trinket flash is 256kb, doing a trinket dump using openocd dumps the bootloader (address 0x0 to 0x1FFF) and the sketch (starting address 0x2000), the complete dump can be flashed to a samd21g18a, and indeed shows up as TRINKETBOOT on a quick resest (twice), however the say you have dumped the trinket containing the sxos payload and then flashed that to your bare samd21g18a - it's lucky is it sends the payload once out of 20 times. Maybe due to some sort of timing issue.
     
  11. Joxley192

    Joxley192 Advanced Member
    Newcomer

    Joined:
    Feb 22, 2018
    Messages:
    76
    Country:
    United Kingdom
    Will u be selling any of these if so how much
     
  12. The0919

    The0919 GBAtemp Regular
    Member

    Joined:
    Oct 29, 2017
    Messages:
    116
    Country:
    United States
    Why the fucc did you have to call it 'my inside dongle', its sounds so dirty
     
  13. MatinatorX

    MatinatorX Hardware Developer
    Developer

    Joined:
    Jul 17, 2018
    Messages:
    365
    Country:
    Canada
    Last edited by MatinatorX, Aug 13, 2018
    kristiansja likes this.
  14. kristiansja

    kristiansja GBAtemp Regular
    Member

    Joined:
    Apr 30, 2016
    Messages:
    111
    Country:
    Norway
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - dongle(SAMD21, inside,