Search found 27 matches

by bertel
Mon Feb 22, 2021 6:46 am
Forum: ESP32 boards
Topic: multi-threading question
Replies: 19
Views: 1695

Re: multi-threading question

@Pythoncoder, both multiTHREADING and multiPROCESSING work very well with standard Python. The threading module and the multiprocessing module come standard with Python. They are different animals. With the threading module (on which the Micropython _thread module is based) all threads use the same ...
by bertel
Sun Feb 21, 2021 5:08 pm
Forum: ESP32 boards
Topic: multi-threading question
Replies: 19
Views: 1695

Re: multi-threading question

I don’t have any experience with threading in micropython, but according to the docs, _thread in micropython works just like in vanilla Python. There, threading uses the same core. To use multiple cores, we need to use multiPROCESSING. Most likely, the Swiss guy was tricked into believing threading ...
by bertel
Sun Feb 21, 2021 3:44 pm
Forum: ESP32 boards
Topic: multi-threading question
Replies: 19
Views: 1695

Re: multi-threading question

Even under vanilla Python, thread would use only one core ...
by bertel
Sun Feb 21, 2021 3:42 pm
Forum: ESP32 boards
Topic: ESP32 port now uses CMake
Replies: 20
Views: 2430

Re: ESP32 port now uses CMake

I’m trying to get the new version going. build-GENERIC works, but build-GENERIC_SPIRAM is throwing me a curve ball. When I use the proper partitions.csv , and update Makefile with BOARD ?= GENERIC_SPIRAM FLASH_SIZE ?= 16MB I get the following error: FAILED: partition_table/partition-table.bin cd /us...
by bertel
Fri Feb 12, 2021 11:13 am
Forum: ESP32 boards
Topic: Micropython V1.14 Problem
Replies: 7
Views: 1029

Re: Micropython V1.14 Problem

Thonny 3.3.3: Initializing Wifi WebREPL daemon started on ws://192.168.73.69:8266 Started webrepl in normal mode network config: ('192.168.73.69', '255.255.255.0', '192.168.73.1', '192.168.73.1') Free mem: 3.90155 MB Flash size: 16.0 MB Free flash: 13.98828 MB MicroPython v1.14-13-gdf85e4881-dirty o...
by bertel
Fri Feb 12, 2021 9:58 am
Forum: ESP32 boards
Topic: Differences between Micropython ports for ESP32 and ESP8266
Replies: 35
Views: 26707

Re: Differences between Micropython ports for ESP32 and ESP8266

The LoBo codebase appears abandoned, and if you have grudges with pyb, you will absolutely hate incompatible LoBo. How hard would it be to graft the LoBo SSH module onto the mainline code?
by bertel
Fri Feb 12, 2021 7:42 am
Forum: ESP32 boards
Topic: SD card I/F, specify pins, or not?
Replies: 3
Views: 292

Re: SD card I/F, specify pins, or not?

I got it to work by leaving the firmware code as is, while expressly calling machine.SDCard like so:

Code: Select all

import machine, uos
uos.mount(machine.SDCard(slot=2, sck=14, miso=2, mosi=15, cs=13), "/sd")
by bertel
Thu Feb 11, 2021 9:22 am
Forum: ESP32 boards
Topic: SD card I/F, specify pins, or not?
Replies: 3
Views: 292

Re: SD card I/F, specify pins, or not?

Thanks, I'll keep digging. Forgot to add that I compiled with the pins adjusted as above, still not working, so it must be something else.
As for the card sizes, on a working ESP32, I had tested a bunch of SD cards, from a few MB up to 64G, and I couldn't get anything bigger than 16GB to work.
by bertel
Thu Feb 11, 2021 8:15 am
Forum: ESP32 boards
Topic: SD card I/F, specify pins, or not?
Replies: 3
Views: 292

SD card I/F, specify pins, or not?

I have some EPS32 boards equipped for SD cards. The SD cards were accessible with the latest firmware. I recompiled the firmware for access of my full 16MB of flash, and with the help of @roberthh, that works. However, the SD card no longer does work. After uos.mount(machine.SDCard(), "/sd") I get a...
by bertel
Thu Feb 11, 2021 7:55 am
Forum: ESP32 boards
Topic: How to get the full capacity of an 8MB or 16MB flash chip?
Replies: 15
Views: 1096

Re: How to get the full capacity of an 8MB or 16MB flash chip?

Thank you!

While I have your ear, I have another, most likely simpler question for you, but for that, I'll open another thread.