Search found 2759 matches

by Roberthh
Tue Jun 22, 2021 7:55 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 78
Views: 19943

Re: Teensy 4.0 & 4.1

@RobH The speed drop comes with commit bbdc98f72, from version 1.15-182 to v1.15-183, causing the pystone numbers to drop from ~5500 to 2300. But that commit "just" add most of the Python features. Nothing that is really needed for the pystone test. It increases the code size quite a bit from 195552...
by Roberthh
Mon Jun 21, 2021 8:23 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 78
Views: 19943

Re: Teensy 4.0 & 4.1

The timing should be fine. In my tests it said it lasted 2.1 seconds, and that matches the observation. At a figure of 4200 it was 1.1 second, and that's a noticeably difference. I was considering whether the fast speed was a lucky memory layout which makes best use of the cache. The difference betw...
by Roberthh
Mon Jun 21, 2021 6:36 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 78
Views: 19943

Re: Teensy 4.0 & 4.1

No major change. i have built v1.15-216. Pystone values ~2800.
V1.16-3, Values at ~2300.
Plain Makefile. Double precision float. With single precision float the numbers for V1.16.3 are ~2800.
by Roberthh
Mon Jun 21, 2021 3:23 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 78
Views: 19943

Re: Teensy 4.0 & 4.1

The first run showed numbers in the range of 1200, further builds moved to ~2500. But nothing in the range t 4000.
by Roberthh
Mon Jun 21, 2021 11:12 am
Forum: General Discussion and Questions
Topic: Implementing SENT Interface in MicroPython?
Replies: 11
Views: 520

Re: Implementing SENT Interface in MicroPython?

I forgot to mention that you can try to use viper code. This is compiled Python code and runs at about half the speed of pure assembly. In viper, you can create direct memory pointers. So you do not have to use the machine.memxx methods, which are slow. And yes, you can extend the fiirmware with you...
by Roberthh
Mon Jun 21, 2021 9:18 am
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 78
Views: 19943

Re: Teensy 4.0 & 4.1

Would you mind to post the script used for testing. Then I can repeat the test here.
by Roberthh
Mon Jun 21, 2021 5:49 am
Forum: General Discussion and Questions
Topic: Filesystem Max Writes - Does MicroPython manage dynamic wearing?
Replies: 3
Views: 239

Re: Filesystem Max Writes - Does MicroPython manage dynamic wearing?

The default file system for ESP32 is littlefs V2. You can change that to FAT by creating the file system as FAT. But FAT has indeed no wear leveling. Playing tricks with files will not help much with FAT. The critical area is the File Allocation Table (FAT) and the root directory, which are at fixed...
by Roberthh
Sun Jun 20, 2021 12:52 pm
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 78
Views: 19943

Re: Teensy 4.0 & 4.1

That's interesting and should indeed not happen. Maybe you should raise an issue.
by Roberthh
Sun Jun 20, 2021 8:59 am
Forum: Other Boards
Topic: Teensy 4.0 & 4.1
Replies: 78
Views: 19943

Re: Teensy 4.0 & 4.1

No clue. the difference between latest V1.15.xxx and V1.16.2 is just the version number. I did not see any performance drops on Tennsy 4.0. Make sure that you compile with DEBUG=0.