Search found 22 matches

by willemmerson
Wed Mar 25, 2020 12:01 pm
Forum: ESP32 IDF
Topic: vprintf_like_t reentrancy
Replies: 3
Views: 166

Re: vprintf_like_t reentrancy

I have also got in a mess with this before. I found a simple solution was to do nothing in the vprintf_like_function except print the log and put the formatted string into a queue and do the meat of the work in another task: // all a bit simplified but you get the idea: int my_vprintf(const char *fo...
by willemmerson
Fri Mar 20, 2020 2:37 pm
Forum: ESP32 IDF
Topic: parttool.py not working as documented??
Replies: 5
Views: 475

Re: parttool.py not working as documented??

I have had similar problems with parttool.py, but they turned out to be hardware problems. That command certainly works for me on latest sdk but I'm using linux. Basically all parttool.py is doing is calling esp_tool.py so just find out that command and run it directly and you will get better errors...
by willemmerson
Fri Mar 20, 2020 1:57 pm
Forum: ESP32 IDF
Topic: parttool.py not working as documented??
Replies: 5
Views: 475

Re: parttool.py not working as documented??

Use --input:

parttool.py --port "/dev/ttyUSB1" write_partition --partition-name=factory --input "factory.bin"
by willemmerson
Fri Mar 20, 2020 12:25 pm
Forum: ESP32 MDF
Topic: Is ESP32 Mesh a viable solution?
Replies: 4
Views: 778

Re: Is ESP32 Mesh a viable solution?

Just out of interest, why can't you split up your existing mesh into smaller ones?
by willemmerson
Thu Mar 05, 2020 11:02 am
Forum: ESP32 MDF
Topic: Using ethernet instead of wifi at root node
Replies: 3
Views: 2963

Re: Using ethernet instead of wifi at root node

I think you would take the no_router example as a starting point:
https://github.com/espressif/esp-mdf/tr ... /no_router
Then instead of communicating over UART on the root node, you'd communicate over Ethernet/MQTT/Whatever.
by willemmerson
Thu Mar 05, 2020 10:50 am
Forum: ESP32 IDF
Topic: can't run espcoredump.py
Replies: 3
Views: 639

Re: can't run espcoredump.py

The problem was fixed by using a different usb-serial converter. The one I was using was based around a CP2104 and I'd always had occasional problems flashing. But when using espcoredump.py or parttool.py it is generally doing two or more esptool.py operations in a row which the CP2104 doesn't like ...
by willemmerson
Mon Mar 02, 2020 2:49 pm
Forum: ESP32 IDF
Topic: Use of esp_mqtt_client_publish inside an event handler
Replies: 0
Views: 239

Use of esp_mqtt_client_publish inside an event handler

I am sending an mqtt message inside an event handler, is this a bad thing considering you're not supposed to do 'work' inside an event handler, or is it ok because it's just queuing it up?
by willemmerson
Tue Feb 18, 2020 12:36 pm
Forum: ESP32 IDF
Topic: can't run espcoredump.py
Replies: 3
Views: 639

Re: can't run espcoredump.py

esptool.py seems to work fine: esptool.py -p /dev/ttyUSB0 -b 2000000 read_flash 0 0x10000 flash_contents.bin esptool.py v3.0-dev Serial port /dev/ttyUSB0 Connecting..... Detecting chip type... ESP32 Chip is ESP32D0WDQ5 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Co...
by willemmerson
Wed Feb 12, 2020 10:55 am
Forum: ESP32 IDF
Topic: can't run espcoredump.py
Replies: 3
Views: 639

can't run espcoredump.py

I can't run espcoredump and get the following error: espcoredump.py -p /dev/ttyUSB0 info_corefile build/8-channel.elf espcoredump.py v0.4-dev INFO: Invoke parttool to read image. /home/willemmerson/.espressif/python_env/idf4.1_py3.7_env/bin/python: can't open file 'parttool.py': [Errno 2] No such fi...
by willemmerson
Wed Feb 12, 2020 10:03 am
Forum: Report Bugs
Topic: Search does not work on this forum
Replies: 0
Views: 1340

Search does not work on this forum

Searching doesn't work in any forum with a large amount of posts, it just times out.
I tried to search this forum for the keyword 'search' to see if anyone else had submitted the same bug but...it timed out :(

Go to advanced search