Search found 75 matches

by RMandR
Wed Feb 08, 2023 3:29 pm
Forum: General Discussion
Topic: 10x faster flash programming. Source code ESP32ROM.STUB_CODE?
Replies: 1
Views: 953

10x faster flash programming. Source code ESP32ROM.STUB_CODE?

Is it possible to get access to the the stub code for flash programming? Working on improving the flash programming speed by a few multiples. The 2232HL chip on ESP_PROG is capable of 12Mbps but there may be other limitations on the flash program process that result in errors such as this one in bau...
by RMandR
Sat Jan 28, 2023 7:28 pm
Forum: General Discussion
Topic: USB-Serial Lag issues with Automatic Download esp_tool.py
Replies: 2
Views: 1237

Re: USB-Serial Lag issues with Automatic Download esp_tool.py

RMandR wrote:
Sat Jan 28, 2023 2:44 pm
There is a previous discussion here which might help: https://esp32.com/viewtopic.php?t=8219
Verified. Markus has a solution in the post above that does work on Linux and resolves the latency issue.
by RMandR
Sat Jan 28, 2023 7:27 pm
Forum: Hardware
Topic: Auto download fails in virtual machines possibly due to USB lag
Replies: 9
Views: 10603

Re: Auto download fails in virtual machines possibly due to USB lag

Hi RMandR, Using fcntl and termios, I found a way to get the stuff to work very reliable for me. Unfortunately this only works on Linux. With my limited python competence I did not manage to make the changed script compatible to the other platforms (where fcntl and termios don't exist). Anyway, may...
by RMandR
Sat Jan 28, 2023 2:44 pm
Forum: General Discussion
Topic: USB-Serial Lag issues with Automatic Download esp_tool.py
Replies: 2
Views: 1237

Re: USB-Serial Lag issues with Automatic Download esp_tool.py

There is a previous discussion here which might help: https://esp32.com/viewtopic.php?t=8219

Not sure if there has been further progress from there.
by RMandR
Fri Jan 27, 2023 8:12 pm
Forum: General Discussion
Topic: can esp-prog have hardware failure through over current of FT_nDTR FT_nRTS?
Replies: 0
Views: 700

can esp-prog have hardware failure through over current of FT_nDTR FT_nRTS?

using esp-prog for production and once in a while something blows in the hardware and esp-prog board just refuses to set IO0 and EN pins until we swap it with a new one. At present we have 4 of these _blown_ boards. Wild guess: Q1-Q2 are rated for 500mA and connected to FT_nDTR and FT_nRTS pins whic...
by RMandR
Fri Jan 27, 2023 7:53 pm
Forum: General Discussion
Topic: USB-Serial Lag issues with Automatic Download esp_tool.py
Replies: 2
Views: 1237

USB-Serial Lag issues with Automatic Download esp_tool.py

I'm noticed that automatic download through USB-Serial (FTDI) hardware does not work in some circumstances: - running from guest VM - Some MacOs system - running on Host OS, but being called from within a larger GUI (python) program. I've tried fiddling with the delays in esptool.py reset code witho...
by RMandR
Wed May 04, 2022 12:27 pm
Forum: Hardware
Topic: ESP32-WROOM direct external QSPI flash for mass production programming
Replies: 3
Views: 2407

Re: ESP32-WROOM direct external QSPI flash for mass production programming

@ESP_Sprite thank you for your response. Yes, the idea is to keep esp32 in reset and flash the EXT SPI using something like a SEGGER J-LINK that has support for e.g. Winbond flashes and can theoretically flash at 100Mhz (even at twice the current USB serial speed, we'll save many seconds per device)...
by RMandR
Tue May 03, 2022 1:07 pm
Forum: Hardware
Topic: ESP32-WROOM direct external QSPI flash for mass production programming
Replies: 3
Views: 2407

ESP32-WROOM direct external QSPI flash for mass production programming

For ESP32-WROOM, is there any documentation or guidance on connecting and directly programming the ext QSPI flash chip instead of serial programming via esp32 chip and esp_tool.py? Most QSPI chips these days support 100Mhz as opposed to much slower process of going through ESP32. The datasheet for E...
by RMandR
Sun Apr 03, 2022 3:32 pm
Forum: ESP-IDF
Topic: Weird hang crash lwip stack overflow behaviour after OTA download is complete
Replies: 1
Views: 1584

Re: Weird hang crash lwip stack overflow behaviour after OTA download is complete

Update: The hang and SO occurs when esp_restart() is executing . I tried to follow the wifi API guide saying: Wi-Fi Deinit Phase s8.1: Call :cpp:func:`esp_wifi_disconnect()` to disconnect the Wi-Fi connectivity. s8.2: Call :cpp:func:`esp_wifi_stop()` to stop the Wi-Fi driver. s8.3: Call :cpp:func:`e...
by RMandR
Sat Apr 02, 2022 5:30 pm
Forum: ESP-IDF
Topic: Weird hang crash lwip stack overflow behaviour after OTA download is complete
Replies: 1
Views: 1584

Weird hang crash lwip stack overflow behaviour after OTA download is complete

In IDF4.4 OTA nearly exactly the same as the advanced OTA example. Noticed that sometimes the device hangs/crashes and even the WDT does not get involved reboot . But we see messages from wifi: I (143926) esp_image: Verifying image signature... I (143926) secure_boot_v2: Take trusted digest key(s) f...