Search found 4 matches
- Mon Mar 21, 2022 8:03 am
- Forum: General Discussion
- Topic: Getting device output on 'first boot' during provisioning
- Replies: 1
- Views: 1174
Re: Getting device output on 'first boot' during provisioning
One resolution that I've come up with, since originally posting this, is using the python serial library, for example: import serial import time ser = serial.Serial(DEVICE_PORT, 115200, timeout=1) ser.flushInput() device_id = None t_end = time.time() + 5 while time.time() < t_end: try: ser_bytes = s...
- Mon Mar 21, 2022 3:44 am
- Forum: General Discussion
- Topic: Using esptool.py with subprocess.Popen() vs. .run()
- Replies: 0
- Views: 1307
Using esptool.py with subprocess.Popen() vs. .run()
We are building a provisioning script in python that runs esptool.py using the subprocess functions. We do this because we want to show the output to the operator, and also parse that output to get certain information for later steps in provisioning. I know this isn't specific to the esptool.py itse...
- Mon Mar 21, 2022 3:32 am
- Forum: General Discussion
- Topic: Getting device output on 'first boot' during provisioning
- Replies: 1
- Views: 1174
Getting device output on 'first boot' during provisioning
Hi there. I'm currently researching how best to provision our devices in a multi-step manufacturing process. We are planning to use python as our framework for doing this. There is some on-device information that we wish to capture from the device during provisioning, that will then be used for devi...
- Mon Mar 21, 2022 3:05 am
- Forum: General Discussion
- Topic: OTA security
- Replies: 2
- Views: 1961
Re: OTA security
1. answered above 2. You may want to check the official documentation (a quick Google search will uncover it) — https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/ota.html 3. There is a Secure Boot mechanism on the ESP32 that aids with firmware security for OTA udpates ...