Search found 3667 matches

by Roberthh
Sat Aug 25, 2018 7:40 pm
Forum: General Discussion and Questions
Topic: Upload to ESP32 board
Replies: 4
Views: 2785

Re: Upload to ESP32 board

It seems that rshell is working fine, with the option --buffer-size 30. Also, if you run a more recent firmware, webrepl should work, which includes a file transfer option. b.t.w.: which type/make of board are you using?
by Roberthh
Fri Aug 24, 2018 7:57 pm
Forum: General Discussion and Questions
Topic: Calculation benchmark of micropython in different hardware
Replies: 14
Views: 9008

Re: Calculation benchmark of micropython in different hardware

I modified the test a little bit, packing into the loop 10 times the same operation (add, mul, div) and reducing the loop count by a factor of 10. Some sample numbers: ESP32 MP : 204 MHz, 1.009 s, 1.201 s, 2.289 s, 8.514 s ESP32 MP with PSRAM: 240.0 MHz, 1.308 s, 1.498 s, 6.74 s, 15.189 s LoPy4: 160...
by Roberthh
Fri Aug 24, 2018 2:11 pm
Forum: General Discussion and Questions
Topic: Calculation benchmark of micropython in different hardware
Replies: 14
Views: 9008

Re: Calculation benchmark of micropython in different hardware

Just a few other numbers: Teensy 3.6. 180Mhz, 2.65s, 2.78s, 4,14s, 12.2s Pycom LoPy4: 160MHz, 5.75s, 6.07s, 10.1s, 17.6s Pcom LoPy: 160MHz, 5.7s, 5.9s, 8.3s, --- LoBo ESp32 SPRAM: 240MHz, 4.04s, 4.15s, 18.9s, 19.3s The Pi test shows a substantial variation. The low values for the Div test of the ESP...
by Roberthh
Fri Aug 24, 2018 7:59 am
Forum: General Discussion and Questions
Topic: Calculation benchmark of micropython in different hardware
Replies: 14
Views: 9008

Re: Calculation benchmark of micropython in different hardware

Very interesting is the comparison of the ESP32 modules with and without PSRAM. That matches the subjective impression, that devices w/o PSRAM are way more responsive.
by Roberthh
Thu Aug 23, 2018 7:33 pm
Forum: ESP32 boards
Topic: Frozen ESP32
Replies: 11
Views: 6179

Re: Frozen ESP32

Did you try to vary the flash mode?

Code: Select all

esptool.py --chip esp32  --port com6 write_flash -z --flash_mode dio 0x01000  firmware.bin
by Roberthh
Thu Aug 23, 2018 7:16 pm
Forum: ESP32 boards
Topic: Frozen ESP32
Replies: 11
Views: 6179

Re: Frozen ESP32

when exec repl, after password confirmation

Would you like to reboot now? (y / n)

I receive the following error message
Where does that come from? The ESP32 does not ask for a password and the reboot question.
by Roberthh
Thu Aug 23, 2018 5:16 pm
Forum: ESP32 boards
Topic: Frozen ESP32
Replies: 11
Views: 6179

Re: Frozen ESP32

I recorded firmware
Do you mean you flashed the firmare to the device.
By which means did you do that. A convenient way is to use the command:

make deploy

And after flashing the firmware to the device you get a REPL prompt?
by Roberthh
Thu Aug 23, 2018 5:57 am
Forum: ESP32 boards
Topic: Frozen ESP32
Replies: 11
Views: 6179

Re: Frozen ESP32

You can see that in the ESP32 Makefile at the line: ESPIDF_SUPHASH := 30545f4cccec7460634b656d278782dd7151098e So it's the one with the hash 30545f4cccec7460634b656d278782dd7151098e I recall having used the command: git submodule update --init --recursive in both the esp-idf source tree and in the m...
by Roberthh
Wed Aug 22, 2018 6:51 pm
Forum: Programs, Libraries and Tools
Topic: Matrix library for MicroPython
Replies: 33
Views: 34759

Re: Matrix library for MicroPython

Tried the same & agree. Also for __add__, the viper decorator leads to a compiler error, requiring more changes.
Trivial lesson learned. Viper & native code is not always a method for gaining speed.
by Roberthh
Wed Aug 22, 2018 4:53 pm
Forum: Programs, Libraries and Tools
Topic: Matrix library for MicroPython
Replies: 33
Views: 34759

Re: Matrix library for MicroPython

Some more trials: a single inverse() call does not affect the speed gain of viper in the other operations. I used a float multiply for tests instead. However, the speed advantage for float operations compared to native code is not really big. Viper 3.1 µs native 5.5 µs plain: 8 µs Since the test als...