Search found 8 matches

by Bartosz
Thu Feb 10, 2022 12:56 pm
Forum: ESP-IDF
Topic: BLE memory fragmentation malloc problem
Replies: 0
Views: 1373

BLE memory fragmentation malloc problem

Hi I've used ESP32-PICO-V3-02 in my project so in theory there's a lot of RAM. I need to allocate 134400 bytes buffer for LCD so it must be usable by DMA. I also need to use BLE for data transmission. LCd buffer is allocated using heap_caps_malloc: vlcd = (uint16_t*)heap_caps_malloc(LCD_SCREEN_BYTE_...
by Bartosz
Fri Jul 26, 2019 9:21 am
Forum: ESP-MDF
Topic: mwifi_root_write bug?
Replies: 1
Views: 4776

Re: mwifi_root_write bug?

fixed in v1.0-beta1-4-g867212c
by Bartosz
Wed Jul 24, 2019 2:55 pm
Forum: ESP-MDF
Topic: mwifi_root_write bug?
Replies: 1
Views: 4776

mwifi_root_write bug?

MDF to v1.0-beta1-2-gc1cc50f If I use mwifi_root_write() with MAC that doesn't exist and MWIFI_COMMUNICATE_MULTICAST, it still return MDF_OK instead of ESP_ERR_MESH_NO_ROUTE_FOUND source code: ... mwifi_data.group = false; mwifi_data.communicate = MWIFI_COMMUNICATE_MULTICAST; ... MDF_LOGI("root writ...
by Bartosz
Tue Jul 23, 2019 8:33 am
Forum: ESP-MDF
Topic: OTA Problems
Replies: 6
Views: 10611

Re: OTA Problems

I've upgrade MDF to v1.0-beta1-2-gc1cc50f and recreate my project - now everything is ok.
I was basing on examples\development_kit\light but I've mess with sdkconfig.defaults, now I notice that there are many overrides of standard settings - I suppose that it was source of all my problems.
by Bartosz
Sat Jul 20, 2019 11:12 am
Forum: ESP-MDF
Topic: Max Mesh network size
Replies: 5
Views: 21111

Re: Max Mesh network size

we have another special version(not released on github yet), in that case we design to have hundreds even thousand layers, for each layer maybe only several nodes That sounds great!!! Is there any target date for its release?? I'm also very interested in that version. I've got an intelligent street...
by Bartosz
Mon Jul 15, 2019 2:50 pm
Forum: ESP-MDF
Topic: OTA Problems
Replies: 6
Views: 10611

Re: OTA Problems

It's looks like during OTA root transfers data with maximum bandwidth - node generates watchdog warning and there is also no communication with node during OTA. Adding delay in mupgrade_firmware_send() loop resolves all problems. mupgrade_root.c function mupgrade_firmware_send: .... /** * @brief Sen...
by Bartosz
Thu Jul 11, 2019 11:27 am
Forum: ESP-MDF
Topic: OTA Problems
Replies: 6
Views: 10611

Re: OTA Problems

Thanks for advice, surprisingly my number of mesh buffer queues was set to 64, after change to 32 there's no more crashes.
Watchdog warnings still happens.
by Bartosz
Tue Jul 09, 2019 8:40 pm
Forum: ESP-MDF
Topic: OTA Problems
Replies: 6
Views: 10611

OTA Problems

mesh config: routerless, one device configured as MESH_ROOT another as MESH_NODE, root communicate with PC via UART problem conditions: OTA data is transfered to ROOT, then mlink_ota_send_task is started to program another NODE 1) NODE random crashes during OAT transfer from ROOT to NODE (approximat...