Search found 55 matches

by costaud
Wed Nov 28, 2018 4:45 pm
Forum: ESP-IDF 中文讨论版
Topic: [案例] 工程编译过程,出现 esp_log.h: No such file or directory
Replies: 1
Views: 15536

[案例] 工程编译过程,出现 esp_log.h: No such file or directory

最近在调试项目的过程中,莫名其妙出现编译问题: /Volumes/esp-open-sdk/ESP_IDF/esp-idf/components/app_update/esp_ota_ops.c:38:21 fatal error: esp_log.h: No such file or directory 从 log 看是 idf 中的 ota 模块,无法找到 esp_log.h 头文件。但是我们并没有修改任何 idf 中的代码。 $ git status On branch master Your branch is up-to-date with 'origin/master'. esp_...
by costaud
Wed Nov 28, 2018 4:20 pm
Forum: ESP-IDF 中文讨论版
Topic: ota_data_initial.bin文件的作用是什么?
Replies: 3
Views: 7714

Re: ota_data_initial.bin文件的作用是什么?

otadata分区,用于标志目前运行哪一个app类型的固件。
ota_init 中都是全0xff,表示用第0个app分区开始运行。
如果不烧,只是不确定烧完flash后运行的是否是第0个app分区的固件。
by costaud
Fri Nov 23, 2018 10:38 am
Forum: ESP-IDF 中文讨论版
Topic: [分享] 查看 esp32 的串口下载过程(使用esptool)
Replies: 2
Views: 19675

[分享] 查看 esp32 的串口下载过程(使用esptool)

通常,我们会通过 python 脚本,从 PC 端,通过串口给 esp32 芯片或者模块下载固件程序。 通过 esptool (https://github.com/espressif/esptool) 脚本,我们可以很方便的实现。 但有时,我们也希望能通过其他单片机的串口,给 esp32/esp8266 进行固件更新。(前提是外部单片机能够控制esp32 进入串口下载模式)。 完整的串口通信协议可以参考这里 (https://github.com/espressif/esptool/wiki/Serial-Protocol) 为了方便调试,我们可以通过运行 esptool,来查看上位机与es...
by costaud
Thu Nov 22, 2018 11:27 am
Forum: Hardware
Topic: ESP Thermal considerations
Replies: 16
Views: 24513

Re: ESP Thermal considerations

What was the temperature on the chip when you found it not working ? Well, it could also be something else on the board that caused the failure, I'm afraid I can't give an accurate answer based on the current information. If this happens again, I think we can check the 3.3v power supply first, then,...
by costaud
Thu Nov 22, 2018 3:29 am
Forum: Hardware
Topic: ESP Thermal considerations
Replies: 16
Views: 24513

Re: ESP Thermal considerations

Hi, So i'm using the ESP32 thing from sparkfun and I wonder what are the thermal limits on the ESP32 chip itself.. I saw on the Data-Sheet that the chip's operating temperature is 125C - is that ambient temperature or operating temperature? Another question is if anyone know if the chip have a ther...
by costaud
Thu Nov 15, 2018 7:28 am
Forum: ESP-IDF 中文讨论版
Topic: [分享] esp32 的启动过程
Replies: 0
Views: 19836

[分享] esp32 的启动过程

[关于 ROM] 在esp32 上电运行后,芯片运行的第一个程序。这段程序是芯片设计与生产的时候,固化在硬件电路中的。所以它是不可修改的(Read Only Memory)。 esp32 的 ROM 负责检测芯片的strapping配置,来决定芯片应该处于什么状态。比如,esp32 上电后,ROM 程序会检查 [GPIO0, GPIO2, GPIO4, MTDO, GPIO5]的状态。 如果 GPIO0 / GPIO2 同时为低电平,则会进入下载模式,等待串口通信信息。 如果GPIO0为高电平,则会进入Flash 运行模式,启动SPI 驱动,并加载Flash中的程序段。 BOOT_MODE[...
by costaud
Thu Nov 15, 2018 3:11 am
Forum: ESP IoT Solution
Topic: Configure ESP32 over bluetooth from smartphone
Replies: 2
Views: 6827

Re: Configure ESP32 over bluetooth from smartphone

How kind of configuration do you want to make ? The general idea is to define some services in BLE GATT, then do anything you want when you get the data in BLE callback. Similar to Blufi functions that it sends router information to esp32 via BLE. The limit is that if WiFi and BLE are running togeth...
by costaud
Wed Nov 14, 2018 10:56 am
Forum: ESP IoT Solution
Topic: ESP32 + PHP string encryption
Replies: 1
Views: 8581

Re: ESP32 + PHP string encryption

giotlab wrote:
Thu Sep 20, 2018 4:58 pm
Is there a way to encrypt and decrypt strings between PHP and esp32?
Sure, there is certainly a way to encrypt data on esp32.
For this issue it self, I think you should find a third party tool to confirm which side is wrong first.
We will try to provide some examples.
by costaud
Wed Nov 14, 2018 10:42 am
Forum: ESP IoT Solution
Topic: Ethernet to WiFi data forwarding demo code not working on ESP32-EVB
Replies: 3
Views: 8250

Re: Ethernet to WiFi data forwarding demo code not working on ESP32-EVB

It would be better to post esp-iot-solution related bug report in github issues.