Search found 747 matches

by ESP_Angus
Tue Feb 20, 2018 1:25 am
Forum: Report Bugs
Topic: Weird monitor behaviour with printf on IDF 3.0
Replies: 1
Views: 12

Re: Weird monitor behaviour with printf on IDF 3.0

I may know what this is. For some reason, after the Fall Creators Update Windows 10 idf_monitor.py started sometimes randomly throwing an exception after writing to the "standard output" console. This is the OS telling us the write failed, for whatever reason. On investigation, people noti...
by ESP_Angus
Mon Feb 19, 2018 6:25 am
Forum: ESP32 SDK
Topic: Socket outgoing buffer overflow
Replies: 2
Views: 68

Re: Socket outgoing buffer overflow

For UDP sockets, there is a behaviour where send() may return an error with errno set to ENOMEM if the outgoing driver layer transmit buffers are full. Sleeping for a single tick and then trying again is the best solution if you get a failure with this errno value. You can also increase the number o...
by ESP_Angus
Mon Feb 19, 2018 6:22 am
Forum: General Discussion
Topic: ADC input minimum current
Replies: 2
Views: 52

Re: ADC input minimum current

ADC input current will be neglible. However, to get the most accurate results from a high impedance source (like a high value voltage divider) you can add a small buffer capacitor (approx 100nF) between the ADC pin and ground.
by ESP_Angus
Fri Feb 16, 2018 1:38 am
Forum: General Discussion
Topic: Failing to allocate memory for RF calibration data when reiniting WIFI
Replies: 2
Views: 118

Re: Failing to allocate memory for RF calibration data when reiniting WIFI

Hi mr1000, I'm not sure that it's safe to fully de-initialize WiFi in the context of the event handler itself. You may have to signal a different task to do this, if you need to. However, I think fully de-initializing shouldn't be necessary - that's fairly extreme "scorched earth" tactics!...
by ESP_Angus
Fri Feb 16, 2018 1:33 am
Forum: ESP32 SDK
Topic: Python issues - ImportError: No module named site
Replies: 4
Views: 113

Re: Python issues - ImportError: No module named site

Thanks nathan. This all looks correct to me, I can't really explain how it's failing to import built-in Python modules. Did you download and unzip the all-in-one environment and toolchain from here? http://esp-idf.readthedocs.io/en/latest/get-started/windows-setup.html#toolchain-setup Is it possible...
by ESP_Angus
Thu Feb 15, 2018 11:05 pm
Forum: ESP32 Arduino
Topic: Negative Floating point overflow
Replies: 3
Views: 108

Re: Negative Floating point overflow

That doesn't sound quite right. 32-bit floats on ESP32 are IEEE754 single-precision format, so should include a lot of values below zero (down to very large negative numbers.)

Can you please post some code which exhibits this problem on ESP32 and not on other platforms?
by ESP_Angus
Thu Feb 15, 2018 11:01 pm
Forum: General Discussion
Topic: Flash Encryption Query
Replies: 7
Views: 221

Re: Flash Encryption Query

As well as WiFive's question about burning a normal firmware, if you run "make flash monitor" for the first boot then what log output do you see from the first boot? You should see some messages about enabling flash encryption.
by ESP_Angus
Thu Feb 15, 2018 3:44 am
Forum: ESP32 SDK
Topic: Are reads/writes to floating point variables atomic?
Replies: 1
Views: 113

Re: Are reads/writes to floating point variables atomic?

If they're 32-bit floats, then any load/store is atomic.

If they're 64-bit doubles, then these are not atomic.
by ESP_Angus
Thu Feb 15, 2018 12:08 am
Forum: General Discussion
Topic: Using Flash Encryption
Replies: 3
Views: 163

Re: Using Flash Encryption

All, Is there a good example on how to use the flash encryption scheme for applications. I would like to develop an app using this part and maintain encrypting the image outside of the part so that it is only decrypted inside and run. I would need to update it OTA if possible using wifi. Any though...
by ESP_Angus
Thu Feb 15, 2018 12:07 am
Forum: General Discussion
Topic: Flash Encryption Query
Replies: 7
Views: 221

Re: Flash Encryption Query

Hi mpulis, If flashing with a pre-generated key, for the first boot you should still boot a plaintext (not pre-encrypted) image (after flashing the flash encryption key to BLK1). On first boot, the bootloader will see that the FLASH_CRYPT_CNT efuse is unset, and the bootloader & app image is pla...

Go to advanced search