Micromod Teensy - CircuitPython? VID/PID?

A few of us recently started playing with CircuitPython with Teensy boards. Currently either T4 or T4.1.

I mainly started playing with it as others were having issues with the USBHost support on T3.6/T4.x when they plugged in a MicroPython board.

I am now also using this this as an opportunity to improve my Python skills. (I am a C/C++ type)…

And while playing with MicroPython found a issues, which we are trying to understand and fix.

I am thinking about trying to add MicroPython support for the MicroMod Teensy, as so far there is no board definitions setup for this board it in the project source tree: ports\mixrt10xx\boards

I have started to look into creating the definition file. But looking through the teens40 and teensy41 directories I see they have unique VID/PID values. There are different than the ones that the PJRC builds would assign to these boards. For those boards they used VID/PID of Adafruit. I see that you have a few others of the MicroMod board currently supported.

So was wondering if you might have a valid VID/PID that might be appropriate to use to add this board to the download list?

Thanks

Kurt

I am interested in this as well. I do like the Teensy Micromod and would like to expand it capabilites.

While we make the MicroMod version of their board, PJRC is really the product owner/manufacturer for Teensy. I’d recommend posting this same thing on the PJRC forum for that info

https://forum.pjrc.com/

TS-Russell:
While we make the MicroMod version of their board, PJRC is really the product owner/manufacturer for Teensy. I’d recommend posting this same thing on the PJRC forum for that info

https://forum.pjrc.com/

Actually I started off on the Adafruit site, with an issue.

Yes the main MicroMod Teensy like other Teensy boards , are typically controlled by the VID of all other Teensy boards, but unlike many uses of PID, the PID does not actually tell you which Teensy you are connecting, but instead is telling you which USB configuration you are configured for: USB Serial, Dual Serial, Keyboard, …

But when a configuration Of CircuitPython was created for the Teensy 4.0 and later 4.1, they use a completely different USB code setup, which includes things like an MSC type Fat12 drive to hold the python source code as such they needed different/unique VID/PID codes for these. And Adafruit created ones out of their allotted range…

so for example 4.1 it is: 0x239A PID: 0x80AE

So first thing I tried was to see if Adafruit, would allocate another one…

https://github.com/adafruit/circuitpython/issues/6243

The responses were, that Adafruit no longer gives them out, as they neither designed nor manufactured them, it would be best to ask Paul or You for one…

So I sent Paul email and posted this thread.

As I believe that Paul has a limited number of PIDs, so I would guess is that, those are unlikely to be available.

Ah, thanks for digging into and explaining this KurtE. That makes more sense.

Hot off the presses.

SparkFun VID: 0x1B4F

SparkFun MicroMod Teensy - CircuitPython Bootloader: 0x002E

I have not used CircuitPython so I’m not at all familiar. Is it a bootloader type chunk of code that gets compiled and pushed to the board and appears as a UF2/Mass Storage Device once running?

It’s bootloaders all the way down!

Just a quick update, we new have a version of it working on the Teensy Micromod.

The PR to add it was just pulled in today, so there are now releases of it yet. However if you wish to play, you can get the bleeding edge of it from I believe: https://adafruit-circuit-python.s3.amaz … _micromod/

I have also posted it up on the PJRC forum thread: https://forum.pjrc.com/threads/69993-Ci … post303964

Probably still lots of things to fix/improve, but @mjs513 and myself have been playing around… Still prefer C/C++, but…

And while I know there are probably many of you up here who can do circles around me with Python, we have been sort of collecting some of our test sketches up at:

https://github.com/KurtE/circuitPython_sketches