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. This one, right? ...

    This one, right?

    https://www.invensense.com/download-pdf/ics-40300-datasheet/

    Looks like it should work. Can you show us photos of how you've actually connected everything? And the exact code...
  2. That confirms you *do* have a libraries folder in...

    That confirms you *do* have a libraries folder in Documents.

    Look again, it's in Documents/Arduino/libraries/Audio.

    You need to move or delete that library, because it's interfering with...
  3. I do not know what's wrong here. But I do have...

    I do not know what's wrong here. But I do have another idea that might help give more info.

    Click File > Preferences and turn on "Show verbose output during compilation". Then copy this into the...
  4. Any chance you have a conflicting library in your...

    Any chance you have a conflicting library in your Documents/libraries folder? Anything you install there always overrides all the other locations.
  5. Use the Keypad library. ...

    Use the Keypad library.

    https://www.pjrc.com/teensy/td_libs_Keypad.html
  6. Really good to know it's working well. I've...

    Really good to know it's working well. I've already started on the other USB types with this receive code. Will probably start pushing code to github later today.

    Looks like 8 buffers will be a...
  7. Replies
    59
    Views
    2,502

    Maybe try editing Contents/Info.plist. Look for...

    Maybe try editing Contents/Info.plist. Look for these lines:



    <key>LSMinimumSystemVersion</key>
    <string>10.8</string>

    Arduino 1.8.5 definitely does work on 10.7. It has an older Java...
  8. Replies
    4
    Views
    70

    I replied just now on your main thread. There...

    I replied just now on your main thread.

    There are 2 separate issues here... how tech stuff works, and how communicating with humans works. This forum is about DIY electonics. We all know...
  9. I'm not going to get directly involved in your...

    I'm not going to get directly involved in your project, but I might add another USB MIDI example for use of rotary encoders.

    First, I would like to ask, have you run *any* of the USB MIDI examples...
  10. Replies
    4
    Views
    70

    You've created at least 4 threads, which appear...

    You've created at least 4 threads, which appear to be all about the same thing. This one looks like the main conversation.
    ...
  11. Please do not create duplicate threads. Continue...

    Please do not create duplicate threads. Continue this here:

    https://forum.pjrc.com/threads/58564-Teensy-3-2-USB-MIDI-Controller-Coding-Assistance-*Willing-to-Pay*
  12. Replies
    1
    Views
    26

    Please do not create duplicate threads. ...

    Please do not create duplicate threads.

    https://forum.pjrc.com/threads/58632-Teensy-3-5-Coding-Problem
  13. Difficult to say when I can't run it here. This...

    Difficult to say when I can't run it here. This USB code is pretty new, so it's quite possible there may be undiscovered bugs.

    If you can give me a test case to run here, I can try investigating....
  14. If your program spends time doing work to...

    If your program spends time doing work to "consume" the incoming data, like a blocking write to SPI for 4-wire addressable LEDs, those buffers will allow USB to receive the next incoming data while...
  15. Answer here:...

    Answer here:
    https://forum.pjrc.com/threads/57132-Bootloader-Chip-For-Teensy-4-0?p=221811&viewfull=1#post221811
  16. Thanks for testing. Really good to see the new...

    Thanks for testing. Really good to see the new USB code is running faster!

    If you're feeling like experimenting, any chance you might try running this with different numbers of buffers inside...
  17. Everything you've described sounds like Teensy...

    Everything you've described sounds like Teensy 4.0 is working perfectly, but you're programming a HEX file onto it which does nothing.

    On this page, you can download known-good HEX files. Click...
  18. Replies
    59
    Views
    2,502

    Definitely use 1.49-beta1 from msg #43...

    Definitely use 1.49-beta1 from msg #43.

    Unless any Mac-specific problems turn up or Arduino makes a non-beta release, all remaining work planned for 1.49 is for the code running on Teensy. The...
  19. 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...
  20. Replies
    59
    Views
    2,502

    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...
  21. 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...
  22. 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....
  23. 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...
  24. 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...
  25. 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...
  26. 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...
  27. 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...
  28. 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...
  29. 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...
  30. 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...
  31. 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...
  32. 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...
  33. 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.
  34. 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...
  35. 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...
  36. Replies
    59
    Views
    2,502

    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...
  37. Replies
    36
    Views
    355

    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?
  38. Replies
    59
    Views
    2,502

    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...
  39. Replies
    59
    Views
    2,502

    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. ...
  40. Replies
    59
    Views
    2,502

    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...
  41. Replies
    13
    Views
    179

    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.
  42. 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...
  43. Replies
    59
    Views
    2,502

    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...
  44. Replies
    59
    Views
    2,502

    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...
  45. Replies
    11
    Views
    693

    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...
  46. @noisymime - Please give version 1.49-beta1...

    @noisymime - Please give version 1.49-beta1 a try. Does is fully solve this problem for you?
  47. 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];
  48. 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...
  49. 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...
  50. 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.
    ...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4