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

  1. Replies
    8
    Views
    198

    I believe you should test without the Moxa...

    I believe you should test without the Moxa products. If the same error happens with both plugged into the same LAN, that is much easier to reproduce and investigate.

    If the error only happens...
  2. Which Teensy pins each configuration of input &...

    Which Teensy pins each configuration of input & output uses are also documented in the design tool right-side panel.
  3. The answer depends on so many unknowns. Nobody...

    The answer depends on so many unknowns. Nobody could possibly give you a definitive answer. The best anyone can do is help you figure out which things you need to know, or just make up some numbers...
  4. Replies
    2
    Views
    49

    Yup, PCM1808 is really simple. You can use...

    Yup, PCM1808 is really simple. You can use either I2S or I2S2 on Teensy 4.x. Just connect the 4 signals. MCLK is named SCKI on that chip. The other 3 have names the same as Teensy uses.
    ...
  5. That's not how unwanted ground loop currents...

    That's not how unwanted ground loop currents work. They change the observed signal by altering the ground reference. The signal could be absolutely perfect, but if you alter the ground voltage seen...
  6. Looks like this project isn't using USBHost at...

    Looks like this project isn't using USBHost at all.

    But yeah, improved USB host MIDI transmit was recently put into USBHost_t36 and it's in 1.54-beta7 (published yesterday).

    Part of that...
  7. Replies
    24
    Views
    414

    Pretty sure that's on me. I've never bothered to...

    Pretty sure that's on me. I've never bothered to put metadata beyond the bare minimum into the resource file. It only has the program's icon and an XML file that prevents the "This program might...
  8. Replies
    24
    Views
    414

    Yeah, this beta was prompted by changes to the...

    Yeah, this beta was prompted by changes to the builds on all 3 operating systems.

    On Windows, we were forced to get a new code signing cert. They rubber stamp reissue the old one if you renew...
  9. Replies
    24
    Views
    414

    Two questions for everyone using Windows 1: Is...

    Two questions for everyone using Windows

    1: Is Teensy Loader chewing up CPU while idle, like it was on Linux?

    2: How difficult is the download & install (before Microsoft's servers re-learn...
  10. I2S slave mode causes the entire audio library to...

    I2S slave mode causes the entire audio library to run at the sample rate dictated by the incoming LRCLK signal. Hopefully the fundamental reason why 2 ports running in slave mode can't work is...
  11. Replies
    157
    Views
    17,200

    It should work, but hasn't been tested.

    It should work, but hasn't been tested.
  12. Replies
    76
    Views
    1,440

    Maybe I should package up 1.54-beta7 today, or...

    Maybe I should package up 1.54-beta7 today, or soon-ish?

    Might also be a good time to test Windows installs signed with the new cert (PJRC was forced to renew a couple weeks ago).
  13. Replies
    76
    Views
    1,440

    You can also click the button to skip the udev...

    You can also click the button to skip the udev rules check.
  14. Replies
    13
    Views
    825

    I'll admit, I've sometimes wondered if the 512...

    I'll admit, I've sometimes wondered if the 512 tap FIR filter was really a good idea. I wrote the code more as a challenge to see if Teensy could implement such an extreme filter rather than a...
  15. Replies
    10
    Views
    9,175

    To quickly answer your 3 questions... Yes....

    To quickly answer your 3 questions...



    Yes.



    For Teensy 3.2, in mk20dx256.ld on line 49:
  16. Arduino Uno is woefully underpowered, only 8 bits...

    Arduino Uno is woefully underpowered, only 8 bits and only 16 MHz. Uno also lacks DMA to efficiently move data between memory and audio hardware. It has no hope of running the audio library code.
    ...
  17. Replies
    76
    Views
    1,440

    Feels good to finally get these many lingering...

    Feels good to finally get these many lingering Linux issues fixed. :)
  18. Replies
    76
    Views
    1,440

    Probably not worthwhile. I tested 32 bits on...

    Probably not worthwhile. I tested 32 bits on Raspberry Pi 4.

    Unless Kurt turns up any more issues, I'm going to cross ARM64 troubles off my bug list.
  19. Replies
    76
    Views
    1,440

    Did you run 32 bits or 64 bits on your Raspberry...

    Did you run 32 bits or 64 bits on your Raspberry Pi? So far, I've only tested 32 bits.

    Yup, added the hidraw rule. The usb subsystem rule also applies. But it looks like the more complex...
  20. Replies
    76
    Views
    1,440

    Today I went down the deep rabbit hole of Linux...

    Today I went down the deep rabbit hole of Linux udev rules.

    To make serial raw mode configure work well on Raspberry Pi, I had to rename the file from 49-teensy.rules to 00-teensy.rules.
    ...
  21. Replies
    76
    Views
    1,440

    Well, after much removing and restoring files, I...

    Well, after much removing and restoring files, I finally tracked it down to this line (meant for some Arduino.org boards):



    SUBSYSTEMS=="usb", ATTRS{idVendor}=="05e3", ATTRS{idProduct}=="*",...
  22. Arduino kinda does support UTF8. If you type or...

    Arduino kinda does support UTF8. If you type or copy non-latin characters into strings, the Arduino IDE does end up putting UTF8 encoded strings into memory. And if you transmit UTF8 encoded data...
  23. Replies
    76
    Views
    1,440

    Yes, I agree. But so far, I can't reproduce...

    Yes, I agree.

    But so far, I can't reproduce the problem on my Linux desktop.

    23786

    The /dev/hidraw devices are being created with open permissions.

    23787
  24. Replies
    88
    Views
    3,168

    This new size program parses the binary .elf file...

    This new size program parses the binary .elf file directly, so we're not depending on the specifics of a human readable text format. ELF 32 bit is a very stable binary format.

    I tried to keep the...
  25. Replies
    88
    Views
    3,168

    Yes, a check for not enough RAM1 left for a...

    Yes, a check for not enough RAM1 left for a reasonable size stack is a good idea. If you feel like doing this, please add it and send a pull request.

    To show an error in red text, just print to...
  26. Replies
    88
    Views
    3,168

    Yup, a harmless warning. Fixed on github. ...

    Yup, a harmless warning. Fixed on github.

    https://github.com/PaulStoffregen/teensy_size/commit/492d4b76d8844a770e06ac48a7cf8574b27bfdb5
  27. Replies
    88
    Views
    3,168

    I changed teensy_size to print to stderr and...

    I changed teensy_size to print to stderr and prefix each line with "teensy_size:". This causes the size report to be visible in both verbose and non-verbose mode. But Arduino shows it in alarming...
  28. Replies
    88
    Views
    3,168

    I might just patch the Java code to run it, if...

    I might just patch the Java code to run it, if builder doesn't give a way to have its output seen in non-verbose mode.
  29. Replies
    88
    Views
    3,168

    Minor problem... looks like arduino builder...

    Minor problem... looks like arduino builder discards all the stdout printing in non-verbose mode. :(
  30. Replies
    88
    Views
    3,168

    I'm going to edit the linker scripts. Now that...

    I'm going to edit the linker scripts. Now that we can print more detailed info, having too much stuff lumped together in the .text.progmem segment means we get inaccurate info.

    If you grab newer...
  31. Replies
    88
    Views
    3,168

    Plan is not using builder's regex stuff. So...

    Plan is not using builder's regex stuff.

    So add this to platform.txt



    recipe.hooks.postbuild.4.pattern="{compiler.path}teensy_size" "{build.path}/{build.project_name}.elf"


    and delete...
  32. Replies
    88
    Views
    3,168

    The code on github right now prints this, for the...

    The code on github right now prints this, for the LadderFilter example compiled for Teensy 4.1.



    FLASH: code:59452, data:6152, headers:7212 free for files:8053648
    RAM1: code:65536,...
  33. Replies
    88
    Views
    3,168

    I'm kinda hoping for a replacement. Committed...

    I'm kinda hoping for a replacement. Committed some code on github towards that goal.
  34. Replies
    13
    Views
    825

    Is anyone using a different PDM chip than...

    Is anyone using a different PDM chip than MP34DT01-M or MP34DT05-A?
  35. Replies
    13
    Views
    825

    I'd like to ask everyone who wants me to work on...

    I'd like to ask everyone who wants me to work on this a question.

    Which PDM microphone or chip are you using?


    (hint: I'm more motivated by seeing photos...)
  36. To learn everything in such detail is a huge...

    To learn everything in such detail is a huge undertaking. It could reasonably be expected to take years to cover it all in a "deep complete basis".

    So with that in mind, you could think of...
  37. Replies
    88
    Views
    3,168

    Here is the elf parsing code. ...

    Here is the elf parsing code.

    https://github.com/PaulStoffregen/teensy_size

    Want the final result to be compact in the non-verbose mode, probably 1 line per memory region shown on the product...
  38. Should be possible. You need to edit usb_desc.h...

    Should be possible. You need to edit usb_desc.h inside {Arduino}/hardware/teensy/avr/cores/teensy4 (or teensy3 - there are 2 copies of this file). See the comments in the top of that file for...
  39. Replies
    11
    Views
    385

    Would you like me to investigate? I need a...

    Would you like me to investigate? I need a complete program I can copy into Arduino, even if the rest seems "trivial".
  40. I'm not sure what to do with PlatformIO, but...

    I'm not sure what to do with PlatformIO, but here's a link to the Servo library Teensyduino uses.

    https://github.com/PaulStoffregen/Servo

    Maybe you can somehow import this to PlatformIO?
  41. Replies
    76
    Views
    1,440

    I've built the ARM 32 & 64 bit versions. Here...

    I've built the ARM 32 & 64 bit versions. Here are links to all 4 Linux installers.


    ARM 32 bit
    https://www.pjrc.com/teensy/td_154-beta6c/TeensyduinoInstall.linuxarm

    ARM 64 bit...
  42. Replies
    76
    Views
    1,440

    Don't waste too much time on the old version on...

    Don't waste too much time on the old version on Raspberry Pi. I'm updating the ARM64 build to GTK3.
  43. Replies
    35
    Views
    1,096

    Even if Princeton discontinues the genuine...

    Even if Princeton discontinues the genuine PT8211, seems pretty likely the Chinese counterfeits will remain.
  44. Replies
    76
    Views
    1,440

    Try the installer on msg #36...

    Try the installer on msg #36.

    Should be fine to install this "on top of" the 1.51 install you already have. Or extract a fresh copy of Arduino and install into it, if you want to have both copies...
  45. Replies
    76
    Views
    1,440

    Kurt, can you remind me about the problems you...

    Kurt, can you remind me about the problems you saw with ARM64 Ubuntu running on Raspberry Pi?
  46. Replies
    76
    Views
    1,440

    Ok, here a first attempt at building Teensy...

    Ok, here a first attempt at building Teensy Loader with GTK3.

    https://www.pjrc.com/teensy/td_154-beta6c/TeensyduinoInstall.linux64
    ...
  47. Replies
    157
    Views
    17,200

    Don't choose postal air mail to China. It takes...

    Don't choose postal air mail to China. It takes forever and often packages just disappear in the void. Click the expensive UPS option.

    Robin can sometimes substitute DHL for UPS if it's less...
  48. Replies
    76
    Views
    1,440

    I still haven't figured out exactly what's...

    I still haven't figured out exactly what's different between 20.04.1 (fast after updates) versus 20.04.2 (slow startup even after updates).

    But the "big picture" view appears to be that support...
  49. Replies
    76
    Views
    1,440

    I'm continuing to work on this today. I want to...

    I'm continuing to work on this today. I want to better understand why this happens and what's truly different between 20.04.1 and 20.04.2 before I decide on the best (or least painful) workaround.
    ...
  50. Replies
    76
    Views
    1,440

    After some rest, I restarted this testing with a...

    After some rest, I restarted this testing with a more methodical approach. Looks like Ubuntu has published 4 different .iso images:

    20.04
    20.04.1
    20.04.2
    20.04.2.0

    This time I set up 4 VMs...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4