Page 1 of 30

Teensy 4.0 & 4.1

Posted: Wed Aug 07, 2019 4:03 pm
by rcolistete
A new powerful Teensy which would be nice to have MicroPython.

Teensy 4.0 was released today
Image

More details :
Teensy 4.0 Development Board at PJRC Store

Forum topic :
https://forum.pjrc.com/threads/54711-Te ... -Beta-Test

Re: Teensy 4.0

Posted: Wed Aug 07, 2019 7:25 pm
by rcolistete

Re: Teensy 4.0

Posted: Wed Aug 07, 2019 8:34 pm
by OutoftheBOTS_
There has been some other very fast open source boards around for some time.

The older Lichee Pi For NanoFW(16M) Cross-Border Core Board with WIFI Module + TF WIFI Adapter Development Board with an ARM 926EJS running at 900MHz, this thing is the size of an SD card https://www.aliexpress.com/item/3292936 ... b201603_53

And the newer Lichee Pi Zero ARM Cortex-A7 running at 1.2GHz and about the same form factor as the new Teensy https://www.aliexpress.com/item/3304722 ... b201603_53

Many of the hackers like the Lichee Pi Zero ARM Cortex-A7 running at 1.2GHz because they don't hit road blocks with closed source grey blobs

Re: Teensy 4.0

Posted: Fri Aug 09, 2019 4:34 am
by mattyt
While those are pretty neat boards the Cortex-M7 architecture is very different and targets low-power operations. The M7 ought to be remarkable for its high performance for low power consumption...

Re: Teensy 4.0

Posted: Sun Aug 11, 2019 2:45 am
by chrismas9
Rocky Song from NXP has ported MicroPython and OpenMV to the RT1060.

https://github.com/RockySong

Re: Teensy 4.0

Posted: Tue Sep 17, 2019 3:51 pm
by kamikaze
if only I knew how to do porting...

Re: Teensy 4.0

Posted: Sun Jan 12, 2020 7:04 pm
by rcolistete
CircuitPython being tested on Teensy 4.0 :
https://blog.adafruit.com/2020/01/10/te ... toffregen/

New firmware CircuitPython 5.0.0-beta.3 for Feather MIMXRT1062 :
https://circuitpython.org/board/feather_mimxrt1062/

Discussion on PRJC (Teensy) forum :
https://forum.pjrc.com/threads/59028-Te ... it-Phython
But the firmware is in .uf2 format. How to use an .uf2 firmware on Teensy 4.0 ?

AFAIK, Teensy Loader CLI needs .hex firmwares.

Re: Teensy 4.0

Posted: Sun Jan 12, 2020 10:19 pm
by mattyt
Has anyone tried Rocky's port enough to give any feedback on it?

Re: Teensy 4.0

Posted: Mon Jan 13, 2020 2:08 am
by rcolistete
New topic on PJRC/Teensy Forum has a first .hex image of CircuiPython 5.0.0 beta-3 for Teensy 4.0 ! x
https://forum.pjrc.com/threads/59040-Ci ... n-Teensy-4
Just use Teensy Loader (GUI or CLI).

First tests :

Code: Select all

$ screen /dev/ttyACM0
Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.

Press any key to enter the REPL. Use CTRL-D to reload.
Adafruit CircuitPython 5.0.0-beta.3-6-g926375d99-dirty on 2020-01-10; Teensy 4.0 with IMXRT1062DVJ6A
>>> import gc
>>> gc.collect()
>>> gc.mem_free()
746976
>>> import os
>>> os.uname()
(sysname='mimxrt10xx', nodename='mimxrt10xx', release='5.0.0', version='5.0.0-beta.3-6-g926375d99-dirty on 2020-01-10', machine='Teensy 4.0 with IMXRT1062DVJ6A')
>>> help('modules')
__main__          busio             microcontroller   struct
_os               collections       micropython       supervisor
_pixelbuf         digitalio         neopixel_write    sys
_time             errno             os                time
analogio          gamepad           pulseio           touchio
array             gc                random            usb_hid
bitbangio         io                re                usb_midi
board             json              rtc
builtins          math              storage
Plus any modules on the filesystem
A USB meter shows 88 mA (at 5.06V) when using REPL on Teensy 4.0 connected to microUSB cable, without any running program.

Re: Teensy 4.0

Posted: Mon Jan 13, 2020 7:19 am
by Roberthh
Interesting. But i do not like to use another flavour of MicroPython. Circuitpython tries to have the same API on any platform including RasPi, making the interface for peripherals like I2C or SPI very bulky. Porting driver code from Circuitpython to Micropython typically results in trowing away pretty many lines of code.