Search found 133 matches
- Sat Aug 20, 2022 10:19 pm
- Forum: ESP32 boards
- Topic: ESP32-S2 MQTT subscriber "OSError: [Errno 113] ECONNABORTED"
- Replies: 17
- Views: 15372
Re: ESP32-S2 MQTT subscriber "OSError: [Errno 113] ECONNABORTED"
ECONNABORTED is raised deep in lwip, and it's not necessarily the devices' fault, it could be anyone along the network's fault. I was struggling with this two days ago, though my symptom was a working websocket client on my desktop connected to a websocket server running on an esp32. It was ping-pon...
- Thu Aug 18, 2022 2:59 am
- Forum: ESP32 boards
- Topic: E (100167) uart: uart_set_pin(559): tx_io_num error
- Replies: 2
- Views: 4238
Re: E (100167) uart: uart_set_pin(559): tx_io_num error
no problems on v1.19.1 using an ESP32 devkit-c-v4
Code: Select all
>>> from machine import UART
>>> u = UART(1, tx=19, rx=35, baudrate=115200)
>>>
- Sat Jul 30, 2022 1:01 am
- Forum: ESP32 boards
- Topic: socket settimeout problem.
- Replies: 10
- Views: 7587
Re: socket settimeout problem.
wow I am having a hard time reading. I see the GitHub note in the thread. sorry for the noise
- Fri Jul 29, 2022 11:15 pm
- Forum: ESP32 boards
- Topic: socket settimeout problem.
- Replies: 10
- Views: 7587
Re: socket settimeout problem.
I intended to look more into this, but so far haven't been able to pick up the debugger and get at it. I don't see anything raised on github for this, which i think is appropriate in this case. The issue is definitely at the C code level *somewhere*. The connect method is fairly transparent: STATIC ...
- Wed Jul 27, 2022 4:09 pm
- Forum: ESP32 boards
- Topic: socket settimeout problem.
- Replies: 10
- Views: 7587
Re: socket settimeout problem.
There's so much that can go wrong with local networking, are you 100% sure you are routing correctly, and everything happening on the address is correct? @marcidy: The problem here is the duration of connect() when trying to reach an non-existing host. ha, missed that, thanks for clarifying
- Wed Jul 27, 2022 1:56 pm
- Forum: ESP32 boards
- Topic: socket settimeout problem.
- Replies: 10
- Views: 7587
Re: socket settimeout problem.
Try this example as-is:
https://github.com/micropython/micropyt ... _client.py
There's so much that can go wrong with local networking, are you 100% sure you are routing correctly, and everything happening on the address is correct?
https://github.com/micropython/micropyt ... _client.py
There's so much that can go wrong with local networking, are you 100% sure you are routing correctly, and everything happening on the address is correct?
- Sat May 21, 2022 4:32 pm
- Forum: ESP32 boards
- Topic: Bad flash
- Replies: 6
- Views: 3918
Re: Bad flash
I can't help with expereince but there are a number of comments in esp-idf code and docs about chip support. you might want to double check the docs/ code in that component to be sure they have support for your proposed chips. This has some references to sizes above 32Mb for example: https://docs.es...
- Tue May 17, 2022 10:14 pm
- Forum: ESP32 boards
- Topic: OSError(84,)
- Replies: 16
- Views: 5358
Re: OSError(84,)
good luck, i may have given you a new headache rather than solved your current one, please test it carefully. i consider this extremely low level access, and a foot-gun. At the same time, if all you need is a bunch of bytes from memory, this can do it. i intended it more of a debugging tool, but a t...
- Mon May 16, 2022 11:45 pm
- Forum: ESP32 boards
- Topic: OSError(84,)
- Replies: 16
- Views: 5358
Re: OSError(84,)
OK, thanks for clarifying. You can also use machine.mem32 (or the 8 bit, or 16 bit variants) to directly read bytes / half-words / words from memory directly. The syntax is >>> print("{:04X}".format(machine.mem32[0x3ff54900])) so you could loop over the region and read the bytes also. not sure if th...
- Mon May 16, 2022 8:01 pm
- Forum: ESP32 boards
- Topic: OSError(84,)
- Replies: 16
- Views: 5358
Re: OSError(84,)
well, that's is some progress at least try: esp32.Partition.writeblocks(block_num, chunk) except: pass Are you sure this isn't swallowing a problem? i am relatively lenient on try/except, so i'm not arguing from a purist point of view on bare excepts. i would definitely want to know if my data was w...