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. I ran some quick experiments to see how long each...

    I ran some quick experiments to see how long each operating system waits. Even though the USB spec might give a requirement, the practical reality is most USB devices probably only get tested with...
  2. Replies
    7
    Views
    305

    Could I talk you into trying with 1.57-beta1? ...

    Could I talk you into trying with 1.57-beta1?

    https://forum.pjrc.com/threads/70196-Teensyduino-1-57-Beta-1

    If that doesn't solve the problem (odds are it will be exactly the same) then I'm...
  3. Your first step should probably be with the...

    Your first step should probably be with the Scanner example. In Arduino, with Teensy selected from Tools > Boards (so the software updates its menus for Teensy) click File > Examples > Wire >...
  4. Maybe. I'm still investigating, so it's too...

    Maybe. I'm still investigating, so it's too early to really have a well informed opinion.

    But initial testing shows 2ms delay alone is not nearly long enough, so my gut feeling is that delay...
  5. Just to document this process, here's the test I...

    Just to document this process, here's the test I have set up on my workbench.

    28374

    A little transistor circuit is connected to Teensy 4.1 pin 32 to control power to the Raspberry Pi Pico. ...
  6. I believe Bill's driver for SDIO (and also...

    I believe Bill's driver for SDIO (and also dedicated SPI) is leaving the card in the middle of a multi-sector write.

    But the USB code is probably doing single sector writes. The actual access...
  7. I'll take a quick look if you give direct links...

    I'll take a quick look if you give direct links to the Adafruit product and its Arduino library.
  8. The pinout reference card that comes with Teensy...

    The pinout reference card that comes with Teensy 4.1 tries to give a quick overview of the pins & their capabilities. If you don't have the physical printed card yet, you can see it here:
    ...
  9. Replies
    5
    Views
    393

    So far the lockable model is only available...

    So far the lockable model is only available direct from PJRC.

    We have a small number left here, even though the website status is showing out of stock. It's not many, under 50, maybe not even 40....
  10. Oh, looks like I spoke too soon. I can reproduce...

    Oh, looks like I spoke too soon. I can reproduce the problem! Does not happen immediately, but does if I unplug and reconnect the Pico.

    28372
  11. Tried again with these instructions, but still...

    Tried again with these instructions, but still could not reproduce the problem!

    Here's what was on the CIRCUITPY drive right before unmount and plug from my PC.



    paul@preston:/tmp > find...
  12. Use it like this. extern "C" void...

    Use it like this.



    extern "C" void startup_middle_hook(void);

    void startup_middle_hook() {
    pinMode(13, OUTPUT);
    digitalWrite(13, HIGH);
    }
  13. Ok, I realized I probably missed the Boot.py...

    Ok, I realized I probably missed the Boot.py step. So....

    9: Remove Pico from Teensy 4.1 - Beagle 480 - Hub and plug back into my PC. CIRCUITPY drive appears again.

    10: Copy the code from msg...
  14. Ok, trying this again. 1: Held the button on...

    Ok, trying this again.

    1: Held the button on Pico while plugging into my PC. Drive appears as "RPI-PR2".

    2: Copy flash_nuke.uf2 to RPI-PR2 root directory. RPI-PR2 disconnects immediately,...
  15. Can you give me direct links to *all* of the...

    Can you give me direct links to *all* of the *exact* files I should load onto a Pico?

    Remember, I don't use Python much and I've never really used RP2040. Please do not assume I know what you...
  16. Replies
    7
    Views
    190

    PSRAM chips don't consume a lot of power. The...

    PSRAM chips don't consume a lot of power. The 3.3V regulator can easily power them up.


    Of the many things written here, this one seems extremely strange to me:



    Can you double check this?...
  17. Well, I can't seem to reproduce the problem. ...

    Well, I can't seem to reproduce the problem. Even plugged into a hub, enumeration completes successfully.

    28361

    I ran the USBHost_t36 "Serial" example. Beagle 480 was connected between Teensy...
  18. Ah, I see now that "initialization failed!" is...

    Ah, I see now that "initialization failed!" is supposed to happen due to Boot.py "storage.disable_usb_drive()".

    Looks like both are completing enumeration when directly connected. Looking for...
  19. I just copied those 2 lines from msg #1 into an...

    I just copied those 2 lines from msg #1 into an otherwise empty Arduino template program.



    void setup() {
    analogWriteFrequency(14, 2000000);
    analogWrite(14, 128);
    }

    void loop() {
  20. I'm running it on a Teensy 4.0 right now. Here's...

    I'm running it on a Teensy 4.0 right now. Here's what my scope sees on pin 14.

    28360
  21. Ok, I've got it set up on my workbench. I copied...

    Ok, I've got it set up on my workbench. I copied adafruit-circuitpython-raspberry_pi_pico-en_US-7.2.5.uf2 onto 2 Pico boards. Then copied adafruit_is31fl3731 and pmk to the CIRCUITPY lib folder,...
  22. Yes. See "Hardware" on the right side panels for...

    Yes. See "Hardware" on the right side panels for the details.

    https://www.pjrc.com/teensy/gui/?info=AudioOutputPT8211

    https://www.pjrc.com/teensy/gui/?info=AudioOutputPT8211_2
  23. For a quick attempt to answer the original...

    For a quick attempt to answer the original question, a library or any other code running on Teensy can disrupt USB communication. Every Teensy is made with a pushbutton dedicated to entering...
  24. Is it possible to reproduce this problem using a...

    Is it possible to reproduce this problem using a Raspberry Pi Pico? Even if it lacks the keyboard pushbuttons and LEDs, all that's needed is USB enumeration, right?

    I have a couple Picos here,...
  25. Replies
    12
    Views
    975

    I can't explain why ARM is so secretive about...

    I can't explain why ARM is so secretive about some types of information. I'm pretty sure there's nothing any of us can say which will convince them to act differently.

    But I can tell you we've...
  26. Replies
    12
    Views
    975

    On Teensy 4.1 double and long double are both...

    On Teensy 4.1 double and long double are both implemented with the same 64 bits. So while there are some finer points to compiler semantics, ultimately they both end up compiling to exactly the same...
  27. Any chance you can test with a 3rd computer? ...

    Any chance you can test with a 3rd computer?

    Sometimes things get messed up with Windows (all versions) in the Windows Registry and it retains bad USB enumeration info. Testing on another Windows...
  28. Most RMII PHY chips should work. But if it can't...

    Most RMII PHY chips should work. But if it can't be configured with resistors on the pins, the MDIO communication might need to write to different config registers to put it in the proper mode.
    ...
  29. If someone made such a chip you probably could. ...

    If someone made such a chip you probably could. But as far as I know, today 8MB is the largest chip. ApMemory has said they have no plans to make a larger version, and all other SPI / QSPI RAM...
  30. Replies
    1
    Views
    104

    The design used Teensy++ 2.0...

    The design used Teensy++ 2.0, which as discontinued around September 2021.

    Maybe Teensy 4.1 could work?
  31. Looks like the Arduino developers are working on...

    Looks like the Arduino developers are working on pluggable monitor support...

    https://github.com/arduino/arduino-ide/pull/982
  32. Replies
    12
    Views
    228

    Connect another resistor to pin 6 on the 6N138...

    Connect another resistor to pin 6 on the 6N138 optocoupler. Then connect a LED between the other leg of that resistor and 3.3V, where the cathode (flat edge of the LED) connects to the resistor and...
  33. Maybe not a stupid question. Seems we're not...

    Maybe not a stupid question. Seems we're not actually saying clearly 1.57-beta1 is required.

    @Kurt - Could you edit msg #1 to say 1.57-beta1 is needed and link to that announcement thread with...
  34. As far as I know, there is no easy way. So with...

    As far as I know, there is no easy way. So with that in mind, here are some ideas about not easy ways....

    You'll probably want to use Teensy 4.0 or 4.1, since this needs high speed. Your diagram...
  35. Replies
    9
    Views
    1,548

    I'm not familiar with any message about...

    I'm not familiar with any message about attempting power cycle. Could you copy the exact syslog message, so we can the same words you are seeing on your screen?
  36. You need at least Teensyduino 1.57-beta1. In...

    You need at least Teensyduino 1.57-beta1. In Arduino, click Help > About to check.

    Get 1.57-beta1 here:
    https://forum.pjrc.com/threads/70196-Teensyduino-1-57-Beta-1

    All this new stuff in...
  37. Something is wrong with the bootloader chip. It...

    Something is wrong with the bootloader chip. It should always pull Program up to 3.3V (except of course for a very brief time at powerup while it initializes).
  38. The running program should not be able to prevent...

    The running program should not be able to prevent the bootloader from resetting the main chip and then taking control.

    As a quick first check, watch the voltage on the Program and Reset signals. ...
  39. .... procedures for MacOS, Windows, or Linux? ...

    .... procedures for MacOS, Windows, or Linux?

    If Windows, 2 ways.

    #1: Just run Arduino's installer again. It will delete the old copy. Then run the Teensyduino installer. Your data is kept...
  40. As promised, I copied the code from msg #13 into...

    As promised, I copied the code from msg #13 into Arduino and uploaded to Teensy 4.1.

    These are the waveforms my scope sees on pins 2, 3, 4.

    28327

    Pin 2 definitely has a digital audio...
  41. Teensy does not, can not, detect whether a PT8211...

    Teensy does not, can not, detect whether a PT8211 chip is connected. All 3 signals are outputs. Teensy simply transmits the data, even if nothing is connected.

    If you show the complete code,...
  42. Yeah, it usually can work plugged in backwards...

    Yeah, it usually can work plugged in backwards because Auto-MDIX automatically figures out whether the RX & TX pairs are swapped, and also because the LED when not conducting has enough capacitance...
  43. Yes, that looks fine. Ordinary memcpy() is...

    Yes, that looks fine.

    Ordinary memcpy() is used, because the PSRAM appears as ordinary memory. It's much slower for cache misses, but other than the performance impact, from a software point of...
  44. Hope you'll share photos or a demo video when...

    Hope you'll share photos or a demo video when it's built?
  45. I don't know if it will work, but I do know how...

    I don't know if it will work, but I do know how you would try.

    Edit mk20dx128.c and look for this line:



    #if F_CPU == 168000000
    MCG_C6 = MCG_C6_PLLS | MCG_C6_VDIV0(18); //...
  46. Replies
    14
    Views
    618

    The behavior of Serial.available() is not changed...

    The behavior of Serial.available() is not changed to wait until data is available.
  47. Good idea on receiving with xbar. For transmit...

    Good idea on receiving with xbar.

    For transmit on pin 7, you could try using SoftwareSerial. It can't receive if the 2 pins you select are not a real serial port. Maybe configure SoftwareSerial...
  48. Teensy 4.0 will be back in stock soon. They're...

    Teensy 4.0 will be back in stock soon. They're in production now.

    The cost of the chips & other parts have all increased recently, so we're going to need to raise the price soon. Likewise for...
  49. Teensyduino 1.57-beta1 is now available, with...

    Teensyduino 1.57-beta1 is now available, with SdFat 2.1.2 which fixes this bug.

    https://forum.pjrc.com/threads/70196-Teensyduino-1-57-Beta-1
  50. Replies
    14
    Views
    618

    Nope. I automated building the package zip files...

    Nope. I automated building the package zip files (though it's currently broken on MacOS), but updating the package index is still a very manual process. I didn't do it for this beta.

    I'm not...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4