Search found 621 matches

by PeterR
Tue Dec 18, 2018 11:09 am
Forum: ESP-IDF
Topic: ESP performance and cache
Replies: 3
Views: 12455

Re: ESP performance and cache

Hi, Thanks for your full answer. 4) External FLASH (& webserver) Around 3.5 MB of webpages. I have scope to reduce. Bootstrap was added but we don't really need it. The server itself will be quite small. The usual stuff, websockets & CGI. I thought SPIFFS as the compile & upload process seemed smoot...
by PeterR
Tue Dec 18, 2018 10:14 am
Forum: ESP-IDF
Topic: IRAM0 segment data does not fit
Replies: 19
Views: 23036

Re: IRAM0 segment data does not fit

Thanks for your full answer. I suspected the BLE RT point. I figure that most people would rather have the IRAM than being able to malloc() when cache is switched off though. I would at least. Plus a lot of coding standards won't allow dynamic malloc() so its a well trodden path to allocate at start...
by PeterR
Mon Dec 17, 2018 1:52 pm
Forum: ESP-IDF
Topic: ESP performance and cache
Replies: 3
Views: 12455

ESP performance and cache

I have run out of IRAM and so start to need to understand performance issues relating to the Cache, ROM and FLASH. The manuals are not entirely clear about what can run and I have not found any performance details/estimates. I will make a few statements in order to draw comment, please correct me as...
by PeterR
Mon Dec 17, 2018 11:43 am
Forum: ESP-IDF
Topic: IRAM0 segment data does not fit
Replies: 19
Views: 23036

Re: IRAM0 segment data does not fit

Had a closer look. We need ESP support. IRAM is used extensively in closed source libraries and/or in things which may be called from an interrupt. If called from an interrupt then we need to know how the interrupt was registered. If I were to pick my top 10 list then I would ask why libbtdm_app.a u...
by PeterR
Mon Dec 17, 2018 10:46 am
Forum: ESP-IDF
Topic: IRAM0 segment data does not fit
Replies: 19
Views: 23036

Re: IRAM0 segment data does not fit

Thanks Ritesh but please read the posts. We know that we need to remove some modules & have already posted the map summary along with a few suggestions. We are looking for concrete suggestions and/or an IDF fix. The IRAM options are not in menuconfig or at least are not obvious. The compiler option ...
by PeterR
Mon Dec 17, 2018 10:10 am
Forum: ESP-IDF
Topic: IRAM0 segment data does not fit
Replies: 19
Views: 23036

Re: IRAM0 segment data does not fit

I encountered the same issue when switching from a master IDF commit to v3.2, I also use BT classic, WiFi, CAN, SPI, HTTP, SPIFFS for now I went back to commit a8754cc, but I really need a solution for this Thanks, I will check. The problem with the older releases is that there are some serious rea...
by PeterR
Fri Dec 14, 2018 1:55 pm
Forum: ESP-IDF
Topic: IRAM0 segment data does not fit
Replies: 19
Views: 23036

Re: IRAM0 segment data does not fit

Thanks, drops me to: Used static IRAM: 120516 bytes Which gives me a little breathing space but that 8K will go fast. 1) What did I lose with the release compile option? Did I loose back trace or anything? 2) How do I trim and/or remove some of the greedy modules? EDIT: For example I can see that li...
by PeterR
Fri Dec 14, 2018 1:29 pm
Forum: ESP-IDF
Topic: IRAM0 segment data does not fit
Replies: 19
Views: 23036

IRAM0 segment data does not fit

I am looking for advise as to how to reduce IRAM footprint and/or reallocate more. Presently I have; Wifi, Ethernet, BLE, SDCARD and use CAN, SPI, I2C, RMT. I will be adding SPIFFS, mDNS, HTTP and an MQTT broker if I can find one. The story so far using v3.2-beta1-34-gfb7ba1baa Integrated my standal...
by PeterR
Wed Dec 12, 2018 9:14 pm
Forum: General Discussion
Topic: Esp32 433mhz communication
Replies: 36
Views: 50812

Re: Esp32 433mhz communication

Indeed. You need to sample >>x2. Remember its noise not the TX that matters. Send 3 times. Check the last two messages (first trains RF). If in doubt look into forward error correction. Sorted. The counter argument is that bits are power - If power is an issue then just add a solar panel - he's low ...
by PeterR
Wed Dec 12, 2018 7:12 pm
Forum: General Discussion
Topic: Esp32 433mhz communication
Replies: 36
Views: 50812

Re: Esp32 433mhz communication

I think he can send whole bytes over SPI. Indeed. Most examples encode 3:1 however. I'm not smart enough to argue why not & its only a small extra step. Actually one reason may be that it gives a '1' in all even when data is 0 and so trains the RF. Also I suppose you can lock onto a signal easier. ...