Search found 30 matches

by NevynSelby
Mon Sep 25, 2023 5:09 pm
Forum: ESP-IDF
Topic: Board reboots after uplifting IDF from 4.2 to 5.1
Replies: 0
Views: 459

Board reboots after uplifting IDF from 4.2 to 5.1

So we have an application originally developed using IDF 4.2 and I am in the process of uplifting to 5.1. So I encountered the usual trivial stuff that needed addressing, stricter compiler, obvious changes to structures and components etc. I have resolved these with the exception of legacy ADC that ...
by NevynSelby
Wed Jul 14, 2021 8:27 am
Forum: ESP-IDF
Topic: heap_caps_alloc_failed_hook called for 0 byte allocation in bluetooth app
Replies: 0
Views: 1409

heap_caps_alloc_failed_hook called for 0 byte allocation in bluetooth app

So we have an application which is using bluetooth and we are adding a characteristic. The code ends up in BTA_GATTS_AddCharacteristic at line 242 which looks like this in the current master branch: p_buf->attr_val.attr_val = (uint8_t *)osi_malloc(len); if(p_buf->attr_val.attr_val != NULL){ memcpy(p...
by NevynSelby
Fri Jun 11, 2021 5:23 am
Forum: ESP-IDF
Topic: Application resetting every 13m20s
Replies: 3
Views: 3438

Re: Application resetting every 13m20s

Have you tried connecting a serial cable to the serial port on the ESP32 and using

Code: Select all

idf.py monitor
If a trace is generated then idf.py should be able to help interpret the stack trace.

Hope this helps,
Mark
by NevynSelby
Thu Sep 17, 2020 4:01 pm
Forum: ESP-IDF
Topic: Segger SystemView (Mac)
Replies: 0
Views: 1877

Segger SystemView (Mac)

I'm just trying to evaluate the SystemView application as a possible additional tool for debugging and I'm running into issues with the example heap logging application. I'm following the example https://github.com/espressif/esp-idf/tree/master/examples/system/sysview_tracing_heap_log and I have man...
by NevynSelby
Thu Jul 16, 2020 4:20 pm
Forum: ESP-IDF
Topic: Interrupt poll(...)
Replies: 1
Views: 2524

Interrupt poll(...)

The Problem: I have a system with multiple tasks and one of the tasks performs a poll on a socket. One of the other tasks needs to be able to stop the poll operation. What I've tried What I would normally consider is to create an unnamed pipe and add an additional file descriptor to the poll call a...
by NevynSelby
Mon Mar 23, 2020 2:29 pm
Forum: IDEs for ESP-IDF
Topic: FreeRTOS Task Aware Debugger?
Replies: 8
Views: 16770

Re: FreeRTOS Task Aware Debugger?

How far away are we from seeing this? I really want to stop using Eclipse and switch to VS Code.

Also, if you want a beta tester I'm happy to help.

Regards,
Mark
by NevynSelby
Tue Feb 11, 2020 2:27 pm
Forum: ESP-IDF
Topic: Installing esp-idf 4.0 RC Tools
Replies: 2
Views: 4583

Re: Installing esp-idf 4.0 RC Tools

Thank you for your quick response, I'll give your suggestions a go.

Regards,
Mark
by NevynSelby
Tue Feb 11, 2020 12:29 pm
Forum: ESP-IDF
Topic: Installing esp-idf 4.0 RC Tools
Replies: 2
Views: 4583

Installing esp-idf 4.0 RC Tools

I am having some problems installing the IDF for the 4.0 RC on a Mac. Environment information: MacOS: 10.15.2 Python: 3.7.6 Python environment managed by pyenv Branch checked out: 463a9d8b v4.0 I get the following output when I run the install.sh script: Installing ESP-IDF tools Installing tools: xt...
by NevynSelby
Thu Jan 30, 2020 9:00 am
Forum: ESP-IDF
Topic: SPI Master Slave handshake with spi_device_queue_trans
Replies: 13
Views: 13366

Re: SPI Master Slave handshake with spi_device_queue_trans

Are you using DMA ? If so what is the value for SPI_BUF_SIZE_SMALL ? From the SPI Slave documentation: The ESP32 DMA hardware has a limit to the number of bytes sent by a Host and received by a Device. The transaction length must be longer than 8 bytes and a multiple of 4 bytes; otherwise, the SPI h...
by NevynSelby
Thu Jan 16, 2020 11:58 am
Forum: ESP-IDF
Topic: IDF and ESPTOOL_PY Licence Clarification Request
Replies: 15
Views: 17335

Re: IDF and ESPTOOL_PY Licence Clarification Request

ESP_igrr wrote:
Sun Jan 12, 2020 3:29 pm
can share the early version with you. It doesn't utilize the stub (for the same reason you found) and therefore doesn't support compression, so upload times will be longer than those with esptool.py.
ESP_igrr,

Did you get my contact details? I think I have DM'd them to you.

Regards,
Mark