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

  1. 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...
  2. 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.
  3. Replies
    11
    Views
    446

    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...
  4. 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...
  5. 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...
  6. Replies
    59
    Views
    2,469

    Updated the usage info. ...

    Updated the usage info.

    https://github.com/PaulStoffregen/teensy_loader_cli/commit/4cfaab0bae4cec6d1c5aef2e0fdd80acd510c5bf
  7. 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.
  8. 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...
  9. Replies
    59
    Views
    2,469

    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...
  10. 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...
  11. 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...
  12. Replies
    11
    Views
    446

    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.
    ...
  13. Replies
    11
    Views
    446

    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
  14. 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...
  15. Replies
    59
    Views
    2,469

    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...
  16. Replies
    6
    Views
    127

    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.
    ...
  17. Replies
    3
    Views
    61

    Yup, often are used together. Definitely works.

    Yup, often are used together. Definitely works.
  18. 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...
  19. Replies
    59
    Views
    2,469

    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...
  20. 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/
  21. Replies
    59
    Views
    2,469

    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...
  22. Replies
    59
    Views
    2,469

    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...
  23. 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...
  24. 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...
  25. 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...
  26. 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...
  27. Replies
    163
    Views
    5,798

    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...
  28. 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...
  29. 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. ;)
  30. Replies
    59
    Views
    2,469

    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?
  31. Replies
    70
    Views
    2,912

    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...
  32. Replies
    497
    Views
    9,474

    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;...
  33. 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...
  34. 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...
  35. 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.
  36. 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. ...
  37. Replies
    59
    Views
    2,469

    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...
  38. 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...
  39. They're separate and completely independent of...

    They're separate and completely independent of each other.
  40. Replies
    16
    Views
    188

    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.
  41. Replies
    16
    Views
    188

    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.
  42. Replies
    16
    Views
    188

    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...
  43. Replies
    497
    Views
    9,474

    Is the known erased blocks bitmap stored in...

    Is the known erased blocks bitmap stored in volatile memory?

    If someone uses this to build a data logging application, do they need to keep continuous power applied from the time of low level...
  44. Wow, really glad to see you used the vsync info! ...

    Wow, really glad to see you used the vsync info! I had long dreamed of doing that with ILI9341_t3, and months ago I even added the functions to read the scan line... but never had the time to...
  45. Replies
    497
    Views
    9,474

    FWIW, I'm planning to dust off the old...

    FWIW, I'm planning to dust off the old SerialFlash library and try to put a File / FS wrapper on top of it, awkward as that may be. The main problem is SerialFlash needs to pre-allocate files to a...
  46. Replies
    497
    Views
    9,474

    Before you put a lot more work in this, I hope...

    Before you put a lot more work in this, I hope you can spend a little time to think about whether you've building something that is generally useful to a large user base, or if you're optimizing the...
  47. Replies
    497
    Views
    9,474

    I'm not planning to work on effect_delay_ext.cpp....

    I'm not planning to work on effect_delay_ext.cpp. Too many other much more important things to do....

    But if I was to work on it, the 2 things I would do are add support for the cheap PSRAM chip...
  48. Replies
    5
    Views
    111

    Turns out pin 35 is the one exception to the pin...

    Turns out pin 35 is the one exception to the pin mux always using ALT2. I've committed a fix on github:
    ...
  49. Replies
    497
    Views
    9,474

    Oh, I forgot, I also had a small FRAM chip on...

    Oh, I forgot, I also had a small FRAM chip on this I2C test board from early this year (January seems like forever ago...)

    22669

    This FRAM chip was on the I2C tests because it is one of the few...
  50. Replies
    497
    Views
    9,474

    I ordered a few Cypress FRAM chips from Digikey. ...

    I ordered a few Cypress FRAM chips from Digikey. Since they're limited to 40 MHz, these can only be supported on SPI. They're a lot more expensive than flash, but should give much higher write...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4