Search found 20 matches

by ves011
Mon Jun 24, 2024 11:04 am
Forum: General Discussion
Topic: memory management issue
Replies: 3
Views: 2053

Re: memory management issue

it cannot be the case. Simply "free" comand outputs just a 5 digit number + prefix, which eats 212 bytes here is a captured output wp01:: 21612 wp01:: 21400 wp01:: 21188 wp01:: 20976 wp01:: 20764 wp01:: 20552 wp01:: 20340 wp01:: 20128 wp01:: 19916 wp01:: 19704
by ves011
Sun Jun 23, 2024 5:21 pm
Forum: General Discussion
Topic: memory management issue
Replies: 3
Views: 2053

memory management issue

I have an application built with esp-idf v 5.1.2 on ESP32-WROOM-32 where I redirect all messages (logs, printfs, …) over TCP, to a server running ncat. So I have my own functions: my_log_vprintf(), my_printf(), my_fputs() which capture the output and send it to tcp, or to serial console, or disregar...
by ves011
Tue Mar 26, 2024 3:26 pm
Forum: General Discussion
Topic: Could not allocate an interrupt for UART when 4 gptimers interrupts are enabled
Replies: 3
Views: 1470

Re: Could not allocate an interrupt for UART when 4 gptimers interrupts are enabled

This is what i did. I replaced one of gptimers with an esp_timer. Looking on Lx6 brief about the interrupts, it says "support for up to 32 interrupts" and its configurable. Do you have any info about xtensa configuration flavour in esp32 different chips? Not sure if pinning could help. I can pin a t...
by ves011
Tue Mar 26, 2024 9:20 am
Forum: General Discussion
Topic: Could not allocate an interrupt for UART when 4 gptimers interrupts are enabled
Replies: 3
Views: 1470

Could not allocate an interrupt for UART when 4 gptimers interrupts are enabled

I have an application where i need to use the 4 gptimers. For all of the timers i have an alarm interrupt enabled declared this way static bool IRAM_ATTR x_timer_callback(gptimer_handle_t timer, const gptimer_alarm_event_data_t *edata, void *args) { ... return high_task_awoken == pdTRUE; } if all 4 ...
by ves011
Fri Mar 01, 2024 6:38 pm
Forum: General Discussion
Topic: MH-ET live 38 endless reset
Replies: 1
Views: 674

Re: MH-ET live 38 endless reset

Looks like brownout detector triggered.
Maybe the power supply of your board dosen't provide enough current.
by ves011
Fri Mar 01, 2024 6:27 pm
Forum: General Discussion
Topic: changing wifi password
Replies: 4
Views: 1253

Re: changing wifi password

You don't need to change anything. @MicroController pointed you to the right places. Here is a small example bool wifi_join(const char *ssid, const char *pass, int timeout_ms) { int bits = 0; if(isConnected()) wifi_disconnect(1, NULL); wifi_config_t wifi_config = { 0 }; strlcpy((char *) wifi_config....
by ves011
Fri Mar 01, 2024 6:00 pm
Forum: General Discussion
Topic: ESP32 custom Board w/ UART - no serial feedback
Replies: 4
Views: 1485

Re: ESP32 custom Board w/ UART - no serial feedback

Looks OK!
Not sure if you have a Serial.begin(); in your setup code.
If you have it and still not working, then try the usb cable.
Either you cut it and solder directly D+/D- and GND wires, or let it as it is, remove R46, R47 and place R18, R19 and plug it in the connector.
by ves011
Thu Feb 29, 2024 8:08 am
Forum: General Discussion
Topic: ESP32 custom Board w/ UART - no serial feedback
Replies: 4
Views: 1485

Re: ESP32 custom Board w/ UART - no serial feedback

How do you know you are able to load the code? Maybe its an issue with the way you generate rts/cts signals. I would try to use directly internal USB/JTAG i/f on pins 19/20. If i understood correctly your schematic, it just need a small rework. This way you eliminate usb/uart bridge and be sure esp3...
by ves011
Thu Feb 29, 2024 7:27 am
Forum: General Discussion
Topic: Looking for a decent MQTT-Broker which works with esp-idf
Replies: 3
Views: 1668

Re: Looking for a decent MQTT-Broker which works with esp-idf

What do you plan to run on esp32, mqtt client or broker?
If esp32 is the client, then mosquitto is pretty good.
I use this combination esp32 client - mosquitto (running on ubuntu) since more than a year and its quite reliable.
by ves011
Wed Jan 17, 2024 10:05 am
Forum: General Discussion
Topic: Esp32 + stepper motor
Replies: 5
Views: 27017

Re: Esp32 + stepper motor

Wiring looks ok, assuming you correctly identified the beginning of each motor winding. However i wouldnt let DRV8825 inputs unconnected, even they are internally pulled down. I cannot say how accelstepper library works, but arduino loop() function it loops forever. Hence setSpeed() and runSpeed() a...