1. M-O-B

    OP M-O-B GBAtemp Regular
    Member

    Joined:
    Jun 23, 2018
    Messages:
    281
    Country:
    United Kingdom
    this may work on the r4, this is just a edited version of the multi that mattytrogs posted in his thread, think it was for the itsybitsy originally I think.

    just a couple of bits to edit then it should be ready to test on the r4 dongle.

     
  2. yakuma

    yakuma Advanced Member
    Newcomer

    Joined:
    Dec 27, 2007
    Messages:
    69
    Country:
    Indonesia
    yeyyy thanks
     
  3. M-O-B

    OP M-O-B GBAtemp Regular
    Member

    Joined:
    Jun 23, 2018
    Messages:
    281
    Country:
    United Kingdom
    you can give this a try if you want on your R4 let me know if it works, just press the reset button on the R4 to change payloads or let it auto change once it fails to load a payload.

    on my trinket led behaviour is red for sxos white for hekate and blue for ReiNX.

    not sure how the led behaviour would be on the R4.

    this is just and edited version of one of mattytrogs multi codes.

    I'm also trying to get the multi.h to work with 4 payloads, but flash is to small, to get more payloads to work I'm trying to figure out how to get this done using dat files place on root of sd card, but am not getting any joy yet after I create the new multi.h file.

    if I try mattytrogs multi 8 payload.h then everything loads, seems my created multi h file is totally different once done.

    I could just use mattytrogs payload h file but that's not what I want to do, mainly because I create my sd card files from the sources and sometimes the bin files are different from the release versions of the bin.
     
    Last edited: Aug 31, 2018
  4. yakuma

    yakuma Advanced Member
    Newcomer

    Joined:
    Dec 27, 2007
    Messages:
    69
    Country:
    Indonesia
    not working
     
  5. M-O-B

    OP M-O-B GBAtemp Regular
    Member

    Joined:
    Jun 23, 2018
    Messages:
    281
    Country:
    United Kingdom
    when you say not working how do you mean excatly, just saying not working is no help to me in trying to get something working for the R4.

    but the individual codes worked ok both of them..
     
  6. Holli12345

    Holli12345 Newbie
    Newcomer

    Joined:
    Aug 26, 2018
    Messages:
    4
    Country:
    Albania
    Ok as I see there are two "Gemma" related" subfolder in the all in one zip.

    Right now I have an Gemma on site and I want to flash it. Can I use the tutorial from page 1?
    Iam unsure because there is an extra folder with the payloads. Do I still have the need of that?

    An short tutorial would be very great! Thanks a lot!
     
    Last edited: Aug 31, 2018
  7. yakuma

    yakuma Advanced Member
    Newcomer

    Joined:
    Dec 27, 2007
    Messages:
    69
    Country:
    Indonesia
    individual code is working.
    but try multy loader is nor working.
    try to press the button not respon just blink
     
  8. M-O-B

    OP M-O-B GBAtemp Regular
    Member

    Joined:
    Jun 23, 2018
    Messages:
    281
    Country:
    United Kingdom
    so nothing happens when you press the reset button, no led blink nothing I would of thought it would of loaded at least one of the payloads from the multi payload.

    I may have to get one of these r4 dongles just to see how they are made and what's used in it.

    not found any kind of tear down of one yet.

    I have redone the code so it's just auto now, works perfectly on a trinket and gemma, but I expect it not to work on the R4.

     
  9. BenLM

    BenLM Member
    Newcomer

    Joined:
    Sep 1, 2018
    Messages:
    10
    Country:
    France
    Good morning,
    Thanks a lot for this tutorial it helps to understand how it works.

    I have a problem with Arduino I have the following error
    upload_2018-9-1_18-5-12.png

    Also I'm told that you have to put an uf2 on the Trinket M0 but I don't see that appear in the tutorial and I saw that there are some in the zip file but I'm not sure that those are the ones you should use.

    If you could give me some information.

    Thank you in advance.
     
  10. mattytrog

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

    Joined:
    Apr 27, 2018
    Messages:
    3,670
    Country:
    United Kingdom
    Have you installed the dotstar lib?

    https://github.com/adafruit/Adafruit_DotStar
     
    BenLM and M-O-B like this.
  11. M-O-B

    OP M-O-B GBAtemp Regular
    Member

    Joined:
    Jun 23, 2018
    Messages:
    281
    Country:
    United Kingdom
    here you go ladies and gents.

    2 versions of the multi payload for the trinket & gemma.

    manual and auto selection of the payloads.

    multi 4 payload requires dat files on root of sd card.

    triple payload requires the normal bin files placed in your normal place you have them.

    example my bin files are in bootloader/payloads folder since v4.0 of hekate was released.

    I've added a couple of links for the custom boot files to create the dat files and the payload files to drag and drop onto the trinket or gemma.

    the auto payload ones may work on the R4 dongle and sx gear once it gets released.

    have not tested on the r4 dongle as I don't have one,



    these are just Edited versions of one of mattytrogs codes he posted in his thread, so thanks to him and the original source for the codes.

    these are just aimed at dongles really.

    for the multi 4 payload you can mix the dat files around to the order you rather have.

    just make sure you name them correct to boot in the order you want.

    example default

    sxos 0001
    hekate 0002
    ReiNX 0003
    RajNX 0004.

    change to what you want.
    example
    hekate 0001
    ReiNX 0002
    briccmii 0003
    memloader 0004

    I will see about getting an R4 dongle to try sort multi files out for that if none ave been done.

    but it's not on my priority list.

    plus if anyone has any idea what can be used that has bigger flash than a trinket then feel free to let me know, that's more for my personal use as I want multi payload but not using dat files.

    if you read though the thread you would of found the answer for that particular error, I just forgot to add it to the op.
     
  12. BenLM

    BenLM Member
    Newcomer

    Joined:
    Sep 1, 2018
    Messages:
    10
    Country:
    France
    Thank you for those answers.

    But I've seen this before and it doesn't work unless I put it in the right place.

    Indeed I read the whole line of discussions but I speak very badly English and therefore I try to understand as I can.
    So I dropped by and apologized. I'll install what I need and test it.
    I hope I don't have to bother you anymore.
     
    Last edited: Sep 1, 2018
  13. mattytrog

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

    Joined:
    Apr 27, 2018
    Messages:
    3,670
    Country:
    United Kingdom
    You need to download the zip from github, then add the ZIP to library. There is an option in the IDE.

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

    The itsybitsy has some onboard SPI flash(2mb), and while it works fine, its a right pain to flash it, then flash the code.

    So... Options...

    Use the multi-payload (with the 3 payloads). I can do you a custom version if you like if you tell me your requirements.
    ShaX multipayload that you use in the earlier posts
    Use Hekate to launch other payloads.

    If I get some time over the weekend, I`ll make a drag-and-drop version, so you can just add the bin file and its converted onboard the trinket.
     
  14. BenLM

    BenLM Member
    Newcomer

    Joined:
    Sep 1, 2018
    Messages:
    10
    Country:
    France
    Thanks, but that's a mistake:

    exit status 1
    Compiling error for Adafruit Trinket M0 card


    But I just want to use the SXos and not the multi
     
  15. mattytrog

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

    Joined:
    Apr 27, 2018
    Messages:
    3,670
    Country:
    United Kingdom
    You need
    You need the dotstar lib for all versions.

    Just download this and drag the UF2 file over...

    https://github.com/mattytrog/SAMD-Fusee-Launcher/tree/master/Trinket/TRINKET_newmethod123_SXOS/UF2
     
    BenLM likes this.
  16. M-O-B

    OP M-O-B GBAtemp Regular
    Member

    Joined:
    Jun 23, 2018
    Messages:
    281
    Country:
    United Kingdom
    page 2 look for this post and do exactly what it says in the post. Screenshot_20180902-080431_Chrome.jpg

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

    the files I have work just fine, the only issue is the flash size on the trinket, so am unable to actually flash 4 payloads, so I'm hoping to find something for my personal use with a bigger flash.

    the new dongle code works rather well now weather it's manual payload selection or auto.

    now I'm going to start on an internal code, but this will be for my personal use untill I'm completely satisfied that it's working 100% before I post the code.

    again it will be 2 versions auto & manual but I putting no time scale on it as I have better things to do.
     
  17. BenLM

    BenLM Member
    Newcomer

    Joined:
    Sep 1, 2018
    Messages:
    10
    Country:
    France
    It's funny how you can be sure I didn't look....
    I reread and installed the libraries that you give in link but nothing to do!
    You have to stop thinking that everyone is the same....

    Thank you for your kindness and your help.
    I will insist a little to understand why with arduino it does not pass.
    I installed the libraries that you even give error.
    Thanks bcp to you for your sympathy

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

    And for your information :

    upload_2018-9-2_9-45-13.png
     
  18. M-O-B

    OP M-O-B GBAtemp Regular
    Member

    Joined:
    Jun 23, 2018
    Messages:
    281
    Country:
    United Kingdom
    what file are you trying to use, also when the arduino software gives and error, you have a box that shows and will let you copy and paste the full error.

    so click on that error message box to copy the full error, then paste it into notepad++

    then you can paste the full error message in your next post, this would be better to understand the issue your having..

    think you said you wanted sxos done so what I've done is compiled sxos drag and drop uf2 files, these will keep you going until you sort that error out.

    these are compile from the codes in the op. plus one extra one I'm just finishing off.
     

    Attached Files:

  19. DollyWhipDoll

    DollyWhipDoll Royalty & Unbothered. LMFAO!!! ;)
    Member

    Joined:
    May 18, 2018
    Messages:
    453
    Country:
    United States
    Delete
     
    Last edited: Sep 5, 2018
  20. M-O-B

    OP M-O-B GBAtemp Regular
    Member

    Joined:
    Jun 23, 2018
    Messages:
    281
    Country:
    United Kingdom
    some more dongle uf2 drag and drop files.

    these will work on the R4 dongle and trinket and gemma these are individual payloads and ReiNX in compiled from the source this morning.

    I will add these to the op once I sorted the multi payloads out. plus going to put most my time into an internal method now, as these ones will do for most if not all dongles..
     

    Attached Files:

Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Trinket, Arduino, Flash