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. 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...
  2. Replies
    60
    Views
    1,291

    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,...
  3. Replies
    50
    Views
    787

    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...
  4. 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....
    ...
  5. Replies
    50
    Views
    787

    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...
  6. Replies
    50
    Views
    787

    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...
  7. Replies
    50
    Views
    787

    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...
  8. Replies
    50
    Views
    787

    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...
  9. Replies
    50
    Views
    787

    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}...
  10. 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...
  11. Replies
    50
    Views
    787

    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.
  12. Replies
    98
    Views
    6,933

    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...
  13. Replies
    35
    Views
    5,380

    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...
  14. Replies
    50
    Views
    787

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

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

    25885
  15. Replies
    35
    Views
    897

    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...
  16. Replies
    35
    Views
    897

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

    The same is often said of buffer overflow bugs with char array strings.
  19. 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...
  20. Replies
    50
    Views
    787

    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.
  21. Replies
    34
    Views
    2,828

    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.
    ...
  22. 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
  23. 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. ...
  24. Replies
    60
    Views
    1,291

    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?
  25. Replies
    60
    Views
    1,291

    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...
  26. Replies
    60
    Views
    1,291

    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...
  27. 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...
  28. 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...
  29. Replies
    60
    Views
    1,291

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

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

    25847
  30. I like it! :)

    I like it! :)
  31. Replies
    60
    Views
    1,291

    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...
  32. Replies
    60
    Views
    1,291

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

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

    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...
  35. Replies
    60
    Views
    1,291

    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.
  36. Replies
    60
    Views
    1,291

    Merged it just now.

    Merged it just now.
  37. Replies
    60
    Views
    1,291

    @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...
  38. Replies
    60
    Views
    1,291

    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...
  39. Replies
    1
    Views
    109

    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...
  40. Replies
    6
    Views
    288

    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...
  41. 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...
  42. 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"...
  43. 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...
  44. Replies
    74
    Views
    2,548

    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...
  45. Replies
    74
    Views
    2,548

    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...
  46. Replies
    74
    Views
    2,548

    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...
  47. 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...
  48. Replies
    74
    Views
    2,548

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