Search found 48 matches

by human890209
Mon Sep 10, 2018 8:17 am
Forum: Report Bugs
Topic: [ESP32] FlashDownloadTool_v3.6.4 [Win10x64] Report Error after enable Flash Encryption
Replies: 7
Views: 2941

Re: [ESP32] FlashDownloadTool_v3.6.4 [Win10x64] Report Error after enable Flash Encryption

Hi, @costaud, thanks. I read these instructions: https://docs.espressif.com/projects/esp-idf/en/latest/security/flash-encryption.html https://docs.espressif.com/projects/esp-idf/en/latest/security/secure-boot.html and this (the diagrams are welcomed): https://blog.csdn.net/espressif/article/details/...
by human890209
Sun Sep 09, 2018 3:15 am
Forum: Hardware
Topic: [Answered] Exposing the EN and Boot buttons off DevKitC
Replies: 6
Views: 11635

Re: [Answered] Exposing the EN and Boot buttons off DevKitC

Hi, I got a DOIT ESP32 board, I press and hold Boot key when downloading the flash when flashing start I let it go. But the DOIT ESP32 didn't get a Reset button. I tried to press EN or BOOT, or together, but the board didn't reset. But the board does reset when clicking the Reset button of Arduino I...
by human890209
Sat Sep 08, 2018 9:17 am
Forum: Report Bugs
Topic: [ESP32] FlashDownloadTool_v3.6.4 [Win10x64] Report Error after enable Flash Encryption
Replies: 7
Views: 2941

[ESP32] FlashDownloadTool_v3.6.4 [Win10x64] Report Error after enable Flash Encryption

Hi, I'm using ESPFlashDownloadTool_v3.6.4 My OS is win10x64 My device is MH-ET ESP32MiniKit which uses an ESP-WROOM-32 module. I tested download bins files with default security.conf, it worked. But I tried to download with Flash Encryption enabled, it failed. :( Here is my security.conf [DEBUG MODE...
by human890209
Sat Sep 08, 2018 5:45 am
Forum: ESP32 Arduino
Topic: Questions about Flash Encryption
Replies: 3
Views: 1233

Questions about Flash Encryption

I'm using ESP32 Arduino with Arduino IDE, and I read the ESP-IDF Programming Guide to learn the Flash Encryption and Secure Boot. My target is to protect my firmware codes from copier and cracker. I think Flash Encryption is what I need. I guess the simplest way of doing that is by Reflashing via Pr...
by human890209
Thu Sep 06, 2018 2:51 am
Forum: ESP32 Arduino
Topic: Help! How to setup a multi-master I2C?
Replies: 0
Views: 772

Help! How to setup a multi-master I2C?

Hi, I tested my I2C code on ESP32, some wired things happen. And I checked the TwoWire library and got confused with the sendStop argument. I guess the sendStop can only be set to TRUE or the message won't be received or sent. I noticed ESP32 I2C used a queue system. I used Arduino boards and ESP826...
by human890209
Tue Sep 04, 2018 9:59 am
Forum: ESP32 Arduino
Topic: How to cancel the Interrupts Stack?
Replies: 6
Views: 1511

Re: How to cancel the Interrupts Stack?

Hi, thanks.@ESP_Angus I know that. It's cool to have more hardware serials on ESP32, but I use the Hardware Serial to communicate with other Device, cause that should be Normal. I use software serials to communicate with my programmed boards, for example, ESP32 to ESP32. I don't use I2C or SPI to co...
by human890209
Mon Sep 03, 2018 1:42 pm
Forum: ESP32 Arduino
Topic: How to cancel the Interrupts Stack?
Replies: 6
Views: 1511

Re: How to cancel the Interrupts Stack?

Hi, @ESP_Angus Thanks for your reply. I get the code from this page: https://techtutorialsx.com/2017/09/30/esp32-arduino-external-interrupts/ Thanks for your advice that these lines could be canceled in the ISR, portENTER_CRITICAL_ISR(&mux); portEXIT_CRITICAL_ISR(&mux); I'm trying to do SoftwareSeri...
by human890209
Mon Sep 03, 2018 8:29 am
Forum: ESP32 Arduino
Topic: How to cancel the Interrupts Stack?
Replies: 6
Views: 1511

How to cancel the Interrupts Stack?

Hi, My code is similar to this: const byte interruptPin = 25; volatile int interruptCounter = 0; int numberOfInterrupts = 0; [b]portMUX_TYPE mux = portMUX_INITIALIZER_UNLOCKED;[/b] void [b]IRAM_ATTR [/b]handleInterrupt() { [b]portENTER_CRITICAL_ISR(&mux);[/b] interruptCounter++; [b]portEXIT_CRITICAL...
by human890209
Fri Aug 24, 2018 12:39 am
Forum: ESP32 Arduino
Topic: What's the advantage of SigmaDelta?
Replies: 9
Views: 3463

Re: What's the advantage of SigmaDelta?

Thanks, JoaoLopesF
SigmaDelta is faster than DAC.
And have you compared SigmaDelta with LEDC? If just for PWM usage, is SigmaDelta still got an advantage over LEDC?
by human890209
Sat Aug 18, 2018 2:28 am
Forum: ESP32 Arduino
Topic: Why each instance of my class consume 20byte of memory at least?
Replies: 9
Views: 2119

Re: Why each instance of my class consume 20byte of memory at least?

Hi, And I made more tests. The results show that the margins of the new instance are not increasing, they only change in a pattern such as (6 6 12 6 6 12). So if calculate the average of 100 instances' memory consumes, the number doesn't change. So big memory won't cause lower efficiency. My earlier...