Search found 2344 matches

by ESP_Angus
Thu Feb 07, 2019 11:10 pm
Forum: ESP-IDF
Topic: Splitting ESP32 app over multiple partitions
Replies: 4
Views: 5228

Re: Splitting ESP32 app over multiple partitions

The themadsens, Sorry noone replied to this when you first posted. Another longer thread discussing the same idea is here: https://esp32.com/viewtopic.php?f=13&t=5950 The short answer is that this is technically possible but there is no easy or supported way to do this. A few details: The addresses ...
by ESP_Angus
Thu Feb 07, 2019 4:24 am
Forum: General Discussion
Topic: Api usage in IRAM_ATTR interrupts
Replies: 3
Views: 6907

Re: Api usage in IRAM_ATTR interrupts

For a full explanation, see here: https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/system/intr_alloc.html#iram-safe-interrupt-handlers The short answer is: The restriction of only calling functions in IRAM only applies if the ESP_INTR_FLAG_IRAM is provided when the interrupt is al...
by ESP_Angus
Thu Feb 07, 2019 4:21 am
Forum: ESP-IDF
Topic: 802.11 error frame reception
Replies: 5
Views: 5845

Re: 802.11 error frame reception

I see, thanks for explaining. I've asked the Wi-Fi team if it's possible to forward frames with bad FEC to the sniffer (promiscuous) interface.

We won't get an answer until next week, due to the Spring Festival holiday.
by ESP_Angus
Wed Feb 06, 2019 10:05 pm
Forum: ESP-IDF
Topic: Multiple timers using single hardware timer
Replies: 5
Views: 7387

Re: Multiple timers using single hardware timer

Hi Is there any sample code available for Multiple timer implementation using a single HW timer as base ?. Yes! This is a common enough requirement that a high resolution timer abstraction is available in ESP-IDF: https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/system/esp_timer....
by ESP_Angus
Tue Feb 05, 2019 9:55 pm
Forum: General Discussion
Topic: int main() vs void main() in esp-idf examples
Replies: 2
Views: 8268

Re: int main() vs void main() in esp-idf examples

Sure, I can explain this: The C standard provides a standard "main routine" form, which is the "int main()" you're referring to. Microcontroller programs usually also use "int main()" to conform to the standard, even though the main() routine on a microcontroller usually never returns. (Microcontrol...
by ESP_Angus
Tue Feb 05, 2019 9:40 pm
Forum: Hardware
Topic: First Stage bootloader on RXD0 not responding to sync
Replies: 2
Views: 3769

Re: First Stage bootloader on RXD0 not responding to sync

So the sync message to the ESP32 is being received via an RS485 to TTL interface chip? And the sync message is being sent from an USB FTDI chip driving a TTL to RS485 interface chip? I can't think of any reason this shouldn't work. If you have some logic analyzer captures at the RX0D pin, can you co...
by ESP_Angus
Tue Feb 05, 2019 2:26 am
Forum: ESP32 Arduino
Topic: ASK (wireless communication) Library for ESP32
Replies: 1
Views: 3775

Re: ASK (wireless communication) Library for ESP32

Moderator's note: Moved to Arduino subforum as this question is about an Arduino library.
by ESP_Angus
Tue Feb 05, 2019 2:25 am
Forum: ESP-IDF
Topic: Eclipse generating 'Invalid Args' for ESP_LOG() macros
Replies: 5
Views: 6384

Re: Eclipse generating 'Invalid Args' for ESP_LOG() macros

If you use F3 to "go to" the source file represented by the "#include esp_log.h" line, does it go to the correct source file? Are that header file's recursive includes properly referenced?
by ESP_Angus
Tue Feb 05, 2019 12:35 am
Forum: General Discussion
Topic: What values to use for "address" in esptool.py write_flash and read_flash functions?
Replies: 1
Views: 8528

Re: What values to use for "address" in esptool.py write_flash and read_flash functions?

1. For read, how does one decide how much to read? For example, if the 2MB region that was read consist of multiple files, how do I extract them from flash_contents.bin? The flash region may also have been read partially, that is one of the files is stored beyond the 2MB mark, how does one avoid su...
by ESP_Angus
Mon Feb 04, 2019 6:45 am
Forum: ESP-IDF
Topic: 802.11 error frame reception
Replies: 5
Views: 5845

Re: 802.11 error frame reception

Do I understand correctly that you want to be able to receive invalid 802.11 data frames? I don't think this is possible on ESP32, the lower MAC layer discards them at an early stage (it more or less has to, in order to maintain good throughput of valid frames.) Maybe I don't understand your full pu...