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. Replies
    25
    Views
    2,551

    I quickly tried running USB_Tester.ino on a...

    I quickly tried running USB_Tester.ino on a Teensy 4.1 rather than Teensy 3.6. So many things go wrong. This code was only tested on Teensy 3.6, specifically the hardware in the readme photo.

    To...
  2. Replies
    25
    Views
    2,551

    Ok, here's my attempt to offer a "solution". ...

    Ok, here's my attempt to offer a "solution".

    First, I set this up on my desk with a Teensy 3.6 to run the USB_Tester code and a MicroMod Teensy on Sparkfun's ML Carrier Board connected to the...
  3. OctoWS2811 uses DMA priority order. Probably not...

    OctoWS2811 uses DMA priority order. Probably not relevant to your situation, but you did ask and that is the 1 place I've definitely made use of the channel priority settings.




    While I can't...
  4. Replies
    3
    Views
    88

    The first program looks like it should work if...

    The first program looks like it should work if you just delete the SoftwareSerial stuff and connect the signals to the Serial1 RX1 and TX1 pins (digital pins 0 and 1).
  5. Glad it's working. It's a real shame those...

    Glad it's working. It's a real shame those charge-only cables aren't clearly labeled as not having data connection. It's by far the most common problem we see over and over.

    But the localhost...
  6. This soldering isn't good. The solder appears to...

    This soldering isn't good. The solder appears to have adhered to only the pins but not the PCB surface.

    25948

    Here's a quick sketch to try to show what's really happening.

    25949


    Some...
  7. This looks like there is no USB communication...

    This looks like there is no USB communication between Teensy and your Windows 10 machine.

    By far the most common problem is charge-only cables.
  8. 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...
  9. 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
    ...
  10. Replies
    60
    Views
    1,067

    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.
  11. 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...
  12. Replies
    60
    Views
    1,067

    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. ...
  13. Replies
    60
    Views
    1,067

    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...
  14. Replies
    20
    Views
    641

    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...
  15. Replies
    20
    Views
    641

    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...
  16. 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...
  17. Replies
    60
    Views
    1,423

    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,...
  18. Replies
    60
    Views
    1,067

    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...
  19. 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....
    ...
  20. Replies
    60
    Views
    1,067

    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...
  21. Replies
    60
    Views
    1,067

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

    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...
  23. Replies
    60
    Views
    1,067

    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...
  24. Replies
    60
    Views
    1,067

    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}...
  25. 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...
  26. Replies
    60
    Views
    1,067

    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.
  27. Replies
    98
    Views
    7,057

    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...
  28. Replies
    36
    Views
    5,436

    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...
  29. Replies
    60
    Views
    1,067

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

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

    25885
  30. Replies
    35
    Views
    1,045

    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...
  31. Replies
    35
    Views
    1,045

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

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

    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.
  36. Replies
    34
    Views
    2,869

    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.
    ...
  37. 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
  38. 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. ...
  39. Replies
    60
    Views
    1,423

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

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

    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...
  42. 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...
  43. 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...
  44. Replies
    60
    Views
    1,423

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

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

    25847
  45. I like it! :)

    I like it! :)
  46. Replies
    60
    Views
    1,423

    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...
  47. Replies
    60
    Views
    1,423

    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.
  48. Replies
    60
    Views
    1,423

    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...
  49. Replies
    60
    Views
    1,423

    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...
  50. Replies
    60
    Views
    1,423

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