Search found 73 matches

by manitou
Sun Oct 31, 2021 10:31 am
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 443196

Re: Teensy 4.0 & 4.1

Yep, i tried arduino monitor, kermit, minicom, screen, ampy, mpremote, rshell @115200 baud ... they all hang. ctrl-d had no effect. no characters are echo'd, and even exiting terminal emulators required unplugging USB ! update: REPL woks on ubuntu 20.04 on another USB port. Got 18.04 workstation to ...
by manitou
Sat Oct 30, 2021 10:55 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 443196

Re: Teensy 4.0 & 4.1

Somewhere in the testing i tried sudo and that didn't help, and udev rules are current. As noted uploading circuitpython .hex works fine with teensy cli, and REPL works here's what dmesg and lsusb say [261972.909658] usb 1-3.4: new high-speed USB device number 108 using xhci_hcd [261973.010811] usb ...
by manitou
Sat Oct 30, 2021 7:09 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 443196

Re: Teensy 4.0 & 4.1

I had same results with daily build. Here are some more data points: no REPL response on two ubuntu 18.04 and one 20.04 box, but REPL does work (ldev/ttyACM0 115200) on older 16.04 system, but on that system i can't get mpremote, so still can't upload .py files ... REPL works if i plug the teensy4 i...
by manitou
Sat Oct 30, 2021 3:41 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 443196

Re: Teensy 4.0 & 4.1

back in Feb 2020 i got an early micropython running on Teensy 4.0 using https://github.com/jimmo/micropython.git. I only had a simple REPL interface over /dev/ttyACM0 (ubuntu linux). I just built the latest micropython for TEENSY40 from https://github.com/micropython/micropython.git, but I can't see...
by manitou
Tue Oct 20, 2020 6:11 pm
Forum: General Discussion and Questions
Topic: Benchmark comparison of MicroPython boards
Replies: 18
Views: 27414

Re: Benchmark comparison of MicroPython boards

Micropython/circuitpython benchmarks on teensy 4 and others
https://forum.pjrc.com/threads/59040-Ci ... post226210
by manitou
Mon Feb 03, 2020 11:41 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 290
Views: 443196

Re: Teensy 4.0

OK, i built and uploaded the micropython to my Teensy4 and got a /dev/ttyACM0 REPL. But no "pop up" USB drive ... is there a way import .py files ? rebuild with the .py files in some special folder or ? I've got some comparative numbers of micropython and circuitpython on a few different MCUs, see h...
by manitou
Sat Apr 23, 2016 12:40 am
Forum: MicroPython pyboard
Topic: CRC hardware on pyboard
Replies: 9
Views: 9565

Re: CRC hardware on pyboard

Update. Working in C++ on mbed F446RE ( STM32F446xx cortex-m4 @180mhz, hardware float) with the same simple minded CRC hardware as pyboard, I figured out how to do CRC on 32-bit words so that test vector results were good. You have to reverse the bits of the input words, and the final output CRC ha...
by manitou
Sat Dec 26, 2015 12:49 pm
Forum: WiPy and CC3200 boards
Topic: SPI clock frequency ?
Replies: 16
Views: 20040

Re: SPI clock frequency ?

Ok, I don't have timing issues for now, so I might try to compile it with DMA one day just to see :) I'll take a look on the HAL, tahnks I did some SPI DMA experiments on CC3200 (launchpad, wipy's are hard to come by in the US). With the SPI clock at 20MHz, the 32-bit SPI DMA runs at 17.2 mbs (1000...
by manitou
Mon Nov 02, 2015 6:21 pm
Forum: MicroPython pyboard
Topic: 1-wire library and pyb.freq()
Replies: 16
Views: 14687

Re: RE: Re: 1-wire library and pyb.freq()

We have developed a new 1-wire driver that works with the latest version of the pyboard firmware as well as the WiPy. The slimmed-down onewire.py looks good. For visual comparison, here is logic analyzer with new onewire onewire1.png The low pulse-width at 168mhz is 5.875us. At 84mhz, the low pulse...
by manitou
Mon Nov 02, 2015 12:28 am
Forum: MicroPython pyboard
Topic: Read ADC using DMA
Replies: 20
Views: 26027

Re: Read ADC using DMA

ADC with DMA hack OK, I finally got around to hacking adc.c to use DMA to read the ADC. As above we'll do 10,000 samples. >>> import pyb >>> import array >>> adc = pyb.ADC('X1') >>> buf = array.array('H', bytearray(20000)) >>> t1=pyb.micros(); n=adc.read_timed(buf,2000000); t2=pyb.micros() >>> t2-t...