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. Sure does look like a bug in Windows, maybe even...

    Sure does look like a bug in Windows, maybe even a buffer overflow, judging by the sudden appearance of stuff about PCI bus devices in what looks like 16 bit wchar format that Windows uses...
  2. Replies
    51
    Views
    2,273

    Thanks Theremingenieur, hpyle, grahamguitarman,...

    Thanks Theremingenieur, hpyle, grahamguitarman, jwx49 for testing. It's a huge help.

    If I could ask you one more question... do you use the touch bar? I don't own any Macbooks new enough to have...
  3. The urgent question right now is whether the USB...

    The urgent question right now is whether the USB code on the Teensy side is working properly. With the recent tests on issue #401, and many tests I did before this week's MacOS Catalina work, and...
  4. One other variable to consider is your Mac's...

    One other variable to consider is your Mac's power source. Apple's CDC driver uses a *lot* of CPU time (for reasons unknown, Windows & Linux drivers don't do this) when receiving data at high speed....
  5. Red LED blinking (slowly) means something is...

    Red LED blinking (slowly) means something is wrong with the USB cable or port. It only does the slow blink when you're in bootloader mode, but your PC hasn't performed any USB communication, not...
  6. Simply including those other libs will not make...

    Simply including those other libs will not make Adafruit_NeoMatrix play nice. Adafruit designed their library to block interrupts.

    To make this work smoothly, you need to completely remove all...
  7. Windows CMD is slow, much slower than the Arduino...

    Windows CMD is slow, much slower than the Arduino Serial Monitor.

    Usually when I run this, it will show an impossibly high lines/sec speed, like 600000 to 750000. But just by watching which digit...
  8. While working on the teensy_serialmon.exe that's...

    While working on the teensy_serialmon.exe that's in 1.49-beta1, I did quite a bit of testing running it from a CMD window. It expects a single input on the command line, which is the port name shown...
  9. Why would you want this? What's the practical...

    Why would you want this? What's the practical purpose, that's worth risking having too many cooks in the kitchen?

    If you want a big block of 100K for a buffer, it's so very simple to just create...
  10. Technically, the linker only creates symbols used...

    Technically, the linker only creates symbols used by startup.c. Compiling & linking your program results in a HEX file with data that goes only into the flash memory. All configuration of how the...
  11. Yes, the documented memory layout is based on the...

    Yes, the documented memory layout is based on the defaults you get from startup.c and imxrt1062.ld.

    But to some extent, it's also based on what the hardware provides. No matter what you do in...
  12. Don't update to Catalina. But DO run the...

    Don't update to Catalina. But DO run the 1.49-beta1 for Catalina on your Mac running Mojave. Also run the normal 1.49-beta1, where you install it into a copy of Arduino 1.8.10.

    Those 2 are...
  13. Have you tried with 1.49-beta1? Either the...

    Have you tried with 1.49-beta1? Either the normal way or this build for Catalina? (which should work on Mojave)

    The USB device code has some very substantial improvements in 1.49-beta1. The raw...
  14. You might try running teensy_serialmon in...

    You might try running teensy_serialmon in Terminal, without Arduino. To do this, first make a note of the USB number shown in the lower right corner of the Arduino window.

    Then open Terminal and...
  15. I'm going to get back to USB stuff late tonight...

    I'm going to get back to USB stuff late tonight or early tomorrow, now that the MacOS Catalina stuff is at a good beta testing stage.
  16. I've added a link to the AltSoftSerial readme...

    I've added a link to the AltSoftSerial readme file.

    https://github.com/PaulStoffregen/AltSoftSerial/commit/c9faaee57a0dce1509cb5a0f48aebd83f215983a

    Hopefully that will help people find this if...
  17. These libs won't be shown in Arduino's "Manage...

    These libs won't be shown in Arduino's "Manage Libraries", because they're written directly into the Teensy platform folder.

    You also won't see them in the File > Examples menu when any non-Teensy...
  18. Replies
    51
    Views
    2,273

    Here is the first completely 100% signed and...

    Here is the first completely 100% signed and hardened runtime test. This copy is Apple notarized, so you should see only the "downloaded from internet" warning, but no warnings that Apple hasn't...
  19. Replies
    36
    Views
    346

    Why are you again asking for the process to read...

    Why are you again asking for the process to read something on the host, when you have clearly said you're running software you don't control on the host?
  20. Replies
    51
    Views
    2,273

    Yes. In fact, I probably will have to do that. ...

    Yes. In fact, I probably will have to do that. This build without dark mode probably can not pass all the notarization requirements which go into effect in January 2020.

    But while I'm still...
  21. Replies
    51
    Views
    2,273

    I've managed to make a signed copy of...

    I've managed to make a signed copy of Arduino+Teensyduino.

    EDIT: link removed. Please use the newer code on msg #43.

    This is using Apple's hardened runtime, with 5 entitlements Java 8 needs. ...
  22. Replies
    51
    Views
    2,273

    Yes, that's right. When a program lacks the...

    Yes, that's right. When a program lacks the extra signature from Apple proving it's been through their notarization check, MacOS tries to connect to servers at Apple to look up the software. I...
  23. Replies
    13
    Views
    169

    No, that's definitely not normal. If you have...

    No, that's definitely not normal. If you have 2.2K pullup resistors (as mentioned in msg #1), both SDA and SCL should measure 3.3V.
  24. To get started, install Arduino & Teensyduino, if...

    To get started, install Arduino & Teensyduino, if you haven't already.

    Then in Arduino first select Teensy 3.5 in Tools > Boards. This is important, because the other menus update depending on...
  25. Replies
    51
    Views
    2,273

    Wow, after a ton of jumping through Apple's...

    Wow, after a ton of jumping through Apple's hoops, including $99 paid, I believe I may have finally got Teensy Loader notarized.

    Please download this copy and tell me if Catalina on your Mac is...
  26. Replies
    51
    Views
    2,273

    Just a quick update, to let you know I'm working...

    Just a quick update, to let you know I'm working on proper MacOS Catalina support, including Apple notarization. I hope to have a beta test for you to try later this week. Please keep following...
  27. Replies
    10
    Views
    571

    Right now I'm working on support for MacOS...

    Right now I'm working on support for MacOS Catalina. If there problems with the new USB serial, really hoping for test cases.

    Will look at the USB stuff and merging things in a couple days, and...
  28. @noisymime - Please give version 1.49-beta1...

    @noisymime - Please give version 1.49-beta1 a try. Does is fully solve this problem for you?
  29. Also in the new code is optimized...

    Also in the new code is optimized Serial.readBytes().



    void setup() {
    Serial.setTimeout(0);
    }

    void loop() {
    char buf[2048];
  30. Yes, I also saw some of this while testing. Even...

    Yes, I also saw some of this while testing. Even though we're running at 600 MHz, when the host has a large amount of data all buffered as a single transfer (all done by hardware), the 480 Mbit...
  31. This message is trying to tell you something... ...

    This message is trying to tell you something...



    Arduino is using a copy you installed in Documents\Arduino\Pipe\libraries (which is probably an old version from before Teensy 4.0 existed), and...
  32. I believe I found the bug that was messing up...

    I believe I found the bug that was messing up multiple USB packets/transfers completed in the same interrupt. Hopefully this will fix it for good.
    ...
  33. Usually you can get away with omitting the...

    Usually you can get away with omitting the current limit chip and big capacitor if...

    1: Your USB device uses only a moderate amount of power, relative to whatever is powering Teensy. Mainly this...
  34. Thanks for testing. But it is still very much a...

    Thanks for testing. But it is still very much a work in progress. I can tell you it will fail if you transmit a single large write of more than 1024 bytes, followed by 2 small writes. That's the...
  35. Replies
    102
    Views
    5,720

    No, it will be called Teensy 4.{something}. ...

    No, it will be called Teensy 4.{something}.

    Just like Teensy 3.2 -> 3.6, even through it's a large step up in clock speed and comes with many new peripherals, it's still the same processor family...
  36. Replies
    19
    Views
    490

    Ok, I'm considering this problem solved (and no...

    Ok, I'm considering this problem solved (and no longer following this thread). Will probably close issue #401 on github soon.

    As of today, the USB serial receive code is still far from optimal. ...
  37. The latest code on github is now using 512 byte...

    The latest code on github is now using 512 byte packets. I did test with a 511 character (plus newline) string and I did watch with my USB protocol analyzer to check it was all in 1 packet, both...
  38. That would break a huge amount of code which...

    That would break a huge amount of code which depends on Serial to work properly without losing incoming data while the sketch/program is busy doing other work!




    In a matter of days I'm...
  39. Replies
    102
    Views
    5,720

    PJRC is planning to make a 1062-based board in...

    PJRC is planning to make a 1062-based board in the Teensy 3.6 form factor. Time frame is "early 2020". Please discuss 1062-in-T36-form-factor on this thread:
    ...
  40. Tested again using Windows 10. Can't reproduce...

    Tested again using Windows 10. Can't reproduce the problem with latest code.

    18297
  41. No, of course not. That was transmit stuff...

    No, of course not. That was transmit stuff (despite how it was reported), this is receive. I will work on this one soon...
  42. Looking at this one now. If anyone remembers...

    Looking at this one now. If anyone remembers back to the lengthy T4 beta test, for a long time we had only USB serial transmit. I wrote pretty simple receive code (so it would be reliable and...
  43. I've committed a fix on github. I was able to...

    I've committed a fix on github. I was able to reproduce the problem with the latest code using a 512 byte string.
    ...
  44. Sorry about the very long delay on this urgent...

    Sorry about the very long delay on this urgent problem.

    What I've learned so far is this problem which seems to be a USB receiving bug is actually happening on the transmit side. Teensy is...
  45. I have an older Macbook Air, 11 inch mid-2012,...

    I have an older Macbook Air, 11 inch mid-2012, model "MacBookAir5,1". It has MacOS 10.12.2. The software is Arduino 1.8.9 and Teensyduino 1.47.

    I uploaded the LED blink example a couple dozen...
  46. I've never seen it happen with my Macbook Air,...

    I've never seen it happen with my Macbook Air, which is early 2015, model "MacBookAir,7,2".
  47. Replies
    13
    Views
    323

    Pretty much all semiconductor companies specify...

    Pretty much all semiconductor companies specify "A weighted" signal to noise ratio. So an ADC with 96 dB SNR will have lots of random changes in its 16th bit, and even a good amount in the 15th bit,...
  48. Double check these 2 lines? You're using...

    Double check these 2 lines?



    You're using either pin 2 (bit 4 in GPIO9) or pin 5 (bit 8 in GPIO9), but this manipulates bit 3.

    Maybe you meant this?
  49. Could you be more specific? You've only told us...

    Could you be more specific? You've only told us it does not work, but no real info about what actually goes wrong?

    Perhaps your PC's bios doesn't recognize see Teensy as any sort of keyboard? ...
  50. Replies
    5
    Views
    106

    Where did you buy this Teensy 3.1? PJRC...

    Where did you buy this Teensy 3.1?

    PJRC discontinued Teensy 3.1 about 5 years ago.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4