Search found 1911 matches

by WiFive
Sat Sep 15, 2018 10:15 pm
Forum: General Discussion
Topic: IRAM_ATTR and IRQ handlers
Replies: 5
Views: 134

Re: IRAM_ATTR and IRQ handlers

If it is a variable it will be placed in dram but if it is a constant:

https://dl.espressif.com/doc/esp-idf/la ... m-data-ram
by WiFive
Sat Sep 15, 2018 4:12 am
Forum: General Discussion
Topic: IRAM_ATTR and IRQ handlers
Replies: 5
Views: 134

Re: IRAM_ATTR and IRQ handlers

IRAM_ATTR places the code into internal (nonpaged physical) IRAM as opposed to where code is placed by default which is into flash and then executed "in place" from the (paged virtual) cache which is controlled by the MMU.
by WiFive
Sat Sep 15, 2018 1:22 am
Forum: General Discussion
Topic: IRAM_ATTR and IRQ handlers
Replies: 5
Views: 134

Re: IRAM_ATTR and IRQ handlers

Either the interrupt is iram/dram safe meaning it can run when flash/spiram caches are disabled or it isn't. If it isn't then it can use cache memory but will be disabled when cache is unavailable. When you register the interrupt you tell the system what kind it is by specifying flags.
by WiFive
Sat Sep 15, 2018 1:18 am
Forum: General Discussion
Topic: "4 × virtual Wi-Fi interfaces"
Replies: 1
Views: 67

Re: "4 × virtual Wi-Fi interfaces"

Station, softap, espnow, espmesh?
by WiFive
Fri Sep 14, 2018 8:59 pm
Forum: General Discussion
Topic: How many times can you flash?
Replies: 11
Views: 1860

Re: How many times can you flash?

"Warning: Could not auto-detect Flash size (FlashID=0xffffff, SizeID=0xff), defaulting to 4MB"

Isn't the size obtained by reading nonvolatile chip registers? Did you do a test of your other parts to see how many bytes/sectors were failing?
by WiFive
Thu Sep 13, 2018 7:09 pm
Forum: General Discussion
Topic: [FEATURE-REQUEST] Separate ESP-IDF core funtion from user code
Replies: 5
Views: 201

Re: [FEATURE-REQUEST] Separate ESP-IDF core funtion from user code

I'm talking about esp-idf. Version is misleading, I consider 3.1 more like 0.3.1. 3.2 final may be stable enough to be considered more like a 1.0.

Distributors also have these modules now you don't have to buy direct.
by WiFive
Thu Sep 13, 2018 10:30 am
Forum: General Discussion
Topic: [FEATURE-REQUEST] Separate ESP-IDF core funtion from user code
Replies: 5
Views: 201

Re: [FEATURE-REQUEST] Separate ESP-IDF core funtion from user code

It would be nice feature in theory but
1. Core isn't stable enough yet
2. Good to have full firmware backup for fault tolerance
3. Easy to get 8/16mb modules now
4. You can do this to a certain extent with interpreted languages like python, lua, js, ruby
by WiFive
Thu Sep 13, 2018 3:16 am
Forum: ESP32 IDF
Topic: Unicast / Multicast as Unicast
Replies: 6
Views: 170

Re: Unicast / Multicast as Unicast

He is right that lwip and bsd sockets features are not really part of the docs.

https://github.com/search?q=esp32+udp

Go to advanced search