Recent content by DeweyOxberger

  1. D

    Modifying USB descriptors well after enumeration

    I'm looking for suggests on how to proceed here: A few seconds after boot I may find an I2C device connected to the Teensy 4.0 and it would be great if I could add a new device to the USB descriptors. The device is a variant of a HID device - a I2CHID PTP device. I'd like the Teensy 4.0 to be a...
  2. D

    I need some Teensy 3.6 modules

    I'm another person looking for some Teensy 3.6 parts. If you have any you'd like to sell PM me. Thanks
  3. D

    QSPI pull-up resistors required?

    Ah, I hate it when I'm not clear. That is a snip from the reference schematic (the demo board). The instructions in the text clearly state to remove the zero ohm jumpers from the hyperflash (not shown) and add the zero ohm jumpers on the QSPI. They also say to add the pull ups. edit: There is...
  4. D

    QSPI pull-up resistors required?

    The NXP reference design shows pull up resistors on the /WP and /RESET and /CE signals on the QSPI flash but the Teensy 4.1 design doesn't have those pull ups. The NXP FAE is saying it needs them for sure (but just during the initial startup for the 30MHz access of flash). Does that sound...
  5. D

    Teensy 4.1 Flash clock frequency question

    Thanks! Hopefully I'm not being too annoying here. I should know by the end of next week if this fixes the temperature issue.
  6. D

    Teensy 4.1 Flash clock frequency question

    Well, this traces down to a change in bootcode.c - with a little luck one of you has access to a nice scope and can confirm my findings. With the prior value (3) in the clock field the flash clocks at 120 MHz. With the new setting (8) it clocks at 144 MHz. These don't really match the docs -...
  7. D

    Teensy 4.1 Flash clock frequency question

    Is uint32_t FlexSPI_NOR_Config[128] in bootdata.c the data that is supposed to control this clock frequency? If I'm interpreting the data correctly it's set to 8 = 133 MHz. If I set it to 7 I get 180 MHz. I am clearly lost on this. How do you set the freq of the flash clock?
  8. D

    Teensy 4.1 Flash clock frequency question

    To add more info: A Teensy 4.1, fresh out the bag (running blinky) shows a clock of 120 MHz. If I then compile blinky on my system and download it the clock will bump up to 144 MHz. So the main flash clock seems to be set too high in the latest Teensyduino/Teensy 4.1 libraries.
  9. D

    Teensy 4.1 Flash clock frequency question

    On the Teensy 4.1, at power up, what maximum clock freq on the Winbond chip (U3) should I expect to see? I'm seeing 143.7 MHz and that seems out of spec. Is there something I'm doing wrong here? What clock frequency are you seeing? I'm using Teensyduino 1.57 with the 1.8.19 ide.
  10. D

    Teensy 4.0 code security?

    Thanks for the reply. For reference, many industry people start with the "NIST standard" - NIST Special Publication 800-193. Lot's of jargon, all centered around the idea of a "root of trust", some part of the system you know is safe. NIST doesn't give a solution, it just has the requirements of...
  11. D

    Teensy 4.0 code security?

    I'm confused. Is this a Dice (Riot) design? (root-of-trust bootloader, shared secret, double hash, "signs/authorizes the update" sorta thing)? Or is this a "root-of-trust bootloader, symmetric key, hex is encrypted, flash image is stored encrypted and decrypts to ram, executes from ram, only...
  12. D

    Teensy 4.1 - Fourth I2C device?

    I'm wondering, doesn't the processor have four I2C controllers? Why are only 3 available?
  13. D

    Wire library BUFFER_LENGTH. I need a way to change it.

    So we'll cook up a version (I prefer i2c_t3 so we'll likely use that) and then focus on the core issue: getting those changes rolled into the release version. MorganS - I hear you. It sounds like we are doing something crazy but many I2C devices require a complete report read or they won't...
  14. D

    Wire library BUFFER_LENGTH. I need a way to change it.

    The I2C buffer length in all versions of the wire library is hard-coded to 32 bytes. I must be the only guy in the world who needs it larger (up to 1.1k at times, but typically more like 53, 350, or 530 bytes). If I cook up a way to make it settable what are the odds I can get that code...
  15. D

    Wire library BUFFER_LENGTH - is there a good way to change it?

    The wire library (Wire.h) hard codes the buffer length to 32. I can edit wire.h but my code is hard for others to use (they have to know to edit it too). Is there some "project specific" way to change the I2C buffer length?
Back
Top