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

Search:

Type: Posts; User: PaulStoffregen

Page 1 of 10 1 2 3 4

Search: Search took 0.13 seconds.

  1. Replies
    21
    Views
    5,101

    Teensy's USB Keyboard (USB device mode) added...

    Teensy's USB Keyboard (USB device mode) added support for media keys on Windows with Teensyduino 1.29.

    Earlier versions only worked with Macintosh and Linux. Those early versions also only...
  2. Replies
    25
    Views
    362

    It's been running continuously here for over 46...

    It's been running continuously here for over 46 hours with MacOS.

    25885
  3. Replies
    27
    Views
    594

    Sticky: I'm not particularly happy about it either, as I...

    I'm not particularly happy about it either, as I do sometimes use the .lst files.

    Again, I'm hopeful to find a way to bring this feature back in future versions. I personally want to have it...
  4. Replies
    27
    Views
    594

    Sticky: The word "never" only applies to the programs you...

    The word "never" only applies to the programs you have personally compiled.

    Turns out for some very large programs, it is painfully slow. On the older (but generates the fastest code) version of...
  5. C++ exceptions and RTTI are not supported on...

    C++ exceptions and RTTI are not supported on Teensy. All C++ code is compiled with flags "-fno-exceptions -fpermissive -fno-rtti".




    String it supposed to drop data when it can't allocate...
  6. The same is often said of buffer overflow bugs...

    The same is often said of buffer overflow bugs with char array strings.
  7. Opinions vary regarding use of malloc / free and...

    Opinions vary regarding use of malloc / free and dangers of possible memory fragmentation.

    Some people always draw a very hard line and insist that no dynamic memory allocation is ever used in any...
  8. Replies
    25
    Views
    362

    I'm running it here, using the just-released...

    I'm running it here, using the just-released Teensyduino 1.55 on MacOS 11.6. So far hasn't crashed, but only been running about 5 minutes.
  9. Replies
    34
    Views
    2,802

    Let's continue it here. After the mess of...

    Let's continue it here. After the mess of ICS5200 threads (I have them again on my workbench - going to test this weekend) I want to prevent this situation where we get duplicate threads.
    ...
  10. There aren't any extra solder pads on Teensy++...

    There aren't any extra solder pads on Teensy++ 2.0.

    Best option would be to try to solder to the ends of R1 and R2.

    https://www.pjrc.com/teensy/parts_placement_teensy2pp_top.png
  11. No, sorry, I have absolutely no idea. I haven't...

    No, sorry, I have absolutely no idea. I haven't used any USB host shield in recent years.

    Not long after we released Teensy 3.6, I poured about 1 year into writing the USBHost_t36 library. ...
  12. Replies
    55
    Views
    1,121

    I'm leaning towards wrapping up 1.55 soon, maybe...

    I'm leaning towards wrapping up 1.55 soon, maybe later today, or by the weekend at the latest.

    Does anyone see any remaining bugs which really should be fixed before a stable 1.55 release?
  13. Replies
    55
    Views
    1,121

    I can't imagine anything that's changed between...

    I can't imagine anything that's changed between Teensyduino 1.54 and 1.55-beta3 which could affect Arduino's library search. As anyone can see on github, we haven't changed the library.properties...
  14. Replies
    55
    Views
    1,121

    Teensy Loader uses HID protocol. Windows allows...

    Teensy Loader uses HID protocol. Windows allows multiple programs to access the same HID interface. If you're running TyCommander or any other program which tries to talk to the bootloader at the...
  15. Ok, just looked at the old AVR datasheet. ...

    Ok, just looked at the old AVR datasheet. Haven't done much with Teensy 2.0 lately... kind of a trip down memory lane.

    Raw HID + Serial + Joystick definitely can not work on Teensy 2.0. Unlike...
  16. Yes, these are possible on 32 bit Teensy, but you...

    Yes, these are possible on 32 bit Teensy, but you will need to edit usb_desc.h to create the combination of interfaces you want.

    See the extensive comments in that file for instructions.

    For...
  17. Replies
    55
    Views
    1,121

    Compiles without any errors here on 1.55-beta3...

    Compiles without any errors here on 1.55-beta3 with Arduino 1.8.16.

    25847
  18. I like it! :)

    I like it! :)
  19. Replies
    55
    Views
    1,121

    Oh, yeah, I should have been more specific. ...

    Oh, yeah, I should have been more specific. Teensy Loader only communicates with Teensy boards when they're in bootloader mode. So if the board is running in Serial, MIDI, RawHID, MTP, Audio or...
  20. Replies
    55
    Views
    1,121

    Merged. Looks like the SD library examples...

    Merged.

    Looks like the SD library examples were using different pins too. I just committed a change to default to pin 10 on all of them.
  21. Replies
    55
    Views
    1,121

    I see some of the LittleFS examples using SPI...

    I see some of the LittleFS examples using SPI flash have CS pin 6 as default, others have pin 7.

    My hope is to see pin 6 as the default and all the examples not about a particular memory type use...
  22. Replies
    55
    Views
    1,121

    After 1.55, maybe we can add a 2nd RAM disk to...

    After 1.55, maybe we can add a 2nd RAM disk to LittleFS. But at the very least, I want to see it designed very differently as I mentioned previously. Not going to rehash that now, as the focus at...
  23. Replies
    55
    Views
    1,121

    They're supposed to be clickable when Teensy...

    They're supposed to be clickable when Teensy Loader has a board online. When it's not talking with hardware those buttons are supposed to be disabled.
  24. Replies
    55
    Views
    1,121

    Merged it just now.

    Merged it just now.
  25. Replies
    55
    Views
    1,121

    @Defragster (and all) - Have you seen any more...

    @Defragster (and all) - Have you seen any more cases where the Open HEX File button is grayed out or any other GUI features which should be clickable can't be used?

    I never did figure out what...
  26. Replies
    55
    Views
    1,121

    Oh, now that is a valuable piece of info! It...

    Oh, now that is a valuable piece of info! It very likely may be a bootloader bug in 1.07. The bootloader is supposed to ignore the Program button during certain critical times, but probably isn't...
  27. Replies
    1
    Views
    92

    I'm confused by this question. I...

    I'm confused by this question.




    I connected my scope and ran the Ethernet WebClient example on a Teensy 4.1 with Wiz850io ethernet. The best hint I can give is it does not appear to be "SS...
  28. Replies
    6
    Views
    267

    The answer is yes, this is possible, but to do it...

    The answer is yes, this is possible, but to do it you would need to dive pretty deeply into learning how the timer hardware works. The timers in this chip are loaded with advanced features, which is...
  29. Official time APIs using units not seconds-based...

    Official time APIs using units not seconds-based are cool in the short term, but the long term effect on the software ecosystem is a lot of code which breaks when clock speeds change. Or a lot of...
  30. You could forcibly write to the 2 variables the...

    You could forcibly write to the 2 variables the core library uses, of course with the caveat future versions might change. But for what we have today, here's how you would do it.



    extern "C"...
  31. Those PCBs arrived from OSH Park. I soldered...

    Those PCBs arrived from OSH Park. I soldered ICS52000s onto 2 of them.

    25836

    Hope to experiment with them later this week. Lately 1.55-beta has taken all my dev time, but just wanted to...
  32. Replies
    74
    Views
    2,443

    Seems objdump is extremely slow for creating the...

    Seems objdump is extremely slow for creating the .lst file when the input file is huge. I'm going to disable it for 1.55-beta3.

    Sadly, the rest of the slowness seems to be unavoidable due to...
  33. Replies
    74
    Views
    2,443

    Yes, this is the correct behavior for a board...

    Yes, this is the correct behavior for a board locked into secure mode.

    When you press the button on a locked Teensy, it runs NXP's ROM only. Teensy Loader and the "loader utility" part of a EHEX...
  34. Replies
    74
    Views
    2,443

    I've again fallen behind, haven't read every...

    I've again fallen behind, haven't read every message on this thread. Hope to soon, but right now focusing fixing bugs.

    Been working on Teensy Loader. Hopefully all the GUI stalls with...
  35. Also as mentioned on your other threads...

    Also as mentioned on your other threads, if you use Teensy's non-blocking libraries OctoWS2811 or WS2812Serial, you probably won't need this interrupt code at all.

    You can just use millis() or...
  36. Replies
    74
    Views
    2,443

    Just a quick guess, maybe the slowness isn't...

    Just a quick guess, maybe the slowness isn't building at all, but the post-build commands which create extra output files.

    Try editing platform.txt. Look for this part:



    ## Post Build -...
  37. This error means you have some of the new 1.55...

    This error means you have some of the new 1.55 stuff, but other parts are still from 1.54.

    Please install 1.55-beta2, so you have a consistent set all the recent changes.
    ...
  38. Indeed for that code, using IntervalTimer is the...

    Indeed for that code, using IntervalTimer is the best way, since all it's doing with the timer is running a function at a regular interval.

    Regarding the original question, the interrupt names are...
  39. Replies
    425
    Views
    8,669

    Only if the problem is reproducible with the USB...

    Only if the problem is reproducible with the USB types and libraries which will be in 1.55.
  40. Replies
    425
    Views
    8,669

    Definitely not adding another USB type or...

    Definitely not adding another USB type or changing USB descriptors this close to a stable release!
  41. Replies
    425
    Views
    8,669

    Glad it's working better now! I'd much rather...

    Glad it's working better now!

    I'd much rather be playing with filesystems and MTP right now... but I really do need to keep focusing on fixing the remaining code security GUI lockup bugs and the...
  42. Replies
    68
    Views
    1,552

    Honestly, I never even thought about anyone...

    Honestly, I never even thought about anyone passing zero length to those functions.

    Can probably just add a check for zero. They're inline functions and the length is almost always a constant in...
  43. Replies
    425
    Views
    8,669

    Ok, pulled in the latest MTP_t4 library and...

    Ok, pulled in the latest MTP_t4 library and copied it over to the Windows 10 machine. Uncommented include MTP.h.

    Same thing, still can't reproduce the problem. It prints a non-CrashReport every...
  44. Replies
    425
    Views
    8,669

    Are you sure you really do have this patch in...

    Are you sure you really do have this patch in your core library?

    https://github.com/PaulStoffregen/cores/commit/285ecd2c1bdb69dec3687107f4b805ae572db6a0
  45. Replies
    425
    Views
    8,669

    Ok, tried it first the lazy way with no MTP.h...

    Ok, tried it first the lazy way with no MTP.h included.

    25802
  46. Replies
    425
    Views
    8,669

    Ok, I'm setting up my Windows 10 test machine...

    Ok, I'm setting up my Windows 10 test machine now.

    Is including MTP.h really necessary to reproduce the problem?
  47. Teensy 4.1 has a TPD3S014...

    Teensy 4.1 has a TPD3S014 chip which limits the current. Scroll down to the schematic on the Teensy 4.1 page for details. But according to the TPD3S014 datasheet on page 5, the actual limit can be...
  48. Replies
    425
    Views
    8,669

    Ok, I've *finally* caught up to this huge thread!...

    Ok, I've *finally* caught up to this huge thread!

    @Defragster - Is there any more info about problem on msg #330? Maybe this was continued on the 1.55-beta2 thread?
  49. Replies
    425
    Views
    8,669

    Regarding the code from msg #393...

    Regarding the code from msg #393



    I'm running it here on Ubuntu 20.04 with the latest code. Can't reproduce the problem. It always prints the CrashReport info.

    25799
  50. Replies
    28
    Views
    1,590

    Really that message leaves a lot to be desired. ...

    Really that message leaves a lot to be desired. It really should tell you exactly which Teensy it is using as the basis for the available space. It should probably not even print that message at...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4