Search found 11 matches

by devanl
Fri Aug 21, 2020 4:29 am
Forum: ESP32 IDF
Topic: esp-idf git tree becomes dirty after git pull latest code
Replies: 5
Views: 296

Re: esp-idf git tree becomes dirty after git pull latest code

So, depending on how far you jumped when migrating to master, in some cases, the submodule dependencies of another submodule may have changed and left behind a submodule directory whose contents git suddenly no longer is tracking as a submodule. That can lead to the behavior you see where you have p...
by devanl
Tue Aug 04, 2020 5:34 am
Forum: ESP32 IDF
Topic: UART bootloader security
Replies: 2
Views: 268

Re: UART bootloader security

Hi Angus,

Thanks for the explanation. Knowing more about how the security features work makes me a bit more comfortable making some of the tradeoffs between security and other requirements.
by devanl
Mon Aug 03, 2020 9:11 pm
Forum: ESP32 IDF
Topic: UART bootloader security
Replies: 2
Views: 268

UART bootloader security

Is the ROM serial bootloader for the ESP32 rev 3 reasonably secure if left enabled? That is, if I set the efuses as follows: Efuse Name Description Value R/W FLASH_CRYPT_CNT Flash encryption mode counter 127 R/- UART_DOWNLOAD_DIS Disable UART download mode False R/- FLASH_CRYPT_CONFIG Flash encrypti...
by devanl
Mon Jun 15, 2020 8:29 pm
Forum: General Discussion
Topic: esp32 s2 DFU update
Replies: 9
Views: 1151

Re: esp32 s2 DFU update

Hi, author of the webdfu proof-of-concept code here. I just want to second rainman's suggestion to add a WCID descriptor to the ROM DFU bootloader so that Windows will automatically install a generic WinUSB driver. This would be a huge step forward in usability for browser based IDEs and demos that ...
by devanl
Wed Apr 15, 2020 11:07 pm
Forum: ESP32 IDF
Topic: AWS S3 - root certificate changing
Replies: 4
Views: 2551

Re: AWS S3 - root certificate changing

I don't have any experience with an actual certificate changeover, but my experience with concatenated PEM files and the existing AWS / ESP-IDF library code is that they seem to work fine, so I would expect that you could put both certificates in a single concatenated PEM file and you would be able ...
by devanl
Thu Mar 12, 2020 9:39 pm
Forum: ESP32 IDF
Topic: anyone using Ubuntu under Windows 10?
Replies: 7
Views: 2168

Re: anyone using Ubuntu under Windows 10?

I've tried setting different speeds in the menuconfig Serial Flasher Config-> 'idf.py monitor' baud rate (921600 bps) ---> No matter what I set it to, when the program goes to flash the board, it still reports as 460800. Hmm, I'm not sure what would cause that issue. Fow now, maybe just manually pa...
by devanl
Thu Mar 12, 2020 3:57 pm
Forum: ESP32 IDF
Topic: anyone using Ubuntu under Windows 10?
Replies: 7
Views: 2168

Re: anyone using Ubuntu under Windows 10?

I do a lot of development with Ubuntu under WSL on Windows 10. I've since switched to using openocd (running under Windows) to flash my boards, but when I was still using the bootloader, I ran into a similar issue. I found the discussion on a GitHub issue helpful - oddly enough, certain baudrates wo...
by devanl
Thu Mar 05, 2020 6:04 pm
Forum: ESP32 IDF
Topic: Cannot access External Flash memory when External SPI Ram enabled
Replies: 6
Views: 1516

Re: Cannot access External Flash memory when External SPI Ram enabled

nimeshk wrote:
Thu Mar 05, 2020 2:41 pm
@devanl will this workaround cause any issues in the heap allocation?
Not that I'm aware of - the structs being allocated in spi_bus_add_flash_device() look pretty small to me - just function pointers and other assorted fields, no giant buffers or anything.
by devanl
Thu Mar 05, 2020 7:17 am
Forum: ESP32 IDF
Topic: Cannot access External Flash memory when External SPI Ram enabled
Replies: 6
Views: 1516

Re: Cannot access External Flash memory when External SPI Ram enabled

Hi, It sounds like you've run into an issue that I reported a while back: https://github.com/espressif/esp-idf/issues/4379 As a work-around until Espressif makes a fix, you can patch spi_bus_add_flash_device() to always use MALLOC_CAP_INTERNAL when allocating memory for the SPI bus driver struct.
by devanl
Wed Jan 08, 2020 5:54 pm
Forum: ESP32 IDF
Topic: Network Packet Logging Hooks?
Replies: 2
Views: 454

Re: Network Packet Logging Hooks?

Thanks, mitmproxy does look like it would work well for development.

I would still really like to be able to record packet captures on the ESP32 for field troubleshooting purposes, but I think I can get by with mitmproxy for development.

Go to advanced search