Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 8 of 8

Thread: teensy_loader_cli executable for windows?

  1. #1
    Junior Member
    Join Date
    Sep 2018
    Posts
    17

    teensy_loader_cli executable for windows?

    Does anyone happen to have a windows executable for teensy_loader_cli, the Teensy Loader Command Line Interface, that is recent enough to work with Teensy 4.1? I am quite unfamiliar with gcc compiling (which is why I like Teensyduino!)

    Many thanks!

  2. #2
    Senior Member
    Join Date
    Jul 2020
    Posts
    173
    Better that this should be provided directly by PJRC. You don't want to run binary code from some random person online. Even if the person is nice (and I suspect most people here are) there is no way of knowing what's going on with another person's computer. All antivirus programs can be bypassed by sufficiently new exploits.

  3. #3
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    12,341
    not seeing a posted Windows binary - or as part of TD install.

    This doesn't have T_4.1 support :: pjrc.com/teensy/loader_cli.html

    And it isn't here either: github.com/PaulStoffregen/teensy_loader_cli

  4. #4
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    7,615
    I have not tried it yet, but it might be as simple as adding one line to the sources:
    Code:
    } MCUs[] = {
    	{"at90usb162",   15872,   128},
    	{"atmega32u4",   32256,   128},
    	{"at90usb646",   64512,   256},
    	{"at90usb1286", 130048,   256},
    #if defined(USE_LIBUSB) || defined(USE_APPLE_IOKIT) || defined(USE_WIN32)
    	{"mkl26z64",     63488,   512},
    	{"mk20dx128",   131072,  1024},
    	{"mk20dx256",   262144,  1024},
    	{"mk66fx1m0",  1048576,  1024},
    	{"mk64fx512",   524288,  1024},
    	{"imxrt1062",  2031616,  1024},
    
    	// Add duplicates that match friendly Teensy Names
    	// Match board names in boards.txt
    	{"TEENSY2",   32256,   128},
    	{"TEENSY2PP", 130048,   256},
    	{"TEENSYLC",     63488,   512},
    	{"TEENSY30",   131072,  1024},
    	{"TEENSY31",   262144,  1024},
    	{"TEENSY35",   524288,  1024},
    	{"TEENSY36",  1048576,  1024},
    	{"TEENSY40",  2031616,  1024},
    	{"TEENSY41",  8126464,  1024},
    #endif
    	{NULL, 0, 0},
    };

  5. #5
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    12,341
    Quote Originally Posted by KurtE View Post
    I have not tried it yet, but it might be as simple as adding one line to the sources:
    {"TEENSY41", 8126464, 1024},
    ...
    That's what I saw that showed it 'missing' - but the HTML page is lacking too.

    Also haven't seen the 'Pass PC time to Teensy during upload for RTC' exposed for T_4.x so koromix can put it into TyCommander.

  6. #6
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    7,615
    Yep - It only adds it in part way... Still don't have any of the information about time, but that is also true for T4...

    Would also be good to update the Readme file and website as well.

  7. #7
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    12,341
    Quote Originally Posted by KurtE View Post
    Yep - It only adds it in part way... Still don't have any of the information about time, but that is also true for T4...

    Would also be good to update the Readme file and website as well.
    Maybe flash uses block size over 1024 and programming fails?

    Indeed - already copied post #3 above about website to the web edit needed thread.

  8. #8
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    7,615
    I did a quick and dirty and added the entry and build on RPI and was able to program a T4.1 with a simple fast blink program.

    I also updated Readme file: https://github.com/PaulStoffregen/te...er_cli/pull/61

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •