Search found 859 matches

by ESP_igrr
Thu Nov 23, 2017 8:24 am
Forum: ESP32 SDK
Topic: _FS_LOCK makes f_open return error in IDF 3.0
Replies: 8
Views: 62

Re: _FS_LOCK makes f_open return error in IDF 3.0

Perhaps when you build your application against 2.0, concurrent access to the same file does not happen, so no error is reported?
by ESP_igrr
Thu Nov 23, 2017 7:42 am
Forum: ESP32 SDK
Topic: _FS_LOCK makes f_open return error in IDF 3.0
Replies: 8
Views: 62

Re: _FS_LOCK makes f_open return error in IDF 3.0

You can figure out whether you have concurrent operations on the same file by reviewing your code, or logging your file operations, or writing wrappers for f_open and f_close functions.

IIRC, in IDF 2.0 _FS_LOCK was set to 0, which is why you didn't get any errors reported.
by ESP_igrr
Thu Nov 23, 2017 6:31 am
Forum: ESP32 SDK
Topic: Floating the Flash SPI pins to allow a 2nd processor to access flash memory
Replies: 3
Views: 45

Re: Floating the Flash SPI pins to allow a 2nd processor to access flash memory

Oh, sorry, i misunderstood the "Once it has been read the ESP32 reboots" phrase. I thought that rebooting was the observed (undesirable) behavior. Looking at GPIO driver code, it seems that it does all things necessary to configure pins as GPIOs. Which esp-idf version are you using? Also n...
by ESP_igrr
Thu Nov 23, 2017 6:07 am
Forum: ESP32 HDK
Topic: JTAG debug with SD card
Replies: 1
Views: 21

Re: JTAG debug with SD card

No, the pins of JTAG and SDMMC interfaces overlap, so these two can not be used at the same time.
by ESP_igrr
Thu Nov 23, 2017 5:55 am
Forum: ESP32 SDK
Topic: Clarification on ULP co-processor REG_WR instruction
Replies: 1
Views: 18

Re: Clarification on ULP co-processor REG_WR instruction

That is correct, there is no such mechanism.
by ESP_igrr
Thu Nov 23, 2017 4:34 am
Forum: General Discussion
Topic: Small ESP32 Modul ( all include in new ESP32-PICO )
Replies: 40
Views: 4606

Re: Small ESP32 Modul ( all include in new ESP32-PICO )

Please note that PICO and D2WD are not supported in combination with PSRAM yet:
https://github.com/espressif/esp-idf/bl ... #L480-L489
by ESP_igrr
Thu Nov 23, 2017 4:28 am
Forum: ESP32 SDK
Topic: Clarification on ULP co-processor REG_RD instruction
Replies: 1
Views: 17

Re: Clarification on ULP co-processor REG_RD instruction

Looks like a typo or the case when comments get out of sync.
by ESP_igrr
Thu Nov 23, 2017 4:26 am
Forum: ESP32 SDK
Topic: _FS_LOCK makes f_open return error in IDF 3.0
Replies: 8
Views: 62

Re: _FS_LOCK makes f_open return error in IDF 3.0

Ok, does the application actually open the same file twice, or tries to do something with a file (rename, copy, etc) while it is open? The value of _FS_LOCK affects the number of files which can be checked for invalid simultaneous access. Setting it to 10 or to 100 should make no difference if you a...
by ESP_igrr
Thu Nov 23, 2017 2:43 am
Forum: ESP32 SDK
Topic: _FS_LOCK makes f_open return error in IDF 3.0
Replies: 8
Views: 62

Re: _FS_LOCK makes f_open return error in IDF 3.0

This error indicates that your program is performing two operations on the same file in parallel.

When _FS_LOCK is 0, fatfs will not check for such access issues, but as you noted there will be issues later on.
by ESP_igrr
Wed Nov 22, 2017 5:05 am
Forum: ESP32 SDK
Topic: Floating the Flash SPI pins to allow a 2nd processor to access flash memory
Replies: 3
Views: 45

Re: Floating the Flash SPI pins to allow a 2nd processor to access flash memory

ESP32 executes most of the code from flash, so disabling access to flash will immediately cause ESP32 to fail fetching the next instruction, unless the code to disable and re-enable SPI flash pins is placed into IRAM, and cache is disabled. Also the code you have attached doesn't re-configure SPI fl...

Go to advanced search