Search found 42 matches
- Wed Apr 29, 2020 7:42 am
- Forum: ESP-IDF
- Topic: esp32 idf in vsc, build flash working, can't monitor
- Replies: 5
- Views: 6104
Re: esp32 idf in vsc, build flash working, can't monitor
Hi trustmiao, please check the content of your PATH environment variable. It seems that it invokes the MSYS python. The path to Python which you installed for Windows CMD must be earlier in PATH then the path pointing to the MSYS binary directory. G:\esp_vsc\.espressif\python_env\idf3.3_py3.8_env\S...
- Wed Apr 29, 2020 5:15 am
- Forum: ESP-IDF
- Topic: esp32 idf in vsc, build flash working, can't monitor
- Replies: 5
- Views: 6104
esp32 idf in vsc, build flash working, can't monitor
I installed idf3.3 with python 3.8. in windows CMD tested ok. and then installed "espressif idf 0.2.1" in vsc, after a successful installation. In f1 menu, "esp-idf build", "esp-idf flash" all work perfectly. However, when I try to use "esp-idf monitor", it is error : G:\esp32_apps\blink>set IDF_PAT...
- Fri Jun 14, 2019 9:28 am
- Forum: ESP-IDF
- Topic: how can We get count of restarts after flash the firmware
- Replies: 0
- Views: 2208
how can We get count of restarts after flash the firmware
We wish to save settings into nvs, but maintain a factorysettings which can be restored on requirement. Therefore, we wish we could save the factorysettings(coded in) into nvs on the first reboot after flash, and then read the nvs for settings after every other reboot. is there a way to make such a ...
- Thu May 16, 2019 6:24 am
- Forum: ESP32 Arduino
- Topic: read from i2c failed 80 percent chance, after couple reboot it works
- Replies: 7
- Views: 11107
- Fri May 10, 2019 8:33 am
- Forum: ESP-IDF
- Topic: abort (at locks.c:81) while create mutex during i2c implement
- Replies: 2
- Views: 4209
Re: abort (at locks.c:81) while create mutex during i2c implement
thanks alot, problem solved, we should not i2c_cmd_link_create twice.
- Thu May 09, 2019 8:37 am
- Forum: ESP-IDF
- Topic: abort (at locks.c:81) while create mutex during i2c implement
- Replies: 2
- Views: 4209
abort (at locks.c:81) while create mutex during i2c implement
while we test basic i2c functions, esp32 reset around every 7000 loops. back trace point to xSemaphoreHandle new_sem = xQueueCreateMutex(mutex_type); if (!new_sem) { abort(); /* No more semaphores available or OOM */ } in locks.c here is the code, very basic i2c functions: #include <stdio.h> #includ...
- Wed May 08, 2019 11:28 am
- Forum: ESP-IDF
- Topic: how to debug while esp32 restart without providing information
- Replies: 1
- Views: 2714
Re: how to debug while esp32 restart without providing information
through debug line by line, we are certain, it silently crashes at
cmd is defined as i2c_cmd_handle_t cmd = i2c_cmd_link_create();
it continuously happend in differnt part of program but same when runing i2c_master_stop(). Any suggestion can I get?
Code: Select all
i2c_master_stop(cmd);
it continuously happend in differnt part of program but same when runing i2c_master_stop(). Any suggestion can I get?
- Wed May 08, 2019 9:28 am
- Forum: ESP-IDF
- Topic: how to debug while esp32 restart without providing information
- Replies: 1
- Views: 2714
how to debug while esp32 restart without providing information
We are writing around i2c and uart functions, which gets data from i2c and send to uart. However, it restarts, after a while, without giving any information(or maybe we don't know yet how to acquire the information). ets Jun 8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) conf...
- Thu Mar 21, 2019 9:07 am
- Forum: General Discussion
- Topic: idf i2c scanner could not find device(while arduino ide can)
- Replies: 1
- Views: 5338
Re: idf i2c scanner could not find device(while arduino ide can)
as a record, I solve the problem by adjusting
I2C[i2c_num]->timeout.tout = 200000;
in driver/i2c.c - i2c_param_config:
I got answer from
I2C[i2c_num]->timeout.tout = 200000;
in driver/i2c.c - i2c_param_config:
I got answer from
- Thu Mar 21, 2019 9:05 am
- Forum: General Discussion
- Topic: IDF i2c issues, unable to find device on bus
- Replies: 8
- Views: 13134
Re: IDF i2c issues, unable to find device on bus
Though this is an old post, I wish very much to know whether/what solution did you find. I've experienced exactly the same trouble while I am trying connecting to BNO 080. I also found i2c in arduino ide, but not idf. here is the post I described my scenario, but no lock no answer. https://www.esp3...