Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: defragster

Page 1 of 10 1 2 3 4

Search: Search took 0.08 seconds.

  1. @mykle - the IDE Verbose console output shows the...

    @mykle - the IDE Verbose console output shows the paths used for libraries and files and has a line IIRC (at least on Windows) pointing to the TEMP directory in use where the build takes place.
    ...
  2. @Dimitri : For LIN use the CORE Serial code may...

    @Dimitri : For LIN use the CORE Serial code may not be appropriate given the special needs/features of LIN. Glanced at the linked github lin_bus.cpp code and for that it seems to set baud rate and...
  3. @Dimitri - Indeed, Serial2 { or Serial1 as below...

    @Dimitri - Indeed, Serial2 { or Serial1 as below } configures UART hardware and connects software to interrupts to handle interrupt driven data transfer. And it seems PIN control is altered from...
  4. t1 for heartbeat timing is only updated once in...

    t1 for heartbeat timing is only updated once in setup? It can only enter once then setting t2=t1 with no change in t1 in loop() it will never enter/beat/toggle again: t1 = millis();

    Calling...
  5. This from TD 1.58 b1:

    This from TD 1.58 b1:
  6. Replies
    5
    Views
    94

    As noted, the Button puts the Teensy into Program...

    As noted, the Button puts the Teensy into Program mode.

    In this mode the PC generally won't recognize this unique mode.

    Having the IDE open and doing a Verify to get a working HEX file will...
  7. As long as it doesn't push 5V to the Teensy and...

    As long as it doesn't push 5V to the Teensy and recognizes 3.3V as high.

    For the build error - not sure of the software in use - posting the verbose build output might indicate the trouble.
  8. Replies
    8
    Views
    366

    See pjrc.com Contact info for email...

    See pjrc.com Contact info for email
  9. Glad you got to a usable state!

    Glad you got to a usable state!
  10. Replies
    1
    Views
    72

    TyTools, i.e. TyCommander offers an 'Integrate to...

    TyTools, i.e. TyCommander offers an 'Integrate to IDE' option. Doing that alters the build scripting. One change is the naming of the HEX file for upload.

    Was that done?

    If it was done then...
  11. Replies
    6
    Views
    264

    @PaulStoffregen would know directly ... check the...

    @PaulStoffregen would know directly ... check the release notes for actual timing

    There was one bootloader update since release - the version number on the board is indicated in Teensy Loader...
  12. Replies
    4
    Views
    98

    AFAIK, Order VIN .vs. USB doesn't matter. But...

    AFAIK, Order VIN .vs. USB doesn't matter. But having the T_3.5 powered first will assure the Teensy is powered and ready when the USB is connected.

    Based on post #3 - and bad 0.5V on the 3.3V pins...
  13. Cool you got an answer @Marathonman! Hope the...

    Cool you got an answer @Marathonman!
    Hope the details and build works out!
  14. Replies
    4
    Views
    98

    With T_3.5 unplugged from USB. Try a simple...

    With T_3.5 unplugged from USB.
    Try a simple sketch in the IDE for T_3.5 and do a Verify Build.
    That will open the Teensy Loader.
    With the T_3.5 and cable in hand - press and hold the Button - Plug...
  15. Replies
    2
    Views
    188

    There is a trace on the underside of the Teensy...

    There is a trace on the underside of the Teensy near the pin 0 corner - shown on the Teensy card.

    With that safely and properly cut (don't cut too deep) - the Teensy will not take any power from...
  16. That is 'typical' behavior. Verify does all...

    That is 'typical' behavior. Verify does all without upload to test building. Then hitting Upload does the build again before upload - even if nothing was changed.

    However, if the Verify completes...
  17. Thanks. Found Preferences "Theme" :...

    Thanks. Found Preferences "Theme" : arduino-theme-dark is better than: arduino-theme
  18. Replies
    8
    Views
    366

    There are posts where some may be (have been)...

    There are posts where some may be (have been) available from forum users.

    See this post and maybe: https://forum.pjrc.com/threads/70909-Teensy-3-6-Boards?p=312953&viewfull=1#post312953
  19. Good work @PerT - seems to point to PJRC tool...

    Good work @PerT - seems to point to PJRC tool issue, here too.

    Seeing similar results with Two T_4.1's online and these two lines in a Win 11 PowerShell cmd window. Both T_4.1's are on the same...
  20. Replies
    96
    Views
    2,385

    @Paul - is there a Beta 3 expected in near days?...

    @Paul - is there a Beta 3 expected in near days? And how long until 1.58 might release? ... just wondering as ...

    I was thinking of posting an FYI 'out of order' to the...
  21. Replies
    96
    Views
    2,385

    You mistype better than I do :) - Seems I've seen...

    You mistype better than I do :) - Seems I've seen a few off the wall suggestions. But the meaning was clear if the suggestion directly wasn't helpful.
  22. AFAIK, this is a consequence of the USB...

    AFAIK, this is a consequence of the USB descriptor presented on plug in. The computer needs to resolve the requested services, the MTP.begin() is part of completing that during setup().

    Perhaps...
  23. Replies
    96
    Views
    2,385

    @luni as usual earns my vote, much better logic...

    @luni as usual earns my vote, much better logic than here ...

    Of the many test sketches posted by defragster - few get typed right the first time - missing this or that. Happy to have annoying...
  24. Nice! Not having done 'integrate' didn't have the...

    Nice! Not having done 'integrate' didn't have the edited line copy to compare for Platform.txt. Will look into it and add the --delegate to see if the Loader triggering works for .eHex units.
  25. Did not look at that here. Just altered my setup...

    Did not look at that here. Just altered my setup (removed TEMP from virtual RamDrive) to allow IDE 2 to run at all.

    Notes made that TSET on Windows CLI still works using IDE 1.8.19 or IDE 2.0...
  26. Using @PerT's Mega Debug tip to LOG the process...

    Using @PerT's Mega Debug tip to LOG the process [Arduino-CLI-And-IDE-now-Released-Teensy-Supported!] this is the indicated process ... FWIW to Paul or @PerT?:
    Wow 42MB! Closed IDE 2 - deleted the...
  27. Just for completeness - selected OTHER T_4.1 and...

    Just for completeness - selected OTHER T_4.1 and it repeats the issue:
    29408

    IDE 2.0:

    Memory Usage on Teensy 4.1:
    FLASH: code:38684, data:8088, headers:8520 free for files:8071172
    ...
  28. I just got this repro first try two powered...

    I just got this repro first try two powered T_4.1's, Windows 11:
    29402

    Powered second T_4.1 - and it was NOT picked up in Teensy Ports, but Seems both Com20/Com22 were in 'Serial' - Hit Button to...
  29. Replies
    2
    Views
    155

    TyTools / TyCommander is the icing on the Teensy...

    TyTools / TyCommander is the icing on the Teensy cake!

    Note: it cannot upload encrypted eHex to T_4.x's that need it.

    @koromix added option: --delegate >> as used in...
  30. I have seen this message on IDE 2 with T_4.1's...

    I have seen this message on IDE 2 with T_4.1's also. Though not understood or looked into it or made note of it. I just pushed Button and ignored with other task at hand or ...

    Assumed it was...
  31. Not used Linux or the CLI interface here - most...

    Not used Linux or the CLI interface here - most don't.

    Is the IDE installed? Does this behavior repro with the IDE - just for reference and verify it isn't an issue with the CLI...
  32. Replies
    96
    Views
    2,385

    This: The tool chain update in beta TD 1.58...

    This:


    The tool chain update in beta TD 1.58 is showing larger CODE space usage than prior TD 1.57 with the current faster compile/link options.

    Some sketches are 20-25% larger ... noted this...
  33. Is that IDE 2.0 with PJRC Teensy Board Mgr...

    Is that IDE 2.0 with PJRC Teensy Board Mgr software: 1.57 or 1.58b2?

    Is that versus the same code working with IDE 1.8.19 and what version of TeensyDuino?

    Posting the Console verbose output...
  34. Looks good - what does this "fileNumString == 0"...

    Looks good - what does this "fileNumString == 0" do and why?


    char fileNumString[64];
    ...
    if(fileNumString == 0 && !exist){
  35. Uninstalled prior RC's and removed older Unzip...

    Uninstalled prior RC's and removed older Unzip folders.

    Downloaded the installer EXE and it completed fine and it found TD 1.58rc2 already there and worked.

    AND it runs now not needing 'as...
  36. Replies
    19
    Views
    3,224

    The T_4.1 uses a larger chip - which worked on...

    The T_4.1 uses a larger chip - which worked on the larger PCB and was needed to get out the needed extra pins.

    That larger chip on the T_4.0 PCB might fit with smaller silkscreen between the pin...
  37. @KurtE referred to that in p#4: " a data version...

    @KurtE referred to that in p#4: " a data version number, some value set in my program, so, it I change the format of the data, the next time I run it won't match and everything is reset."

    Code in...
  38. Replies
    96
    Views
    2,385

    If it is a new warning it is interesting to see...

    If it is a new warning it is interesting to see what pops up.

    It seems 'out' - in single quotes - is meaning generic ref to a return value? Perhaps it is not trusting "it->lastValue" to be...
  39. OP seemed satisfied, had fun writing the Teensy...

    OP seemed satisfied, had fun writing the Teensy Ser# verify/store sketch in p#7 and in that one byte 'version' was included. Though it could have been packed in the upper byte of the Serial # since...
  40. Following 1.58 uninstall, restart, and reinstall...

    Following 1.58 uninstall, restart, and reinstall the T_4.1 was there plugged in all along - and it came up with Teensy_ports, so not reproducible as done. IIRC on the laptop where this was seen -...
  41. @PerT - glad to note things that might catch...

    @PerT - glad to note things that might catch others and be trouble.
    In these three cases it seemed Teensy_ports was the odd factor where it showed here:

    #3: Indeed - AFAIK: IDE_Serial_ports knows...
  42. Something like this: //...

    Something like this:


    // https://forum.pjrc.com/threads/71079-boot-flags-in-eeprom-chicken-and-egg-situation?p=312641&viewfull=1#post312641
    #include "EEPROM.h"

    // set EEPROM storage addresses...
  43. Replies
    96
    Views
    2,385

    Not sure this adds anything - but found this...

    Not sure this adds anything - but found this example showing a 'similar' usage example with the value_type as used:...
  44. Doing a first time sketch to set EEPROM to a...

    Doing a first time sketch to set EEPROM to a known value works, but is extra work.

    One way to avoid it - assuming the odds of a unique value being stored - like the Teensy Serial number. Would be...
  45. Replies
    1
    Views
    126

    Not sure if this is an answer - not used the...

    Not sure if this is an answer - not used the _cli.exe.

    But on Windows https://github.com/Defragster/Tset uses a batch file to create a batch file that triggers an IDE build from the command line?...
  46. Without seeing 'problem code', to recreate here...

    Without seeing 'problem code', to recreate here (or there) seems starting with the p#2 listfiles.ino and editing to match that code to perhaps delete every other file during the list process. Try it...
  47. Not seeing any code doesn't allow any real...

    Not seeing any code doesn't allow any real understanding of what the trouble might be. Assuming this is a T_4.0 or T_4.1?

    Is the timer interrupt the only one in use?

    One thing to try - given...
  48. Beta 1.58b2 install on Win10 laptop - Seeing...

    Beta 1.58b2 install on Win10 laptop - Seeing Teensy ports oddities - this from td 1.58b2 thread

    Started OLD IDE 2 - offered 9.4RC update - done and restarted
    Saw and offered Teensy 1.58b1 update...
  49. Replies
    96
    Views
    2,385

    Beta 1.58b2 install on Win10 laptop - will post...

    Beta 1.58b2 install on Win10 laptop - will post on ide2 thread too

    Started OLD IDE 2 - offered 9.4RC update - done and restarted
    Saw and offered Teensy 1.58b1 update - Done, no restart

    Teensy...
  50. Replies
    96
    Views
    2,385

    Building the...

    Building the github.com/Defragster/T4LockBeta/tree/main/Code4Code no longer seems to hang build for LONG time - in fact just seconds seem to pass on the .lst line.



    teensy_size: Memory Usage on...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4