Search found 300 matches

by jcsbanks
Tue Jun 05, 2018 4:08 pm
Forum: ESP32 IDF
Topic: Separate user code from system code to decrease ota binary size
Replies: 9
Views: 3167

Re: Separate user code from system code to decrease ota binary size

I haven't started with partitions/OTA on ESP32 yet, but do a lot of related tricks on automotive engine control units running Tricore microcontrollers using GNU C and linker scripts with bits of assembly where necessary to bypass, replace or augment existing compiled functions, including calling exi...
by jcsbanks
Tue Jun 05, 2018 11:26 am
Forum: ESP32 IDF
Topic: esp_wifi_connect() does not yield to other tasks?
Replies: 5
Views: 2014

Re: esp_wifi_connect() does not yield to other tasks?

Bit more context, in this case with the 5 second delay between esp_wifi_connect and starting task_RMT_Rx: void app_main() { nvs_flash_init(); tcpip_adapter_init(); ESP_ERROR_CHECK( esp_event_loop_init(event_handler, NULL) ); wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT(); ESP_ERROR_CHECK( esp_w...
by jcsbanks
Tue Jun 05, 2018 11:05 am
Forum: ESP32 IDF
Topic: esp_wifi_connect() does not yield to other tasks?
Replies: 5
Views: 2014

esp_wifi_connect() does not yield to other tasks?

I have a task called task_RMT_Rx that regularly flushes an RMT receive buffer that records pulse width hi/lo pairs. Because my hi/lo pairs are continuous, I have to do this as no interrupt can be called. If task_RMT_Rx is not run often enough, the RMT buffer overflows and I have to do a rather clums...
by jcsbanks
Sun Jun 03, 2018 8:42 am
Forum: Hardware
Topic: About the CAN controller.
Replies: 174
Views: 115523

Re: About the CAN controller.

ESP32 is little endian but most vehicles I have dealt with put 16 bit values big endian in CAN frames even if their CPU is little endian. 12 bit is also common for torque values.
by jcsbanks
Mon Apr 30, 2018 12:19 pm
Forum: Hardware
Topic: Need 16 MB Flash supported ESP32-WROVER module
Replies: 10
Views: 3763

Re: Need 16 MB Flash supported ESP32-WROVER module

Analog Lamb said they could not do 1000 qty and also didn't have FCC/CE testing/markings for 16MB WROOM, I did not ask about WROVER.
by jcsbanks
Sat Apr 28, 2018 5:09 pm
Forum: Hardware
Topic: About the CAN controller.
Replies: 174
Views: 115523

Re: About the CAN controller.

Glad you fixed. Looks like it needs some C preprocessor conditionals.
by jcsbanks
Sat Apr 28, 2018 7:48 am
Forum: Hardware
Topic: About the CAN controller.
Replies: 174
Views: 115523

Re: About the CAN controller.

If you are using menuconfig I think you have to add code to use what is defined there, but I never progressed that method as all it really does is change the pins and I prefer to do that in my code when changing between test boards for quicker compilation. I think it could be the same issue because ...
by jcsbanks
Sun Apr 15, 2018 12:53 pm
Forum: ESP32 IDF
Topic: Does esp_wifi_start suspend tasks on the app core?
Replies: 0
Views: 711

Does esp_wifi_start suspend tasks on the app core?

I get RMT overflows with esp_wifi_start. I drain RMT buffers in a 5ms task and usually only use 1 or 2 of the 64 RMT records, but when WiFi starts I am getting overflow. I am going to try this week to narrow it down and then produce minimal example if I cannot, but would like to know if esp_wifi_sta...
by jcsbanks
Sat Apr 14, 2018 9:21 pm
Forum: Hardware
Topic: CAn controller
Replies: 9
Views: 3706

Re: CAn controller

Good advice, thanks Markus.
by jcsbanks
Sat Apr 14, 2018 8:22 am
Forum: Hardware
Topic: CAn controller
Replies: 9
Views: 3706

Re: CAn controller

Kvaser explain it: Q: What happens if a node is alone on the bus and tries to transmit? A: The node will, of course, win the arbitration and happily proceeds with the message transmission. But when the time comes for acknowledging… no node will send a dominant bit during the ACK slot, so the transmi...

Go to advanced search