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

  1. First, install Teensyduino 1.57. Version 1.56...

    First, install Teensyduino 1.57. Version 1.56 and earlier had MSQ output, which is basically PWM but with extra noise shaping stuff. Versions 1.57 adds PWM output for Teensy 4. But you still might...
  2. Maybe run commands to uninstall and reinstall the...

    Maybe run commands to uninstall and reinstall the teensy board package? Maybe if run with the verbose flag, info about *why* arduino_cli didn't install teensy-discovery might be shown?
  3. This is expected behavior. The 15 sec button...

    This is expected behavior. The 15 sec button press only wipes the flash memory on Teensy 3.5 & 3.6.

    Teensy 4.0 & 4.1 added the "restore program" which is written into the flash after fully erase....
  4. Any chance you can trim the code down to...

    Any chance you can trim the code down to something small enough to share here in a forum message, but still reproduce the crash?
  5. Replies
    7
    Views
    1,034

    I'm not aware of any production flaws or...

    I'm not aware of any production flaws or problems. I can tell you every board was tested with a sine wave diving a 10 ohm resistor in the test fixture, though the test lasts only about 1 second.
    ...
  6. Replies
    85
    Views
    6,268

    SPI protocol lacks multi-master arbitration or...

    SPI protocol lacks multi-master arbitration or other sharing mechanisms. How do you imagine 2 masters could possibly work on any SPI bus?
  7. I sent you an email. We have several with...

    I sent you an email. We have several with cosmetic flaws, mostly just stray solder paste on the through-hole pads. Will be happy to sell you these at the normal price. PJRC doesn't price gouge!
  8. The USB controller operates with DMA accessing...

    The USB controller operates with DMA accessing linked lists of structs in memory to define the properties of all the USB endpoints and manage all the pending data transfers. If you really want to...
  9. Replies
    5
    Views
    101

    Maybe look for signs of damage to the wires...

    Maybe look for signs of damage to the wires between the 2 chips. Since pressing the button is at least causing the bootloader chip to reboot the main processor, there's some chance the parts might...
  10. Replies
    5
    Views
    101

    I don't know what's causing the problem, but I...

    I don't know what's causing the problem, but I can answer this:



    An ISR, or just ordinary code which calls noInterrupts() and never turns interrupts back on, can interfere with automatic...
  11. Replies
    36
    Views
    1,243

    Sticky: Maybe the IDE only writes changes the...

    Maybe the IDE only writes changes the preferences.txt when you quit?
  12. Replies
    36
    Views
    1,243

    Sticky: The teensy_secure utility looks for your key.pem...

    The teensy_secure utility looks for your key.pem file in 1 specific place. The full path it will search is shown in the Tools > Teensy 4 Security window.

    On Windows, that location comes from...
  13. Replies
    9
    Views
    106

    You could just edit the code to change...

    You could just edit the code to change MAX_AUDIO_MEMORY if you *really* wanted to use more.
  14. Replies
    9
    Views
    106

    Each audio block gives 2.9ms delay, since the...

    Each audio block gives 2.9ms delay, since the block size is 128 samples.
  15. Looks like it should work.

    Looks like it should work.
  16. 2 blinks means it can't communicate with the...

    2 blinks means it can't communicate with the IMXRT chip, the JTAG port isn't responding.

    Documentation on the blink code is on the page for that chip. Scroll down to "Troubleshooting & Diagnostic...
  17. However, as a blind guess, this might be your...

    However, as a blind guess, this might be your problem:



    Using pinMode() puts the pin into GPIO mode. If done before analogWrite(), as your message seems to say, it has no effect because...
  18. Pins 0 and 1 are not used by USB serial. That's...

    Pins 0 and 1 are not used by USB serial. That's info which applies to boards like Arduino Uno, but not relevant to any Teensy.

    Please show a complete program which can be copied into Arduino and...
  19. Yes, a buffer overflow definitely could "crash"...

    Yes, a buffer overflow definitely could "crash" that way. But better to think "get stuck" rather than "crash".

    For example, you could overwrite variables in RAM used by USB Serial, or hardware...
  20. Does the Program signal have 3.3V when you're not...

    Does the Program signal have 3.3V when you're not pressing the pushbutton?
  21. Replies
    27
    Views
    598

    Haha, that's pretty much the exact opposite of...

    Haha, that's pretty much the exact opposite of how I've used the 2 that live on my workbench. I almost never bother to screw them down tight (or at all) and I move them between various carrier...
  22. Replies
    27
    Views
    598

    Ok, ran the test again on both boards, this time...

    Ok, ran the test again on both boards, this time using the screw to hold them done.

    Exactly the same result, 1s on pin 22 & 28 and 0s on all other pins.

    29093
  23. Replies
    27
    Views
    598

    I tested with the card tilted, exactly as you see...

    I tested with the card tilted, exactly as you see in the photo. I too was lazy about using a screwdriver to secure it. ;)
  24. Replies
    27
    Views
    598

    I wired all the ATP pins to GND and ran it here...

    I wired all the ATP pins to GND and ran it here on both MicroMod boards on my workbench.

    29092



    Pins set to input
    Pin 0 state: 0
    Pin 1 state: 0
    Pin 2 state: 0
  25. Does the problem change if you remove the diode...

    Does the problem change if you remove the diode and connect the power with just a wire? Or maybe use a DC voltmeter to check the actual power supply voltage arriving at the VIN pin?

    An issue was...
  26. Replies
    27
    Views
    598

    I keep a couple MicroMod boards on my workbench...

    I keep a couple MicroMod boards on my workbench for software testing. I'm not seen any pins failing. But most of the tests I usually run are meant to test the more complex libraries like Audio,...
  27. Replies
    27
    Views
    598

    I can't speak for Sparkfun. I can only comment...

    I can't speak for Sparkfun. I can only comment on PJRC's role. And I suppose I could dabble in some guesswork...

    I can tell you every MicroMod Teensy is tested on a test fixture PJRC made for...
  28. You can use extmem_malloc() to dynamically...

    You can use extmem_malloc() to dynamically allocate the PSRAM which isn't already consumed by EXTMEM variables.
  29. The raw speed of internal RAM, either tightly...

    The raw speed of internal RAM, either tightly coupled RAM1 or normal RAM2, isn't going to be the limiting factor for this sort of application. Plenty of other aspects of how your code is written...
  30. Many people probably won't touch IDE 2 until...

    Many people probably won't touch IDE 2 until Arduino calls it officially released.
  31. I've been considering bringing recent Arduino CLI...

    I've been considering bringing recent Arduino CLI into the Teensyduino installer for Arduino 1.8.19, so we can make use of the improved caching features.
  32. Replies
    3
    Views
    97

    In Arduino, click Tools > CPU Speed. Changes...

    In Arduino, click Tools > CPU Speed. Changes take effect next time you upload.
  33. Replies
    3
    Views
    179

    As a first very simple test to check if slower...

    As a first very simple test to check if slower speed helps, try setting Tools > CPU Speed to only 24 MHz and upload again.
  34. Replies
    227
    Views
    42,511

    Looks like they carry Teensy 4.1, getting it from...

    Looks like they carry Teensy 4.1, getting it from Sparkfun.

    https://electronics.semaf.at/navi.php?a=2488&lang=eng

    Sparkfun should soon have them back in stock. Maybe in a week or two, ask...
  35. I'm catching up to messages I've missed over the...

    I'm catching up to messages I've missed over the last few days. Looks like msg #23 to #30 on this thread about about different case than the msg #1 - #22. Is everything after msg #23 specifically...
  36. Replies
    227
    Views
    42,511

    I believe you should just get a Teensy for audio...

    I believe you should just get a Teensy for audio and USB MIDI, and save the Pico for other less intensive projects.
  37. It really should work. Can you show us photos...

    It really should work.

    Can you show us photos of your wiring? Maybe there an issue we'll be able to see.
  38. Replies
    36
    Views
    1,243

    Sticky: Thanks. Made some edits, updating the page now....

    Thanks. Made some edits, updating the page now.

    Yeah, it's meant to be a quick overview, even though it turned out over 1800 words long! I had meant to write quite a bit more about the 3 audio...
  39. Nobody really knows. So far, at least as far as...

    Nobody really knows. So far, at least as far as I know, nobody has built such a board and confirmed whether it works.

    NXP documents only a single JTAG ID on page 188 of the reference manual. So...
  40. Replies
    36
    Views
    1,243

    Sticky: Opps, the correct link is ...

    Opps, the correct link is

    https://www.pjrc.com/teensyduino-1-57-released/
  41. Replies
    36
    Views
    1,243

    Sticky: Here is a blog article which tries to explain the...

    Here is a blog article which tries to explain the major changes in 1.57.

    https://www.pjrc.com/teensyduino-1-57-released/

    Hopefully I got everything important mentioned? And everyone? Did I...
  42. Replies
    6
    Views
    174

    Can confirm, F1 is a PTC "self resetting fuse",...

    Can confirm, F1 is a PTC "self resetting fuse", which is really only a resistor that increases resistance with high temperature when large current flows.
  43. Replies
    2
    Views
    117

    Arduino's forum would be a better place to ask...

    Arduino's forum would be a better place to ask for help specific to Arduino Portenta H7.

    https://forum.arduino.cc/

    This forum is about Teensy, not Arduino Portenta.
  44. SoftwareSerial won't work. FlexSerial from...

    SoftwareSerial won't work. FlexSerial from Kurt's FlexIO_t4 library is probably your best chance.

    I really don't know if FlexSerial supports 6 ports operating full duplex simultaneously, but this...
  45. Replies
    76
    Views
    5,447

    If you read EEPROM.h, you'll see it just calls...

    If you read EEPROM.h, you'll see it just calls core library functions like eeprom_read_byte(), eeprom_write_block(), etc. These functions are the eeprom API defined by AVR libc, since Teensy...
  46. FWIW, a similar problem sometimes happens on...

    FWIW, a similar problem sometimes happens on Linux, but it's pretty easy to diagnose by the kernel syslog messages. It's almost always a scenario where someone uses an unusual Linux distro designed...
  47. Ah, I missed the screenshot earlier. Pretty clear...

    Ah, I missed the screenshot earlier. Pretty clear Windows isn't loading its driver. Why is a mystery.

    Typically Windows drivers have 3 parts, the actual device driver code which often has .SYS...
  48. Oh how I wish I knew why Windows sometimes does...

    Oh how I wish I knew why Windows sometimes does this, and of course how to fix it. But I don't. Well, other than "fix" by simply using another computer which isn't messed up.

    Questions of "what"...
  49. Replies
    4
    Views
    134

    It certainly should work. Schematic looks ok. ...

    It certainly should work. Schematic looks ok.

    Same basic advise as msg #19 on that old thread, start by measuring the 3 clocks at the CS4344 chip. If you only have a multimeter, just measure DC...
  50. Replies
    36
    Views
    1,243

    Sticky: I'm having trouble parsing this. There's a...

    I'm having trouble parsing this. There's a problem with uploading to lockable boards associated with something connected to Serial6 pins? Sounds like another Teensy is connected, but I'm just not...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4