Search found 1498 matches

by ESP_igrr
Fri Aug 30, 2019 10:01 am
Forum: ESP32 Arduino
Topic: ESP32 I2s stalling processor
Replies: 5
Views: 288

Re: ESP32 I2s stalling processor

Can you try calling periph_module_reset(PERIPH_I2S0_MODULE); before i2s_driver_install? Or PERIPH_I2S1_MODULE if you are using I2S1.
The declaration of this function is in "driver/periph_ctrl.h".
by ESP_igrr
Fri Aug 23, 2019 5:08 am
Forum: ESP32 IDF
Topic: high-level interrupt GPIO
Replies: 5
Views: 252

Re: high-level interrupt GPIO

No, this won't work. You need to allow for an occasional level 4 interrupt to be triggered from CPU0, it is used as part of the DPORT bug workaround, when accessing DPORT registers.
by ESP_igrr
Thu Aug 22, 2019 7:36 am
Forum: General Discussion
Topic: How to write a csv file along my .bin code into ESP32 4MB flash
Replies: 5
Views: 295

Re: How to write a csv file along my .bin code into ESP32 4MB flash

If you want to use fgets, then you first need to obtain a stream (FILE*) handle. To get a FILE* handle from a read-only string, use the following function:

FILE * stream = fmemopen((const char*) data_csv_start, data_csv_end - data_csv_start, "rb");

then you can use 'stream' as an argument of fgets.
by ESP_igrr
Wed Aug 21, 2019 12:59 pm
Forum: ESP32 IDF
Topic: high-level interrupt GPIO
Replies: 5
Views: 252

Re: high-level interrupt GPIO

Hi Jacques,

In this part:
movi a14, 0x3FF4404C
movi a15, (1<<26)
l32i a15, a14, 0
did you mean s32i instead of l32i? Looks like you never write to the w1tc register, so the interrupt is not getting cleared.
by ESP_igrr
Wed Aug 21, 2019 11:28 am
Forum: Documentation
Topic: ESP32 ISA reference manual
Replies: 12
Views: 1223

Re: ESP32 ISA reference manual

Hi Rudi, It is possible to get the ISA reference manual (and the rest of the Xtensa SDK, in fact) from Cadence under NDA. A few of our customers did get access to the xt-xcc compiler from Cadence this way. You can contact Cadence directly (saying that you are developing a product based on the ESP32,...
by ESP_igrr
Wed Aug 21, 2019 10:13 am
Forum: General Discussion
Topic: How to write a csv file along my .bin code into ESP32 4MB flash
Replies: 5
Views: 295

Re: How to write a csv file along my .bin code into ESP32 4MB flash

Alternatively, if you want to use the same application binary for different products, but have them use different configuration CSV files, look into NVS partition generator utility (https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/storage/nvs_partition_gen.html) and the mass manuf...
by ESP_igrr
Wed Aug 21, 2019 10:07 am
Forum: ESP-IDF 中文讨论版
Topic: ubuntu 下安装开发环境,执行install.sh总是下载不完并失败
Replies: 2
Views: 158

Re: ubuntu 下安装开发环境,执行install.sh总是下载不完并失败

Can you try downloading this file from Github releases page manually?
https://github.com/espressif/openocd-es ... 2-20190708

If you can download it by web browser, then put it into ~/.espressif/dist directory, and run install.sh again.
by ESP_igrr
Tue Aug 06, 2019 7:01 am
Forum: ESP-IDF 中文讨论版
Topic: 如何彻底关闭中断
Replies: 3
Views: 218

Re: 如何彻底关闭中断

These 2 macros disable interrupts up to and including level 3. Interrupts level 4 and 5 are still allowed in FreeRTOS critical sections. In practice, you may find that disabling interrupts up to level 4 will give the result you need. Note however that your timing requirements come from some bitbangi...
by ESP_igrr
Mon Jul 29, 2019 8:58 pm
Forum: ESP32 IDF
Topic: [toolchain v2.0] How to flash binary? (ImportError: No module named serial)
Replies: 4
Views: 261

Re: [toolchain v2.0] How to flash binary? (ImportError: No module named serial)

Ah, I see now. Can you please try adding 'python' in front of the pyserial command? I.e.

python ..\..\..\..\..\esp-idf\components\esptool_py\esptool\esptool.py -p com26 (rest of the command)
by ESP_igrr
Mon Jul 29, 2019 1:08 pm
Forum: ESP32 IDF
Topic: [toolchain v2.0] How to flash binary? (ImportError: No module named serial)
Replies: 4
Views: 261

Re: [toolchain v2.0] How to flash binary? (ImportError: No module named serial)

If you are using a new cmd.exe window (not the one where you were using idf.py) then run path\to\idf\export.bat first. Then you can use esptool.

Or open the "ESP-IDF Command Prompt" shortcut in start menu, it is created by the installer.

Go to advanced search