Search found 42 matches

by bonmotwang
Mon Mar 22, 2021 3:57 am
Forum: ESP-IDF
Topic: mbedtls_ssl_handshake returns 0x2700 in China
Replies: 0
Views: 2301

mbedtls_ssl_handshake returns 0x2700 in China

We have a IoT project using AZure. The product is working no problem in EU and US/Canada. But when we test it in China, we got 0x2700 error from mbedtls_ssl_handshake. What do we need to do to be able to use SSL connection in China. Do we need new CA certificate from Chinese government or they need ...
by bonmotwang
Sun Dec 20, 2020 11:59 pm
Forum: General Discussion
Topic: What is this: Could NOT find Perl (missing: PERL_EXECUTABLE)?
Replies: 1
Views: 3420

What is this: Could NOT find Perl (missing: PERL_EXECUTABLE)?

Just curious what does this mean?
My projects compile OK, but always wanted to know why the compiler is looking for Perl.
Thanks.
by bonmotwang
Wed Mar 25, 2020 4:16 pm
Forum: General Discussion
Topic: Where to store software license key
Replies: 1
Views: 3427

Where to store software license key

Hello. I am developing a product use ESP32 module. The firmware image will be released / sold with a license key based on MAC address on each module. My question is: - Is it a good idea to use nvs_storage.c lib to save the key? - Is it internal flash or SPI to the external. If it is external, it doe...
by bonmotwang
Mon Mar 09, 2020 9:23 am
Forum: ESP-IDF
Topic: Protection on the flash read
Replies: 12
Views: 33391

Re: Protection on the flash read

Thanks Angus. Now I understand!
A couple more questions:
1) After I set the module to release mode can I change it back to development mode or plain text mode?
2) I am trying to avoid OTA in production. Is it possible? Thanks again
by bonmotwang
Fri Mar 06, 2020 4:49 pm
Forum: ESP-IDF
Topic: Protection on the flash read
Replies: 12
Views: 33391

Re: Protection on the flash read

After reading more about the encryption. Development Mode should work for me. (Forgot to mention that I am using ESP32-WROVER module) This is why I think it works for me: AES key is stored in the CPU, it is different on every ESP32-WROVER. My application is stored in the external SPI flash, encrypte...
by bonmotwang
Fri Mar 06, 2020 4:39 pm
Forum: ESP-IDF
Topic: Protection on the flash read
Replies: 12
Views: 33391

Re: Protection on the flash read

Thank you for the deep explanation. The software development is finished, We are about into production now. Just want a way to protect the product from copied. I thought it is just like "turn on the read back protect" as I have done on other MPU's. Understand this is the Flash outside of the CPU. Se...
by bonmotwang
Fri Mar 06, 2020 4:03 am
Forum: ESP-IDF
Topic: Protection on the flash read
Replies: 12
Views: 33391

Re: Protection on the flash read

In that article.
What does this mean?
"Enabling flash encryption limits the options for further updates of the ESP32".
So I cannot update firmware anymore after the encryption??
by bonmotwang
Fri Mar 06, 2020 3:21 am
Forum: ESP-IDF
Topic: Protection on the flash read
Replies: 12
Views: 33391

Re: Protection on the flash read

Thanks. I was reading that article, but it seems like I have to use OTA to download the firmware. So far my product isn't using WiFi or BLE. In production they only plan to use UART0 to download the software. I will read the article again. Another question, how to verify that my firmware is protecte...
by bonmotwang
Mon Mar 02, 2020 1:32 am
Forum: ESP-IDF
Topic: Protection on the flash read
Replies: 12
Views: 33391

Re: Protection on the flash read

Does that mean the read back protection is enable automatically?
I am using the ESP_PROG to program and test my software using UART0.

What is the should I put after "idf.py"?
And is it possible to "brick" the ESP32?

All I want is simply stop people from copying my software.

Thanks
by bonmotwang
Mon Jul 29, 2019 10:38 pm
Forum: General Discussion
Topic: ESP_PROG auto program doesn't work
Replies: 3
Views: 5375

Re: ESP_PROG auto program doesn't work

Sometimes it will flash the module automatically without me pressing the boot button, which is what I expected.
So is there some minor timing off in idf.py program?

Is there anyone using ESP-PROG board to program their ESP32 module?

Thanks

Paul