Search found 50 matches
- Wed Jun 07, 2017 1:30 pm
- Forum: General Discussion
- Topic: Pre-programming flash at manufacturing
- Replies: 4
- Views: 9324
Pre-programming flash at manufacturing
I have a custom board with ESP32 chip and serial flash. I'd like the board to be loaded with firmware at manufacturing. The manufacturer has the ability to program the serial flash before it's put on the board. Are there any instructions on how to properly do this? Do I just tell them to flash .bin ...
- Sat May 06, 2017 9:34 pm
- Forum: General Discussion
- Topic: Bad restart with esp_restart()
- Replies: 4
- Views: 9978
Re: Bad restart with esp_restart()
Thanks! That sounds like my problem. When I source these parts, how do I make sure I get v1? What's the specific part #?
- Sat May 06, 2017 2:55 pm
- Forum: General Discussion
- Topic: Bad restart with esp_restart()
- Replies: 4
- Views: 9978
Bad restart with esp_restart()
When calling esp_restart() most of the time CPU reboots with SW_CPU_RESET. However, sometimes before booting up it restarts an extra time with RTCWDT_RTC_RESET. It doesn't happen every time, maybe 1 out of 5. Log below shows 1 "good" restart followed by a "bad" restart. This presents a problem becau...
- Mon May 01, 2017 3:10 pm
- Forum: General Discussion
- Topic: Sleep timer motion sensitivity
- Replies: 7
- Views: 9808
Re: Sleep timer motion sensitivity
I'm using settimeofday() to initially set the time from our web backend. After that I'm using gettimeofday() for timestamps. SMTP is not possible because the device is asleep. I would expect that to drift a little but not that much.
- Sun Apr 30, 2017 1:26 pm
- Forum: General Discussion
- Topic: Sleep timer motion sensitivity
- Replies: 7
- Views: 9808
Re: Sleep timer motion sensitivity
We're using Sparkfun's "ESP32 Thing" (https://www.sparkfun.com/products/13907). I haven't looked at reset cause but will give it a try next test.
- Thu Apr 27, 2017 5:51 pm
- Forum: General Discussion
- Topic: Sleep timer motion sensitivity
- Replies: 7
- Views: 9808
Sleep timer motion sensitivity
I programmed our ESP32 to deep sleep for 11 minutes, then wake up, record current time, and go back to sleep. What I found was that the sleep duration was severely impacted by motion. In the attached plot, you can see that the sleep duration drops significantly (sometimes as low as 3 mins) when I wa...
- Thu Apr 20, 2017 11:14 pm
- Forum: ESP-IDF
- Topic: Printf and sscanf doesn't work for %hhx
- Replies: 3
- Views: 6733
Re: Printf and sscanf doesn't work for %hhx
So what's the proper way to sscanf a 2 or printf a uint8_t?
- Thu Apr 20, 2017 3:29 pm
- Forum: ESP-IDF
- Topic: Printf and sscanf doesn't work for %hhx
- Replies: 3
- Views: 6733
Printf and sscanf doesn't work for %hhx
It appears that printf and sscanf don't work with %hhx (for unt8_t). %hx works just fine for uint16. I know that newlib nano doesn't support 64-bit. Does it not support 8-bit either?
- Tue Apr 18, 2017 8:23 pm
- Forum: General Discussion
- Topic: I2C Pin Location
- Replies: 1
- Views: 4589
I2C Pin Location
Page 49 of the ESP32 data sheet says that I2C pins are 21,22,23,24. However, the I2C example in the SDK uses: #define I2C_SLAVE_SCL_IO 26 /*!<gpio number for i2c slave clock */ #define I2C_SLAVE_SDA_IO 25 /*!<gpio number for i2c slave data */ #define I2C_MASTER_SCL_IO 19 /*!< gpio number for I2C mas...
- Sat Apr 08, 2017 12:04 am
- Forum: General Discussion
- Topic: OTA of factory app
- Replies: 7
- Views: 13342
Re: OTA of factory app
The partition table for two OTA has a factory partition: nvs, data, nvs, 0x9000, 0x4000 otadata, data, ota, 0xd000, 0x2000 phy_init, data, phy, 0xf000, 0x1000 factory, 0, 0, 0x10000, 1M ota_0, 0, ota_0, , 1M ota_1, 0, ota_1, , 1M I think the idea is that you always want to be able to revert to facto...