Search found 10 matches

by vjacobs
Tue Aug 31, 2021 8:12 am
Forum: ESP-IDF
Topic: RS485 RTS control too slow
Replies: 6
Views: 5410

Re: RS485 RTS control too slow

Hi @ffrige, You can achieve better timings when you surpass the esp-idf driver and code up the UART ISR and other logic yourself. It's a bit more work but it surely pays off. In our project, we are using 2MBps UART on a half-duplex RS485 bus. When the interrupt fires for the TX_DONE interrupt, I dir...
by vjacobs
Tue Mar 10, 2020 9:48 pm
Forum: ESP-IDF
Topic: How to avoid accidental re-flash when secure boot enabled?
Replies: 5
Views: 8338

Re: How to avoid accidental re-flash when secure boot enabled?

HI, I was having the same issue for our production. I'm calling the esptool.py in a batch script, that first runs espefuse.py and checks (through string searching and substring) the ABS_DONE_0 bit before erasing/flashing. If it set to 1, abort. If it's 0, I start the flash procedure. I was a bit sur...
by vjacobs
Fri Dec 20, 2019 1:09 pm
Forum: ESP-IDF
Topic: C version of esptool?
Replies: 3
Views: 6634

Re: C version of esptool?

Hello, if your ESP32 is already running code (e.g. v1.0) which you then want to update (e.g. to v1.1), you can use the native OTA update functionality of the IDF to update your ESP and then send the actual binary through a link of your choice from the STM32 towards the ESP32. For example, you could ...
by vjacobs
Fri Nov 01, 2019 11:39 am
Forum: ESP-IDF
Topic: Support for Serial Management Interface (SMI)
Replies: 2
Views: 6162

Re: Support for Serial Management Interface (SMI)

Hi @Krajaan, We're using the same PHY in our project. The SMI messages are generated through the hardware MAC contained in the ESP32. As such, you can't alter the message structure, which you would need for this PHY. You will have to use I2C to communicate with the chip, this will allow you to acces...
by vjacobs
Sat Oct 19, 2019 1:15 pm
Forum: ESP-IDF
Topic: Real firmware size
Replies: 3
Views: 4660

Re: Real firmware size

WiFive wrote:No, actual bin size.

Thanks WiFive for your answer, but then I'm over the limit of one partition of 1M, no? (1063377 > 1048576).
I would expect a warning or error in this case?

Best
Vincent
by vjacobs
Sat Oct 19, 2019 9:24 am
Forum: ESP-IDF
Topic: Real firmware size
Replies: 3
Views: 4660

Real firmware size

Hi all, I've searched around for this on the docs and this forum but can't find a conclusive answer. Which firmware size counts when calculating remaining space with regards to the given partition table? For example: I'm having a standard OTA partition table: # Espressif ESP32 Partition Table # Name...
by vjacobs
Thu Aug 22, 2019 7:51 am
Forum: ESP-IDF
Topic: Enabling Flash Encryption after Secure Boot
Replies: 4
Views: 5199

Re: Enabling Flash Encryption after Secure Boot

Hi Angus,

That's ok and thanks for the fast clarification!

Best,
Vincent
by vjacobs
Thu Aug 22, 2019 7:12 am
Forum: ESP-IDF
Topic: Enabling Flash Encryption after Secure Boot
Replies: 4
Views: 5199

Enabling Flash Encryption after Secure Boot

Hi all, I am using ESP-IDF v3.3rc on an ESP-WROOM-32. I have succesfully enabled Secure Boot on my module and everything seems to run fine and all fuses seem to be in correct state. My bootloader was set to 'One-Time Flash' since I'm targeting a production environment. I now want to try to enable Fl...
by vjacobs
Tue May 21, 2019 10:34 am
Forum: ESP-IDF
Topic: Use of SecureBoot+Flash Encryption in mass production
Replies: 3
Views: 10490

Re: Use of SecureBoot+Flash Encryption in mass production

Thanks WiFive and ESP_Angus for the replies! That cleared up quite some things. It seems that a combination of 'Option 2' in the link you posted (using HTTPS OTA to also flash the full firmware with a new bootloader that has flash encryption enabled) with using Encrypted NVS to store custom activati...
by vjacobs
Mon May 20, 2019 9:31 am
Forum: ESP-IDF
Topic: Use of SecureBoot+Flash Encryption in mass production
Replies: 3
Views: 10490

Use of SecureBoot+Flash Encryption in mass production

Hello, We're working on a ESP32 based product that will hit large production numbers later this year. After carefully reading the documentation and checking the forum, I'm having some questions about the usage of the Secure Boot and Flash Encryption mechanism, which will be important to plan the act...