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
    61
    Views
    2,669

    Unrelated to Teensy, I'm going to be happy when...

    Unrelated to Teensy, I'm going to be happy when Apple releases 11.1. The bright red background on 11.0 kinda hurts my eyes. Yeah, I know it can be changed in System Preferences - but for the sake...
  2. Replies
    7
    Views
    98

    So far the only reports of trouble are with...

    So far the only reports of trouble are with Apple's beta versions. It definitely works with the officially released Big Sur.

    As you can see on that thread, I updated my Macbook Air a couple days...
  3. That's not too surprising for Arduino Uno. The...

    That's not too surprising for Arduino Uno. The encoder library generates a lot of interrupts, which will siphon off a lot of the CPU time. I'm a little surprised to hear it's also a problem on Due....
  4. Replies
    1
    Views
    45

    Probably the simplest way would be to just...

    Probably the simplest way would be to just repetitively check in loop() whether it actually is or is not playing, and change the LED accordingly. Maybe like this.


    playSdWav1.isPlaying()) {
    ...
  5. Any ideas on that ffmpeg command?

    Any ideas on that ffmpeg command?
  6. Replies
    1
    Views
    52

    The ESD protection built into the...

    The ESD protection built into the microcontroller, and the physical design of the USB device connectors (shield and ground mate before signals) is usually plenty of protection for most USB device...
  7. Replies
    6
    Views
    249

    Have you purchased and used a Teensy 4.1 board? ...

    Have you purchased and used a Teensy 4.1 board?

    Maybe I'm reading too much into your questions, but I'm getting the impression you have not actually used Teensy 4.1 at all. Is that right?
  8. Replies
    11
    Views
    285

    No, would be a very wrong assumption. The...

    No, would be a very wrong assumption. The absence of the RC delay circuit does not mean that at all. The DCDC buck converter is indeed used, as you could infer from the 4.7uH inductor connected to...
  9. The reason is because the linker scripts are...

    The reason is because the linker scripts are designed differently on Teensy 4 than they were on Teensy 3. As Frank mentioned, the reason for the different design is memory performance.

    To explain...
  10. Yes, that stuff about the memory keywords...

    Yes, that stuff about the memory keywords probably needs to become a dedicated page with examples. Also needed is info about using const with pointers.
  11. Replies
    11
    Views
    468

    My only other suggestion, which doesn't come with...

    My only other suggestion, which doesn't come with any specific code, would be to craft the SPI message to program that ADP bit.




    Indeed it's not easy. But much of the reason behind the File...
  12. Did you include Arduino.h? It's only...

    Did you include Arduino.h? It's only automatically included for .ino files.

    You're compiling a .cpp file. Like all special names & symbols which aren't defined on the command line, you need to...
  13. Please don't take this so personally Frank. I...

    Please don't take this so personally Frank.

    I hope you can understand the timing wasn't ideal. We've been struggling to keep PJRC running since the pandemic hit, and during that time we released...
  14. Replies
    61
    Views
    2,669

    Updated the usage info. ...

    Updated the usage info.

    https://github.com/PaulStoffregen/teensy_loader_cli/commit/4cfaab0bae4cec6d1c5aef2e0fdd80acd510c5bf
  15. Each board has 1 flash chip. You've...

    Each board has 1 flash chip.



    You've misunderstood. Check the schematics again. Each board has 1 flash chip, 8MB on Teensy 4.1, 2BM on Teensy 4.0. The specs on the product pages are accurate.
  16. Teensy 4.0 also has a flash chip, also U3, part...

    Teensy 4.0 also has a flash chip, also U3, part number W25Q16JVUXIM.




    A portion of the chip is reserved for EEPROM emulation, using the EEPROM library.

    Starting with version 1.54...
  17. Replies
    61
    Views
    2,669

    Ah, now I see. Today was my very first use of...

    Ah, now I see. Today was my very first use of MacOS Big Sur. When I read msg #30 "latest big sur 11.1", I didn't manage to equate "11.1" to mean a beta version.

    I am going to keep support for...
  18. It is really compiling? The Arduino IDE first...

    It is really compiling?

    The Arduino IDE first runs the compiler many times with -E, which means to just run the preprocessor but not actually compile any code. It does this to discover which...
  19. No, not really. The closest would be subscribing...

    No, not really. The closest would be subscribing to the Announcements forum. But that will send you notifications of each new beta, as well as the official releases and the infrequent non-software...
  20. Replies
    11
    Views
    468

    These larger Winbond chips (which I did not have...

    These larger Winbond chips (which I did not have available last time I worked on SerialFlash) have a special 32 bit versions of their commands, which work regardless of that config bit setting.
    ...
  21. Replies
    11
    Views
    468

    My best guess is SerialFlash is using a 32 bit...

    My best guess is SerialFlash is using a 32 bit address with the traditional commands, but this chip defaults to legacy 24 bit addresses on those commands, unless this config bit is written:

    22719
  22. Maybe Windows Defender is slowing things down? ...

    Maybe Windows Defender is slowing things down?

    FWIW, using the Arduino IDE on my Linux desktop, the WavFilePlayer example compiles all files in 12 seconds. Admittedly, my desktop machine has fast...
  23. Replies
    61
    Views
    2,669

    I completed the upgrade to MacOS Big Sur 11.0.1. ...

    I completed the upgrade to MacOS Big Sur 11.0.1. Sure enough, just as Theremingenieur said in msg #40, this latest beta runs fine on Big Sur. Here's a screenshot from my freshly updated 13 inch...
  24. Replies
    6
    Views
    140

    How fast the SPI port can actually work and how...

    How fast the SPI port can actually work and how fast NXP officially specifies it to work are 2 different questions.

    I'm sad to say the official word from NXP in the datasheet is only 30 MHz.
    ...
  25. Replies
    3
    Views
    68

    Yup, often are used together. Definitely works.

    Yup, often are used together. Definitely works.
  26. Use SD.begin(chipSelect) to initialize the card. ...

    Use SD.begin(chipSelect) to initialize the card. Delete all that other init stuff. Look at any of the SD examples in File > Examples > SD, except for CardInfo.

    When you initialize the card this...
  27. Replies
    61
    Views
    2,669

    On the Big Sur issue, please check the System...

    On the Big Sur issue, please check the System Preferences > Security & Privacy settings. First look at "Files and Folders" to check whether you've (perhaps unintentionally) disallowed the software...
  28. It's now on the right hand side of the products...

    It's now on the right hand side of the products page.

    https://www.pjrc.com/store/
  29. Replies
    61
    Views
    2,669

    I'm absolutely not going to drop Macintosh...

    I'm absolutely not going to drop Macintosh support. Anyone who's worried by the talk on this thread can consider can this message to be official word from PJRC. Mac support will continue. No need...
  30. Replies
    61
    Views
    2,669

    I was able to reproduce this problem. It's a bug...

    I was able to reproduce this problem. It's a bug in the new SD.h, where it's a bit too aggressive about undefining the incompatible FILE_READ and FILE_WRITE from SdFat.h. When headers are included...
  31. I looked briefly at your schematic. Nothing I...

    I looked briefly at your schematic. Nothing I can see looks out of the ordinary. For the sake of testing, I would remove the MIC803 chip, even though it should be ok.

    Have you tried any of the...
  32. This sort of desoldering is risky. It certainly...

    This sort of desoldering is risky. It certainly can be done with good tools and skills. However, it is easy to damage the PCB if things don't go perfectly.

    If you're not in a financial position...
  33. A previously programmed Teensy 3.2 should...

    A previously programmed Teensy 3.2 should continue to run its previously programmed code if you remove the MKL02 chip, assuming you don't damage other parts of the Teensy 3.2 during the desoldering...
  34. Nope. The number of USB endpoints limitation is...

    Nope. The number of USB endpoints limitation is due to the hardware in those old 8 bit chips. The hardware hasn't changed.

    But of course newer hardware is available. You can do this with Teensy...
  35. Replies
    163
    Views
    5,827

    Confirmed, those are the NAND flash chips I...

    Confirmed, those are the NAND flash chips I bought. Digikey part number W25N01GVZEIGCT-ND.

    I also have a few samples of W25N02KV. @wwatson - please email me directly and I'll arrange to send you...
  36. Nope, completely wrong assumption. Frank's...

    Nope, completely wrong assumption. Frank's explanation is correct.




    While this is technically true, the MKL02 always drives that pin. It is *not* open collector / drain as we have on Teensy...
  37. We just watched the video. Robin's freaking out!...

    We just watched the video. Robin's freaking out! She's a huge Mandalorian & Star Wars fan.

    I like how everyone has a machine shop in their garage. ;)
  38. Replies
    61
    Views
    2,669

    Which Mac are you using? It is an Intel model or...

    Which Mac are you using? It is an Intel model or the new ARM M1?
  39. Replies
    70
    Views
    2,942

    I'm planning to rewrite the product pages "soon"....

    I'm planning to rewrite the product pages "soon". The Teensy 4.1 pinout card back side will come later, probably late December or early January. Most of the website is a work in progress, but at...
  40. Replies
    508
    Views
    9,931

    Yes. It already is designed to operate this way!...

    Yes. It already is designed to operate this way!

    Just create multiple LittleFS_SPIFlash instances, one for each chip. For example:


    LittleFS_SPIFlash chip1;
    LittleFS_SPIFlash chip2;...
  41. Just to explain a bit further - a special highly...

    Just to explain a bit further - a special highly optimized serial monitor is used when you select Teensy Ports in the Tools > Ports menu. Here is a blog article I wrote last year about that...
  42. In Teensy > Port, select the "Serial port" copy...

    In Teensy > Port, select the "Serial port" copy rather than the "Teensy port" version.

    Then Arduino's original serial monitor will be used. Just don't print too fast - it can't handle sustained...
  43. I've edited the Hardware Serial Ports page. ...

    I've edited the Hardware Serial Ports page.

    https://www.pjrc.com/teensy/td_uart.html

    Previous it said:



    I've added these words.
  44. Please try to trim these to small programs. If...

    Please try to trim these to small programs.

    If possible, please eliminate the dependency on U8x8lib.h, i2c_driver_wire.h and any other libraries not part of a clean Arduino + Teensyduino install. ...
  45. Replies
    61
    Views
    2,669

    Ok, added. It'll be in 1.54-beta6. CSF...

    Ok, added. It'll be in 1.54-beta6.




    CSF is a digital signature format defined by NXP which can be appended to your program. Currently Teensy is configured to ignore it, and that...
  46. Can this problem be reproduced using unmodified...

    Can this problem be reproduced using unmodified USB code on both boards?

    If so, can I talk you into posting 2 small but complete program I can copy into Arduino and upload to the 2 boards? It's...
  47. They're separate and completely independent of...

    They're separate and completely independent of each other.
  48. Replies
    16
    Views
    190

    Normally the audio shield should not have any...

    Normally the audio shield should not have any impact on the built in SD socket on Teensy 3.6. None of the signals are shared, only power.
  49. Replies
    16
    Views
    190

    I ran it here with the latest beta using Teensy...

    I ran it here with the latest beta using Teensy 3.6 and a Samsung 32 EVO Plus in the built in SD socket. Uploaded 10 times. It printed "success !" every time.
  50. Replies
    16
    Views
    190

    Are you using version 1.53? In 1.54 we're...

    Are you using version 1.53?

    In 1.54 we're changing SD and switching to SdFat version 2 (until very recently called SdFat-beta). Might be worthwhile to uninstall SdFat and give the 1.54-beta5 a...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4