Search found 2344 matches

by ESP_Angus
Mon Apr 16, 2018 6:20 am
Forum: General Discussion
Topic: Questions regarding flash encryption and Secure Boot
Replies: 37
Views: 42248

Re: Questions regarding flash encryption and Secure Boot

Hi Yuriy,

It looks like the flash mode & flash size bytes of the encrypted image have been written as plaintext values. This shouldn't happen, and it may be a bug in the tool you used to flash. What tool and options did you use to write bootloader-encrypted.bin?
by ESP_Angus
Mon Apr 16, 2018 12:14 am
Forum: General Discussion
Topic: Questions regarding flash encryption and Secure Boot
Replies: 37
Views: 42248

Re: Questions regarding flash encryption and Secure Boot

I write the firmware and bootloader, in the terminal I see how the bootloader encrypts the memory. Next, I overwrite the firmware file and the table file in encrypted form. Everything is working. To encrypt the bootloader file, I use the command $python /home/osboxes/esp/esp-idf/components/esptool_...
by ESP_Angus
Fri Apr 13, 2018 2:19 am
Forum: General Discussion
Topic: Questions regarding flash encryption and Secure Boot
Replies: 37
Views: 42248

Re: Questions regarding flash encryption and Secure Boot

Hi I have a small question about rewriting the bootloader. So I use the pregenerated key, I quietly encrypt and rewrite the firmware. But I can not re-write the bootloader, even in encrypted form. Why can not I overwrite the bootloader with an encrypted file? If you don't have secure boot enabled, ...
by ESP_Angus
Wed Apr 11, 2018 6:40 am
Forum: ESP-IDF
Topic: Packet transmission failure caused by Not enough space
Replies: 10
Views: 11480

Re: Packet transmission failure caused by Not enough space

I'll check with my colleagues if this is possible. The complexity is that there is an entire TCP/IP stack between your code which sends a UDP packets and the WiFi driver transmit buffers. At any time the TCP/IP stack may have to respond to a DHCP packet, or an ARP packet, or an ICMP packet, or some ...
by ESP_Angus
Tue Apr 10, 2018 11:49 pm
Forum: ESP-IDF
Topic: Packet transmission failure caused by Not enough space
Replies: 10
Views: 11480

Re: Packet transmission failure caused by Not enough space

Hi Gaoqianjin, There's a limit to the number of buffers available in the WiFi driver to transmit frames. Because each WiFi frame has to be ACKed at the RF layer, and because WiFi is a shared medium with mixed signal quality at times, there can be delays which cause this buffer to back up. You can tu...
by ESP_Angus
Tue Apr 10, 2018 11:39 pm
Forum: Hardware
Topic: Unable to flash ESP32-WROOM - Getting RAM errors
Replies: 7
Views: 9572

Re: Unable to flash ESP32-WROOM - Getting RAM errors

Hi vs_pedro, The intermittent issues you have certainly point to something with hardware. Either power supply integrity, or signal integrity for the serial lines. Suggest double-checking all connections for signal, power, and grounds. A couple of additional questions: - Is anything connected to GPIO...
by ESP_Angus
Tue Apr 10, 2018 5:39 am
Forum: General Discussion
Topic: ESP32 Low Voltage Behavior
Replies: 8
Views: 11685

Re: ESP32 Low Voltage Behavior

ESP_Angus, The very best thing you can do is use a "protected" Lithium battery I didn't mention it but the lithium battery is not a rechargeable battery. If it's very "spikey", maybe look into using shorter/thicker wires between the battery and the circuit it's powering The traces are 20 mil wide o...
by ESP_Angus
Tue Apr 10, 2018 2:50 am
Forum: ESP-IDF
Topic: IRAM fragmentation at startup?
Replies: 4
Views: 6937

Re: IRAM fragmentation at startup?

Hi Alekos, I've replied to a few points below inline. Hopefully this will help explain the situation. You can also find some supporting information in the docs here: http://esp-idf.readthedocs.io/en/latest/api-reference/system/mem_alloc.html http://esp-idf.readthedocs.io/en/latest/api-guides/general...
by ESP_Angus
Mon Apr 09, 2018 1:43 am
Forum: General Discussion
Topic: Any timeline for IDF release 3.0
Replies: 2
Views: 3914

Re: Any timeline for IDF release 3.0

v3.0 is in final regression testing, there shouldn't be any more significant changes before the final release. I'd suggest using the release/v3.0 branch now (which is a long way ahead of the v3.0-rc1 tag, as you've noted). This branch will become the final release soon, and you can fast-forward it t...
by ESP_Angus
Mon Apr 09, 2018 1:37 am
Forum: General Discussion
Topic: ESP32 Low Voltage Behavior
Replies: 8
Views: 11685

Re: ESP32 Low Voltage Behavior

Hi jerry, The very best thing you can do is use a "protected" Lithium battery (or add a lithium cell protection chip to the circuit you have). This will cut the battery off from the circuit when it reaches a low voltage threshold (usually 3.0V), and reintroduce it to the circuit when it charges back...