Time keeping with utime

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Time keeping with utime

Post by Roberthh » Thu Sep 27, 2018 5:23 pm

Did you pull GPIO0 to GND and push reset before starting esptool.py?

priis
Posts: 26
Joined: Tue Mar 31, 2015 9:52 pm

Re: Time keeping with utime

Post by priis » Fri Sep 28, 2018 8:28 pm

I cannot find the right way to do it.
I tried NodeMCU Pyflasher.
The console says
Connecting............................................._____
for a few seconds - but after that nothing seems to happen.
I also tried
esptool.py --port COM7 write_flash -fm dio 000000 esp32-20180927-v1.9.4-584-g57a7d5be9.bin
only resulting in an error message:
serial.serialutil.SerialException: could not open port 'COM7'

priis
Posts: 26
Joined: Tue Mar 31, 2015 9:52 pm

Re: Time keeping with utime

Post by priis » Fri Sep 28, 2018 9:16 pm

....I also tried flash download tool v3.6.4. which also fails with a chip sync error:
Invalid head of packet ('\x08').
Will I ever get the firmware updated?

priis
Posts: 26
Joined: Tue Mar 31, 2015 9:52 pm

Re: Time keeping with utime

Post by priis » Fri Sep 28, 2018 9:48 pm

My hardware is pycom go invent wipy
wifi bluetooth
fcc id: 2ajmtwipy3a
model:wipy3.0
ic: 22263-wipy3r

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Time keeping with utime

Post by Roberthh » Sat Sep 29, 2018 6:17 am

If you use a Pycom WIPY3, you should use the pycom firmware and updater tool: https://pycom.io/downloads/
The respective forum is at forum.pycom.io.
You can of course also use the firmware of micropython.org, but that does not match well with pysense, and you would have to adapt the drivers.

priis
Posts: 26
Joined: Tue Mar 31, 2015 9:52 pm

Re: Time keeping with utime

Post by priis » Sun Sep 30, 2018 8:31 am

It worked - after changing high speed transfer to a baud rate of 115200!
I'm so grateful for your help, Roberthh!
I do still have a lot of problems but I've better start separate threads....

Post Reply