Search found 9 matches

by sunbear
Fri Mar 08, 2019 5:12 pm
Forum: Programs, Libraries and Tools
Topic: ESP32FLASHWRITER
Replies: 5
Views: 3913

Re: ESP32FLASHWRITER

It seems that module termios is not available on Windows: "Because it requires the termios module, it will work only on Unix." https://docs.python.org/3/library/tty.html I have improved the Linux version to get it to work with Windows 10 and fixed other bugs. I have updated repository https://githu...
by sunbear
Fri Mar 01, 2019 4:04 pm
Forum: Programs, Libraries and Tools
Topic: ESP32FLASHWRITER
Replies: 5
Views: 3913

Re: ESP32FLASHWRITER

Is it possible to build portable executable for Windows with all dependencies included? I do not have the experience. However, I do hope to be able to try my script on Win OS some time soon. If things work out, I will then update my python script in the repository. I think work to build portable ex...
by sunbear
Fri Mar 01, 2019 4:41 am
Forum: Programs, Libraries and Tools
Topic: ESP32FLASHWRITER
Replies: 5
Views: 3913

ESP32FLASHWRITER

https://github.com/sunbearc22/ESP32FlashWriter.

I wrote this simple to use GUI to connect to a ESP32 device and write firmware to the esp32 flash. I like to share it here and seek your feedback and advice on its use. Thank you. ;)
by sunbear
Wed Feb 06, 2019 2:05 am
Forum: ESP32 boards
Topic: How to copy files (e.g. .py, .txt, .dat) to and from the esp32 flash?
Replies: 7
Views: 15999

Re: How to copy files (e.g. .py, .txt, .dat) to and from the esp32 flash?

@Roberthh, can you elaborate on what you mean? E.g. what do mean with write data to place where the file system starts ? In my example, I had thought the FAT32 filesystem started from 0x0 to end of the flash, consisted of one partition, with micropython occupying 0x1000 to say 0x109800. Thereafter, ...
by sunbear
Mon Feb 04, 2019 5:04 pm
Forum: ESP32 boards
Topic: How to copy files (e.g. .py, .txt, .dat) to and from the esp32 flash?
Replies: 7
Views: 15999

Re: How to copy files (e.g. .py, .txt, .dat) to and from the esp32 flash?

Thanks. I was experimenting using `esptool.py` to copy a .py file into flash. For example, after installing micropython with : esptool.py --chip esp32 --port /dev/ttyUSB0 write_flash -z --erase-all --compress 0x1000 firmwares/esp32-20190125-v1.10.bin esptool.py v2.6 Serial port /dev/ttyUSB0 Connecti...
by sunbear
Mon Feb 04, 2019 9:56 am
Forum: ESP32 boards
Topic: How to copy files (e.g. .py, .txt, .dat) to and from the esp32 flash?
Replies: 7
Views: 15999

How to copy files (e.g. .py, .txt, .dat) to and from the esp32 flash?

How can the above be achieved from a Linux system? Purpose: copy python modules and data files into and out from the flash? Thanks.
by sunbear
Fri Feb 01, 2019 8:54 am
Forum: General Discussion and Questions
Topic: How do I terminate a background program/thread/function/method in uPy?
Replies: 5
Views: 5367

Re: How do I terminate a background program/thread/function/method in uPy?

I came across this https://www.freertos.org/a00021.html#vTaskList. Are these task utilities exposed in any uPy module that a user can use on an esp32?

@pythoncoder Thanks for the "tips".
by sunbear
Fri Feb 01, 2019 5:04 am
Forum: General Discussion and Questions
Topic: How do I terminate a background program/thread/function/method in uPy?
Replies: 5
Views: 5367

Re: How do I terminate a background program/thread/function/method in uPy?

I was running uPy on esp32 devkit v1 with no SD card. Any "trick" for this? ;)

Will pulling out the SD-card for your system reduce the life-span of the card?
by sunbear
Thu Jan 31, 2019 5:48 pm
Forum: General Discussion and Questions
Topic: How do I terminate a background program/thread/function/method in uPy?
Replies: 5
Views: 5367

How do I terminate a background program/thread/function/method in uPy?

I was running the Basic WiFi configuration script provided in help(). Unfortunately, I did a typo in one of the args for the .connect() method. Thereafter, my terminal was flooded with the family of msgs relating to "wifi: STA_DISCONNECTED, reason:15" which I understand it to mean "15 4-Way Handshak...