Search found 29 matches

by paulg
Sun Jan 12, 2020 7:02 pm
Forum: General Discussion and Questions
Topic: Would a pyboard purchase support the project?
Replies: 15
Views: 3064

Re: Would a pyboard purchase support the project?

I really appreciate MicroPython and would like to support the project. However, having chosen the ESP32 platform, I do not need to purchase a pboard or accessory at this time. How about adding a "Donate" item to the official store? This would give people such as myself a way to contribute. It would ...
by paulg
Sat Dec 28, 2019 3:54 pm
Forum: ESP32 boards
Topic: Problem with boot.py
Replies: 2
Views: 997

Problem with boot.py

I have two TinyPICO boards and I use rshell to communicate with them. I have found that if I remove or overwrite boot.py the board hangs after a few more rshell file commands. Here is a transcript of a typical session: Pauls-Mac-mini:TinyPICO paul$ esptool.py --chip esp32 --port /dev/tty.SLAB_USBtoU...
by paulg
Sat Dec 28, 2019 12:35 pm
Forum: ESP32 boards
Topic: Can a Pin hold it's value during deepsleep?
Replies: 9
Views: 1985

Re: Can a Pin hold it's value during deepsleep?

The TinyPICO board uses a PNP transistor to control power to an onboard Dotstar RGB LED. The schematic is on Github here: https://github.com/tinypico/tinypico-hardware/blob/master/TinyPICO%20Release%20P3/TinyPICO_Schematic.pdf Seon put the code to do this into a helper library. The source code is on...
by paulg
Wed Dec 11, 2019 10:56 pm
Forum: ESP32 boards
Topic: MicroPython Startup Time
Replies: 26
Views: 5634

Re: MicroPython Startup Time

OK, so the web site is wrong. Perhaps someone should update it.
by paulg
Wed Dec 11, 2019 9:11 pm
Forum: ESP32 boards
Topic: MicroPython Startup Time
Replies: 26
Views: 5634

Re: MicroPython Startup Time

@Roberthh which board did you use for your test?

I agree with you that 8.4ms is a very respectable result.

So where did the 150us come from? Could it be that Damien made a mistake and nobody thought to question it or double check it?
by paulg
Wed Dec 11, 2019 10:29 am
Forum: ESP32 boards
Topic: MicroPython Startup Time
Replies: 26
Views: 5634

Re: MicroPython Startup Time

Hi guys, I flashed the generic non-spiram esp32 firmware (esp32-idf3-20190529-v1.11.bin) into my TinyPICO, reloaded the app files and repeated the test. The time from wakeup to reaching main.py is now 612ms. That is over 1 second faster than before. For completeness I should say that my application ...
by paulg
Tue Dec 10, 2019 8:07 pm
Forum: ESP32 boards
Topic: MicroPython Startup Time
Replies: 26
Views: 5634

Re: MicroPython Startup Time

@Christian, thanks for the links. I was not aware of those discussions.

My application is a small one and I don't think I need the PSRAM. I will try a non-SPIRAM ESP32 firmware and see if that improves matters.

Paul
by paulg
Tue Dec 10, 2019 5:50 pm
Forum: ESP32 boards
Topic: MicroPython Startup Time
Replies: 26
Views: 5634

MicroPython Startup Time

I have been doing some timing measurements on an ESP32 MicroPython application that spends most of the time in deep sleep. The board (a TinyPICO) takes 1.67 seconds to reach main.py from wakeup. Does this sound reasonable given that MicroPython boots to essentially the same place in 150 microseconds...
by paulg
Mon Dec 02, 2019 10:21 pm
Forum: ESP32 boards
Topic: TinyPICO Firmware
Replies: 5
Views: 1342

Re: TinyPICO Firmware

Sorry Seon, Your reply must have come in while I was editing mine!
by paulg
Mon Dec 02, 2019 10:14 pm
Forum: ESP32 boards
Topic: TinyPICO Firmware
Replies: 5
Views: 1342

Re: TinyPICO Firmware

Thanks Jimmo. Yeah, the TinyPICO firmware contains several .py files in the filesystem that control the RGB LED etc. As far as I can tell they are not incorporated as frozen byte code. If one burns the TinyPICO firmware into the module, one can then (using rshell) copy the above files back to the ho...