Search found 317 matches

by loboris
Wed Jan 02, 2019 8:56 am
Forum: ESP32 boards
Topic: ESP32 deepsleep failed, the interpreter will not run to the deepsleep line
Replies: 4
Views: 487

Re: ESP32 deepsleep failed, the interpreter will not run to the deepsleep line

Your main() never exits, it has an infinite while loop in it (two of them!).

BTW, when posting a code, put it in the code block!
by loboris
Sat Dec 29, 2018 9:30 am
Forum: Hardware Projects
Topic: NeoPixel using microPython
Replies: 4
Views: 497

Re: NeoPixel using microPython

You put the development board on the breadboard, then solder the wires to it! :?
by loboris
Sun Dec 23, 2018 7:34 pm
Forum: General Discussion and Questions
Topic: Can i store arbitrary data in RTC_DATA_ATTR for ESP32
Replies: 3
Views: 345

Re: Can i store arbitrary data in RTC_DATA_ATTR for ESP32

This is supported in my Micropython port. Up to 64 32-bit integers can be saved in RTC memory. One string of up to 2048 characters can be saved in RTC memory. The string can be, for example, json string containing the parameters which has to be restored after deep sleep wake-up. Integers and string ...
by loboris
Sat Dec 22, 2018 8:33 am
Forum: ESP32 boards
Topic: Virtual Memory RAM
Replies: 4
Views: 373

Re: Virtual Memory RAM

Is ESP32 for micropython support 8M psRAM now? I'm testing the support for the 2nd half of the 8MB SPIRAM in my MicroPython port. As the access is based on bank switching (there is no other way to use it), it is not suitable for MicroPython heap, but it will be possible to use it for storing data. ...
by loboris
Fri Dec 21, 2018 9:12 am
Forum: ESP32 boards
Topic: Virtual Memory RAM
Replies: 4
Views: 373

Re: Virtual Memory RAM

You should use ESP32 board/module with 4MB psRAM (SPIRAM), then you can have up to 4MB free RAM (heap).
by loboris
Mon Dec 17, 2018 8:44 pm
Forum: Other Boards
Topic: K210(Sipeed M1) run face tracking PT demo with maixpy
Replies: 9
Views: 1999

Re: K210(Sipeed M1) run face tracking PT demo with maixpy

I've tested the PT face tracking demo and it works very well. I've had some issues using kflash.py (on Ubuntu 18.04) to upload the firmware. The upload speed was extremely slow , no difference if used with 115200 or 2000000 bd and always failed after some time. Then I've tried using -l option and th...
by loboris
Fri Dec 14, 2018 10:42 pm
Forum: ESP32 boards
Topic: ESP32 broken filesystem
Replies: 4
Views: 454

Re: ESP32 broken filesystem

Using SPIFFS or LittleFS for internal file system may help as they are both more resilient to power loss (by design) than FatFS.
by loboris
Mon Dec 03, 2018 9:33 am
Forum: General Discussion and Questions
Topic: zmodem
Replies: 6
Views: 496

Re: zmodem

You just have to change the UART baudrate in menuconfig : → Component config → ESP32-specific → UART console baud rate In the current GitHub version there is a small bug which will prevent MicroPython REPL to operate at other than 115200 baud rates. If you want to test, you have to make a small chan...
by loboris
Sun Dec 02, 2018 11:38 pm
Forum: General Discussion and Questions
Topic: zmodem
Replies: 6
Views: 496

Re: zmodem

Don't forget that we don't need to use 115200 baud. Both ESP32 and K210 have UARTS capable of running at 5 Mbaud speeds :!:
Of course, the speed must be supported by USBtoUART chip.
On most ESP32 boards I have, MicroPython works with no issues with 921600 baud.
by loboris
Sun Dec 02, 2018 4:08 pm
Forum: General Discussion and Questions
Topic: zmodem
Replies: 6
Views: 496

Re: zmodem

zmodem protocol can use RLE encoding which means the transfer of the files can be faster than the UART speed. For transfering text files (e.g. Python sources) or any files which can be RLE encoded with good enough compression ratio the speed can be at least double of the UART speed. As far as I kno...