Teensy 4.0 & 4.1

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
danhalbert
Posts: 18
Joined: Mon Jan 16, 2017 3:58 am

Re: Teensy 4.0 & 4.1

Post by danhalbert » Sun Jul 31, 2022 12:31 pm

Adafruit keeps a TOML database of flash chip characteristics here: https://github.com/adafruit/nvm.toml. This is used in the CircuitPython to generate C struct compile-time information to support the various chips used on various boards, especially their QSPI characteristics and idiosyncrasies.

I don't actually see a setting for the 4-byte addresses read opcode (0x13) that is mentioned in https://github.com/peterhinch/micropyth ... onstructor re cmd5, and used in https://github.com/peterhinch/micropyth ... ash_spi.py. We do have an entry for the W25Q64FV chip, which is mentioned as needing 4-byte addresses, so I'm confused as to why it works for us. But that chip is used only on a few boards, and none of Adafruit's boards. We do use the W25Q64JVxQ a lot, but maybe it is different.

You are welcome to contribute to the TOML repo if you'd like to use it as a source of data. Scott Shawcroft knows a lot more about the details of this than I do, so I will call his attention to this thread.

Post Reply