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.12 seconds.

  1. Pressing the Program button should recover from...

    Pressing the Program button should recover from almost any type of crash on the MK20 chip. The one case I know about, and this probably isn't relevant here but I'll mention it anyway, was early in...
  2. Final followup... this feature was added as...

    Final followup... this feature was added as startup_middle_hook() and has been released in Teensyduino 1.55.

    So far only info is on github.

    https://github.com/PaulStoffregen/cores/pull/605
    ...
  3. Replies
    60
    Views
    1,021

    Haha, I'm nowhere near that good with Java! I...

    Haha, I'm nowhere near that good with Java! I might not even have an idea of what's really wrong even if I could see the exception info and stack trace.
  4. The bootloader and Teensy Loader are specifically...

    The bootloader and Teensy Loader are specifically designed to NOT do this. While it would be convenient in some cases, many people wish to put Teensy inside products where they do not want their...
  5. Replies
    60
    Views
    1,021

    The Wire library should never lock up, no matter...

    The Wire library should never lock up, no matter what you've done wrong with the signals. We'll, short of damaging Teensy's hardware.

    All sorts of things could explain a communication problem. ...
  6. Replies
    60
    Views
    1,021

    Yeah, not so surprising it didn't work. But you...

    Yeah, not so surprising it didn't work. But you did get the splash page, so it did start with that JRE, then something went wrong...




    I believe the Windows version of Arduino has 2 launcher...
  7. Replies
    20
    Views
    625

    I've updated these web pages to show PWM is on...

    I've updated these web pages to show PWM is on pin 54.

    https://www.pjrc.com/store/teensy41.html

    https://www.pjrc.com/teensy/pinout.html

    https://www.pjrc.com/teensy/td_pulse.html

    Also...
  8. Replies
    20
    Views
    625

    I'm finally updating the back side of the Teensy...

    I'm finally updating the back side of the Teensy 4.1 card. We're getting ready to order another batch of cards this week, to start shipping probably mid-October.

    Here's the back side with pin 54...
  9. Localhost networking (IP number 127.0.0.1) is...

    Localhost networking (IP number 127.0.0.1) is needed for communication between these 2 programs. It should be set up by default on all Linux distros. Maybe you system's network config got changed...
  10. Replies
    60
    Views
    1,378

    Here is an attempt to fix the bug where upload...

    Here is an attempt to fix the bug where upload sometimes fails (if the pushbutton is pressed again) resulting in both LEDs blinking for several seconds.

    Extract this to {Arduino}/hardware/tools,...
  11. Replies
    60
    Views
    1,021

    Thanks. There's probably nothing that can be...

    Thanks. There's probably nothing that can be done to make I2C actually work over such a cable, but at least the Wire library should always return an error. It should never crash, no matter what...
  12. I really don't know which way is best, but I...

    I really don't know which way is best, but I would like to improve the C++ new situation for 1.56. Until today I didn't even know the compiler offered a -fcheck-new flag. Very interesting....
    ...
  13. Replies
    60
    Views
    1,021

    More serial monitor testing probably isn't...

    More serial monitor testing probably isn't worthwhile. I've already spent quite a lot of time on the 3 known issues in msg #38. They're not going to be fixed anytime soon. Unless any other...
  14. Replies
    60
    Views
    1,021

    It turned out to be a deadlock condition between...

    It turned out to be a deadlock condition between threads caused by code which attempts to manage buffers in a way to reduce the number of WIN32 system calls.

    Or just "Paul made a mistake while...
  15. Replies
    60
    Views
    1,021

    Difficult to say, as Arduino doesn't publish any...

    Difficult to say, as Arduino doesn't publish any copies of the IDE (for Windows) using a 64 bit JRE.

    If you wanted to experiment, you could try replacing C:\Program File (x86)\Arduino\java with a...
  16. Replies
    60
    Views
    1,021

    I only attempted to fix the "lockup" bug, where...

    I only attempted to fix the "lockup" bug, where the serial monitor would stall and no longer show any data Teensy transmits.


    I am aware of 3 other possible issues on Windows, all of which might...
  17. Replies
    60
    Views
    1,021

    Working on this problem today. Please give this...

    Working on this problem today. Please give this copy of teensy_serialmon.exe a try. It goes into {Arduino}/hardware/tools, replacing the copy that's already installed. The default {Arduino}...
  18. Yes, confirmed, this file is ok. It is an exact...

    Yes, confirmed, this file is ok. It is an exact match to the original copy created on my Linux machine.

    I build all of Teensy's Windows software by cross compiling from Linux. The files are them...
  19. Replies
    60
    Views
    1,021

    I rebooted that Macbook Air to Windows 10, and...

    I rebooted that Macbook Air to Windows 10, and sure enough the serial monitor stalls, usually with 10 minutes.
  20. Replies
    98
    Views
    7,019

    I'm not planning to change the software filenames...

    I'm not planning to change the software filenames or build process or website structure, at least not anytime soon.

    The reality we face today is a huge backlog of important software work that...
  21. Replies
    35
    Views
    5,403

    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...
  22. Replies
    60
    Views
    1,021

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

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

    25885
  23. Replies
    35
    Views
    992

    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...
  24. Replies
    35
    Views
    992

    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...
  25. 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...
  26. The same is often said of buffer overflow bugs...

    The same is often said of buffer overflow bugs with char array strings.
  27. 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...
  28. Replies
    60
    Views
    1,021

    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.
  29. Replies
    34
    Views
    2,848

    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.
    ...
  30. 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
  31. 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. ...
  32. Replies
    60
    Views
    1,378

    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?
  33. Replies
    60
    Views
    1,378

    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...
  34. Replies
    60
    Views
    1,378

    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...
  35. 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...
  36. 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...
  37. Replies
    60
    Views
    1,378

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

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

    25847
  38. I like it! :)

    I like it! :)
  39. Replies
    60
    Views
    1,378

    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...
  40. Replies
    60
    Views
    1,378

    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.
  41. Replies
    60
    Views
    1,378

    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...
  42. Replies
    60
    Views
    1,378

    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...
  43. Replies
    60
    Views
    1,378

    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.
  44. Replies
    60
    Views
    1,378

    Merged it just now.

    Merged it just now.
  45. Replies
    60
    Views
    1,378

    @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...
  46. Replies
    60
    Views
    1,378

    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...
  47. Replies
    1
    Views
    118

    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...
  48. Replies
    6
    Views
    294

    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...
  49. 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...
  50. 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"...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4