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

  1. Not seen on this list things tried is running the...

    Not seen on this list things tried is running the card diagnostic programs, specifically File > Examples > SD > CardInfo or File > Examples > SdFat > SdInfo (and showing us a screenshot or exact copy...
  2. Replies
    3
    Views
    1,070

    Since the old thread was started, SD card access...

    Since the old thread was started, SD card access has completely changed. We switched from the ancient SD library to SdFat, and SD.h is now just a thin wrapper which uses SdFat to access the card. ...
  3. Replies
    21
    Views
    576

    Just to confirm, you added the fast diode in...

    Just to confirm, you added the fast diode in parallel with the motor, right?

    I see a lot of other stuff in msg #15 but no mention of the diode. The diode is by far the most important part.
    ...
  4. I ordered this hub today. Or really, Robin did ;)

    I ordered this hub today. Or really, Robin did ;)
  5. If you find any insight about what path issues...

    If you find any insight about what path issues got arduino-cli so confused, please share.

    With the old Arduino 1.8.x software, we've seen pretty much every problem many times and we know how to...
  6. Try running "arduino-cli version"? What does it...

    Try running "arduino-cli version"? What does it show?

    When I try here with the latest, I see this:


    arduino-cli Version: nightly-20220624 Commit: 4a4b784 Date: 2022-06-24T01:38:17Z

    Here's...
  7. Yes, this was a minor issue that came up when I...

    Yes, this was a minor issue that came up when I wrote pwm.c. Seems like a lifetime ago... before the pandemic and chip shortages!

    Some timers were just 1 or 2 short of supporting full 16 bit...
  8. Two quick things to try... 1: replace...

    Two quick things to try...

    1: replace MIDIDevice with MIDIDevice_BigBuffer.

    2: edit ehci.cpp to uncomment this line:


    //USBHS_PORTSC1 |= USBHS_PORTSC_PFSC; // force 12 Mbit/sec
    ...
  9. Yes, confirmed, late July. If you need Teensy...

    Yes, confirmed, late July. If you need Teensy 4.0 before then, buy what you can from distributors who still have them in stock (if they haven't run out yet... as they almost certainly will soon).
    ...
  10. Replies
    40
    Views
    558

    Yes, it absolutely does matter. A lot of work...

    Yes, it absolutely does matter.

    A lot of work goes into each Teensyduino release to test a set of libraries which work together. Starting with Teensyduino 1.54, we abandoned the ancient SD...
  11. If you have no SPI.beginTransaction(), the SPI...

    If you have no SPI.beginTransaction(), the SPI bus could be running at any unknown speed & settings.
  12. Correct, the FlexPWM and QTimer hardware is only...

    Correct, the FlexPWM and QTimer hardware is only 16 bits.

    Best to look at the GPT timers. They are 32 bits, but there's only 2 of them and only limited access to the pins they can control. Maybe...
  13. Replies
    40
    Views
    558

    Try changing the order of the includes. If...

    Try changing the order of the includes.

    If that doesn't help, please give us a way to reproduce the problem. Even if the program seems trivial, please post a complete program so we can just copy...
  14. Sure, that's easy. Ran it here on a Teensy 3.2...

    Sure, that's easy. Ran it here on a Teensy 3.2 and LC. Indeed it seems Teensy LC isn't working.

    On Teensy 3.2, here are the waveforms my scope sees on pins 2, 14, 7, 8. The waveforms keep...
  15. Replies
    2
    Views
    269

    I think it seems really interesting, but I'm too...

    I think it seems really interesting, but I'm too overloaded with dealing with chip shortages and another PCB revision on Teensy 4.0 & 4.1 to do anything with voice recognition right now.

    I'm...
  16. Now, about the original question of the 4.7K...

    Now, about the original question of the 4.7K pullup resistor connected to 5V power. While it's not advisable and does stress the Teensy pin somewhat, the 4.7K resistor issue alone does not destroy a...
  17. Your diagram appears to have the DS18B20...

    Your diagram appears to have the DS18B20 connection very wrong. This is the correct DS18B20 pinout:

    28767

    Looks like you've connected +5V to the GND pin, GND to the DQ pin, and Teensy pin 2 to...
  18. It's a hardware limitation. Freescale (now NXP)...

    It's a hardware limitation. Freescale (now NXP) decided to connect the UARTs for Serial1 & Serial2 to the faster CPU clock (F_CPU). The other 4 ports run from the slower peripheral clock (F_BUS). ...
  19. I believe you. You don't need to prove anything....

    I believe you. You don't need to prove anything. Please instead pour that effort into giving us a reproducible test case. What's needed is a way to reproduce the problem, hopefully without time...
  20. Replies
    3
    Views
    204

    MSGEQ7 is not commonly used with Teensy 4 (or...

    MSGEQ7 is not commonly used with Teensy 4 (or Teensy 3) because these boards are plenty powerful enough to do far more sophisticated spectral analysis entirely with software. So there aren't a lot...
  21. Replies
    40
    Views
    558

    If you change your mind and want to figure out...

    If you change your mind and want to figure out why it didn't work, we could probably help much more if you show us the wiring with photos and clear diagrams.
  22. Try 0xEF0. Probably because E2END is...

    Try 0xEF0.




    Probably because E2END is meant to be the address of the last byte, not the number of bytes. So 0xEF1 would be off by 1.
  23. Did a quick search for "quit save", didn't see...

    Did a quick search for "quit save", didn't see anyone yet reporting the unnecessary save dialog.
  24. Tried this just now on Linux. Both 2.0.0-rc7 and...

    Tried this just now on Linux. Both 2.0.0-rc7 and nightly-20220618 show the boards first time I click the Tools menu. Maybe it's a Windows only bug? Or maybe it's some sort of race condition where...
  25. I've felt this way many times over the years...

    I've felt this way many times over the years regarding the problems with Windows installations mysteriously missing 1 or more files. The most recent would be Defragster's install of Teensy package...
  26. First check the USB connector and cable for...

    First check the USB connector and cable for damage or other issues.

    If you do the 15 sec restore, the flash memory gets completely wiped and a known-good program is written. If the hardware is...
  27. Looks like I can get 2 windows to talk to the...

    Looks like I can get 2 windows to talk to the same port. Seems each window has its own port selection, which is different from Arduino 1.8.x, and of course IDE 2.0 has no way to know that different...
  28. Seems to work when I try with the latest nightly...

    Seems to work when I try with the latest nightly running on Linux.

    28718
  29. What if you connect more chips on the breadboard?

    What if you connect more chips on the breadboard?
  30. Glad it’s resolved. Can’t say I know why, but I...

    Glad it’s resolved. Can’t say I know why, but I do know Windows uses a combination of info it gets from USB devices and prior info stored in the Windows Registry to enumerate USB devices and load...
  31. Can you try the crashing code on a Teensy 4.1...

    Can you try the crashing code on a Teensy 4.1 having no other hardware connected? Or on a breadboard with just 1 MAX31855 chip and no sensor?

    We can do a lot more to help when we're able to...
  32. Replies
    11
    Views
    503

    This stuff is all designed for Teensy. It...

    This stuff is all designed for Teensy. It doesn't work on STM32 chips.
  33. Replies
    11
    Views
    1,253

    Short answer is it's pretty much an arbitrary...

    Short answer is it's pretty much an arbitrary choice on my part. ;)

    Arduino's version numbers are meant to follow a convention called semantic versioning. According to the official spec, at...
  34. Yes, there are several ways. Maybe better to...

    Yes, there are several ways. Maybe better to start a new thread, rather than discussing this under "no serial port".
  35. Download Teensyduino software matching the Linux...

    Download Teensyduino software matching the Linux software distro. It doesn't matter if the ARM processor on RPi4 could run 64 bit software. It matters what software you are actually running. If...
  36. I've never tried to use the FlexNVM partition...

    I've never tried to use the FlexNVM partition feature on Teensy 3.2. But according to the documentation on page 572 in the manual, it should be possible to dedicate 16K to EEPROM and use the other...
  37. Ok, haven't ordered any MAX31855 chips, but I...

    Ok, haven't ordered any MAX31855 chips, but I will if you can confirm that's what it takes to reproduce the problem.

    FWIW, the program has kept running all day and still going, without any...
  38. Sounds like a charge-only USB cable with only 2...

    Sounds like a charge-only USB cable with only 2 wires for power, no data wires at all.
  39. Maybe you kernel lacks the cdc_acm driver? Try...

    Maybe you kernel lacks the cdc_acm driver?

    Try watching the syslog messages as you plug and unplug the USB cable. On Ubuntu you would run "tail -f /var/log/syslog" in a terminal. The kernel...
  40. Replies
    21
    Views
    576

    My guess would be the diode is probably ok for a...

    My guess would be the diode is probably ok for a motor of that size.... knowing nothing of the motor's specs, just what I can see in the photo. The diode has no actual reverse recovery time specs...
  41. Probably better to edit the library to use MDIO...

    Probably better to edit the library to use MDIO to configure the chip.

    MDIO lets you control all settings. Not sure which of the libraries currently has the MDIO code, but it's floating around...
  42. Yes, just edit E2END in the core library. Look...

    Yes, just edit E2END in the core library. Look for it in avr/eeprom.h (as E2END is an AVR convention). Max possible emulated EEPROM size for Teensy 4.0 is 3825 bytes. If you try to configure more...
  43. Running it here on a Teensy 4.1 with nothing...

    Running it here on a Teensy 4.1 with nothing connected, and the Serial.println( spiread32A() ); line uncommented.

    It's not crashing.

    28704

    Are you sure this will reproduce the crash on an...
  44. Is a MAX31855 chip required, or will the code...

    Is a MAX31855 chip required, or will the code crash if just run without anything (or just a resistor on MISO) connected to the SPI port?

    Could you create a minimal but complete program with this...
  45. No plans to support this.

    No plans to support this.
  46. Replies
    7
    Views
    116

    From the photos, my bet is on pin 13...

    From the photos, my bet is on pin 13...
  47. Replies
    7
    Views
    116

    CardInfo suggests the problem is a bad physical...

    CardInfo suggests the problem is a bad physical connection to the card.

    SdInfo tried to use the 8 pads on the bottom of Teensy 4.0, so not a meaningful result since your SD card connects to SPI. ...
  48. Replies
    131
    Views
    27,161

    MicroMod does not yet have a lockable product. ...

    MicroMod does not yet have a lockable product. Sparkfun may add it in the future. But so far all MicroMod are the same as standard Teensy, shipped with fuse settings that do not allow changing the...
  49. Brand new flash chips usually start in fully...

    Brand new flash chips usually start in fully erased condition, so you could expect to see the same behavior on all chips of the same size.
  50. I'm pretty sure this problem is you're running...

    I'm pretty sure this problem is you're running out pre-erased sectors and LittleFS is having to do slow erase operations.

    Sadly, LittleFS doesn't have any way to allow us to pre-erase the sectors....
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4