Search found 17 matches
- Thu Oct 26, 2017 7:35 am
- Forum: General Discussion
- Topic: Somrtimes ota works well,sometimes ota will go wrong.
- Replies: 7
- Views: 11724
Re: Somrtimes ota works well,sometimes ota will go wrong.
I have a few more questions and some suggestions: What IDF version are you using? And what hardware? In your log output, is the partition address correctly logged when you start writing OTA output? Does the reset happen immediately after the OTA update starts, or does it freeze first? In make menuc...
- Tue Oct 24, 2017 11:10 am
- Forum: General Discussion
- Topic: Somrtimes ota works well,sometimes ota will go wrong.
- Replies: 7
- Views: 11724
Re: Somrtimes ota works well,sometimes ota will go wrong.
rst:0x7 (TG0WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) flash read err, 1000 It looks like your OTA code is corrupting/erasing the bootloader. Does it ever recover from this or do you have to reflash? Are you using the IDF OTA API? Can you post some of your code? Other device,it will happen ever...
- Tue Oct 24, 2017 9:15 am
- Forum: General Discussion
- Topic: cjson cJSON_PrintUnformatted return NULL!!!
- Replies: 0
- Views: 4266
cjson cJSON_PrintUnformatted return NULL!!!
I want send json data to server. My json data sometimes return NULL when run cJSON_PrintUnformatted().Sometimes it run well. When I add only one array to "data",it works well.But add two or more array,it will return NULL frequently! #define SOC_SEND_DATA_ONCE_PACKET_NUM 2//when this value is 1,it wo...
- Tue Oct 24, 2017 8:53 am
- Forum: General Discussion
- Topic: Somrtimes ota works well,sometimes ota will go wrong.
- Replies: 7
- Views: 11724
Re: Somrtimes ota works well,sometimes ota will go wrong.
rst:0x7 (TG0WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) flash read err, 1000 It looks like your OTA code is corrupting/erasing the bootloader. Does it ever recover from this or do you have to reflash? Are you using the IDF OTA API? Can you post some of your code? This is my code. void ota_clear(...
- Tue Oct 24, 2017 2:08 am
- Forum: General Discussion
- Topic: Somrtimes ota works well,sometimes ota will go wrong.
- Replies: 7
- Views: 11724
Somrtimes ota works well,sometimes ota will go wrong.
I have some problem with OTA.Sometimes,When halfway through the ota,it will go wrong.Sometimes it can ota successfully! My device is control by nrf52 through uart1 command. When I use old device which have 4M flash and no nrf52,It work well whith OTA.(with no source code changed.) Now,my device only...
- Mon Aug 21, 2017 1:30 pm
- Forum: General Discussion
- Topic: HTTPS,handshake error.
- Replies: 2
- Views: 7556
Re: HTTPS,handshake error.
I change MBEDTLS_SSL_VERIFY_REQUIRED to MBEDTLS_SSL_VERIFY_OPTIONAL or MBEDTLS_SSL_VERIFY_NONE. [0;32mI (178769) YH_HTTPS: Seeding the random number generator[0m [0;32mI (178774) YH_HTTPS: Loading the CA root certificate...[0m [0;32mI (178780) YH_HTTPS: Setting hostname for TLS session...[0m [0;32mI...
- Mon Aug 21, 2017 1:02 pm
- Forum: General Discussion
- Topic: HTTPS,handshake error.
- Replies: 2
- Views: 7556
HTTPS,handshake error.
I user my certificate.But I can not through handshake step. This is error log. Thanks. Best wish. [0;32mI (24768) YH_HTTPS: Seeding the random number generator[0m [0;32mI (24773) YH_HTTPS: Loading the CA root certificate...[0m [0;32mI (24777) YH_HTTPS: Setting hostname for TLS session...[0m [0;32mI ...
- Fri Aug 18, 2017 9:57 am
- Forum: General Discussion
- Topic: In WPA2-Enterprise mode,how to get ssid ,user name and pass word from outside?
- Replies: 0
- Views: 3021
In WPA2-Enterprise mode,how to get ssid ,user name and pass word from outside?
Now, I want to use wpa2-enterprise.
But I can not get ssid ,user name and password form outside with ble close.
Smartconfig,does it work in this condition?
Best wish.
Thanks.
But I can not get ssid ,user name and password form outside with ble close.
Smartconfig,does it work in this condition?
Best wish.
Thanks.
- Wed Aug 16, 2017 2:36 am
- Forum: General Discussion
- Topic: Openssl command do not work.
- Replies: 4
- Views: 6913
Re: Openssl command do not work.
My guess is that openssl needs a tty to prompt for further data. Can you try prefixing the command with 'winpty'? So 'winpty openssl req ...' It works,but still have some problems. I already have generated wpa2_ca.key,wpa2_ca.pem,wpa2_client.csr,wpa2_client.key It goes wrong when I try to generate ...
- Tue Aug 15, 2017 10:41 am
- Forum: General Discussion
- Topic: Openssl command do not work.
- Replies: 4
- Views: 6913
Re: Openssl command do not work.
The system of my PC is Win7, 64 ultimate.ESP_Sprite wrote:What kind of machine is this? I have zero problems with this command on my Intel laptop with Debian GNU/Linux.