Search found 606 matches

by fly135
Fri May 11, 2018 6:09 pm
Forum: General Discussion
Topic: manually entering flash mode
Replies: 16
Views: 103048

Re: manually entering flash mode

I just want to confirm: to enter flash mode, I hold down the EN button, and press BOOT, right? And at this point, I should expect the "make flash" command to work? Currently I get this message: Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____.....
by fly135
Fri May 11, 2018 2:22 pm
Forum: General Discussion
Topic: WiFi connecting to Raspberry Pi AP
Replies: 4
Views: 7557

Re: WiFi connecting to Raspberry Pi AP

After I get the SYSTEM_EVENT_STA_START I call esp_wifi_connect(), then I do the following....

Code: Select all

ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_STA));
ESP_ERROR_CHECK(esp_wifi_set_config(ESP_IF_WIFI_STA, &wifi_config));
ESP_ERROR_CHECK(esp_wifi_start());
by fly135
Thu May 10, 2018 5:34 pm
Forum: General Discussion
Topic: Let's talk wifi and TCP
Replies: 6
Views: 10332

Re: Let's talk wifi and TCP

try the "ipref" example in both locations, and see your throughput. The default configs in ESP-IDF v3.1 have LWIP running from ram, as well as Tickrate at 1kHz, along with ethernet frame optimizations. you wont get anything better than that. I just saw your post. I'll take a look at using that as a...
by fly135
Wed May 09, 2018 9:13 pm
Forum: Hardware
Topic: Wifi performance poor despite strong (-9) RSSI, how debug/diagnose?
Replies: 18
Views: 24567

Re: Wifi performance poor despite strong (-9) RSSI, how debug/diagnose?

Just for a comparison, I'm pinging my ESP32 with a computer running cat5 to the wifi router. My ESP is reporting about -50 rssi (router is 5' away) and ping times for 100 tries min 2ms, max 14ms, avg 3ms. And zero packet loss. Are you in an environment where a lot of wifi activity is going on? I pos...
by fly135
Wed May 09, 2018 8:35 pm
Forum: General Discussion
Topic: Ideas on testing memory
Replies: 6
Views: 6980

Re: Ideas on testing memory

John, As an aside ... your engineering woes make me smile ... ESP32 is a hobby for me ... I'd love the opportunity to tinker with ESP32s as a professional paying job full-time :-) ... color me green with envy. I was retired last year. Then a friend that I worked with in the early 90's called me up ...
by fly135
Wed May 09, 2018 5:45 pm
Forum: General Discussion
Topic: Ideas on testing memory
Replies: 6
Views: 6980

Re: Ideas on testing memory

I guess to test RAM, one would want to write known values into each location and validate that they can successfully be read back. Is that how you interpret a RAM check? Yes, There are lots of ram check examples like writing alternating patterns of 0xAA55AA55. And writing rotating bit patterns then...
by fly135
Wed May 09, 2018 5:11 pm
Forum: General Discussion
Topic: Ideas on testing memory
Replies: 6
Views: 6980

Re: Ideas on testing memory

I do have that enabled. It doesn't print anything on boot. My employer is asking that I come up with an array of diagnostic tests for manufacturing, which I can understand. They also wanted benchmarks on flash and ram r/w speed, although I have no idea why that info would be useful to them. I can't ...
by fly135
Wed May 09, 2018 3:56 pm
Forum: General Discussion
Topic: Ideas on testing memory
Replies: 6
Views: 6980

Ideas on testing memory

Wondering if anyone has any ideas of doing a system test and especially checking memory (external SPI PSRAM). Maybe a bootloader that does a system check without having the RTOS running. I looked around the site to see if anyone was already doing diagnostics but didn't really find much.

John A
by fly135
Tue May 08, 2018 6:32 pm
Forum: General Discussion
Topic: What is the purpose of two OTA partition?
Replies: 37
Views: 43917

Re: What is the purpose of two OTA partition?

And now the question... do you see some danger in this approach, one that I couldn't see until now ? The only one I see is that the update process failing to write somewhere in the OTA partition and then not possible to boot that one, but the factory firmware will keep executing to update again, an...
by fly135
Tue May 08, 2018 6:30 pm
Forum: General Discussion
Topic: What is the purpose of two OTA partition?
Replies: 37
Views: 43917

Re: What is the purpose of two OTA partition?

snahmad75 wrote:ok, Alignment applies to offset only not size. which is same and correct on all three examples.
The one that doesn't work exceeds 4MB of flash. That's all I can see that might be an issue.

John A