Search found 8 matches

by duncairn
Mon Dec 13, 2021 8:22 am
Forum: Report Bugs
Topic: Console - argtable leaks memory
Replies: 1
Views: 9254

Re: Console - argtable leaks memory

False alarm. The memory use is from this line:

Code: Select all

linenoiseHistoryAdd(line);
Comment that out and some commands cause a drop in free memory as they set up stuff (or call stuff) but that then remains static through further commands. More importantly, my code now works as expected, which is a plus :D
by duncairn
Mon Dec 13, 2021 1:13 am
Forum: Report Bugs
Topic: Console - argtable leaks memory
Replies: 1
Views: 9254

Console - argtable leaks memory

I am trying to implement some console commands and have a bunch working that don't use command line parameters. That is, they are simple single-word commands. However, if I introduce arguments to a command I get a 24-byte memory leak whenever it's run. Looking at the argtable tutorial , I see they c...
by duncairn
Wed Sep 23, 2020 11:14 am
Forum: ESP-IDF
Topic: ESP-IDF 4.2 reset on radio
Replies: 7
Views: 10074

Re: ESP-IDF 4.2 reset on radio

I'll see what I can do.
by duncairn
Tue Sep 22, 2020 7:11 pm
Forum: ESP-IDF
Topic: ESP-IDF 4.2 reset on radio
Replies: 7
Views: 10074

Re: ESP-IDF 4.2 reset on radio

If anyone is still interested in this, I think I found the cause... It is rmt! Yes, nothing to do with radio at all. Just a coincidence that my project uses rmt to drive a bunch of LEDs which come on a little before the radio is connected. It takes a couple of seconds for rmt to overwrite memory, he...
by duncairn
Fri May 15, 2020 3:23 pm
Forum: ESP-IDF
Topic: Error when using PPPoS to OTA update
Replies: 2
Views: 3872

Re: Error when using PPPoS to OTA update

Kind of fixed by setting the SPI flash implementation to 'legacy'. Not a proper fix since there are still errors on the mux link, but they are recoverable. I think the problem with non-legacy SPI is just that the errors are more numerous and bigger, so not recoverable and hence the data loss. Still ...
by duncairn
Thu May 14, 2020 10:32 pm
Forum: ESP-IDF
Topic: Error when using PPPoS to OTA update
Replies: 2
Views: 3872

Re: Error when using PPPoS to OTA update

Got exactly the same problem here with this. Talking to a GE310 via lwip PPPoS and the Telit cmux protocol, file downloads perfectly even with two other serial streams coexiting over the mux. Enable esp_ota_xxx() functions and the serial packets get corrupted. It seems to me like a flow control issu...
by duncairn
Mon May 04, 2020 9:37 pm
Forum: ESP-IDF
Topic: ESP-IDF 4.2 reset on radio
Replies: 7
Views: 10074

Re: ESP-IDF 4.2 reset on radio

Yep, did the update, mostly because I wanted to be sure the updated nimble module was there, and it was easier to update the lot than just that :)
by duncairn
Mon May 04, 2020 4:57 pm
Forum: ESP-IDF
Topic: ESP-IDF 4.2 reset on radio
Replies: 7
Views: 10074

ESP-IDF 4.2 reset on radio

I have a project using an Wroom-32 which I developed using ESP-IDF 4.1 and the legacy build tools (i.e. msys2). But 4.1 is behind the times so I tried moving up to 4.2 (legacy tools with 4.2 Dev and Cmake with 4.2 relaese). With any 4.2 version the Wroom resets as soon as I enable Bluetooth: I (1318...