Search found 36 matches

by abcdcadb
Mon Dec 11, 2017 7:16 am
Forum: ESP-IDF
Topic: Guru Meditation Error: Core 0 panic'ed (LoadStoreError) : a problem of ROM?
Replies: 2
Views: 7997

Re: Guru Meditation Error: Core 0 panic'ed (LoadStoreError) : a problem of ROM?

Dear using GPD, I got this : Reply contains invalid hex digit 116 0x4015f925 in dir_read (dp=0x3fff8350, vol=0) at /home/abcd/Desktop/ble_backup_standard_30-11-17/esp-idf/components/fatfs/src/ff.c:2105 the problem is inside IDF ff.c file printf register, I got: Guru Meditation Error: Core 0 panic'ed...
by abcdcadb
Mon Dec 11, 2017 6:11 am
Forum: ESP-IDF
Topic: Guru Meditation Error: Core 0 panic'ed (LoadStoreError) : a problem of ROM?
Replies: 2
Views: 7997

Guru Meditation Error: Core 0 panic'ed (LoadStoreError) : a problem of ROM?

I got this error Guru Meditation Error: Core 0 panic'ed (LoadStoreError)

I strongly suspect that it relates to ROM (flash memory) because my app is 0.97 MB while the factory size in partition is 1MB
Any one who is well known about this, could give me advice?
thanks
by abcdcadb
Tue Dec 05, 2017 7:24 am
Forum: ESP-IDF
Topic: tcp socket speed 10Mbps only. How can I speed up?
Replies: 12
Views: 35675

Re: tcp socket speed 10Mbps only. How can I speed up?

Hi all,

It has been a long time, I wonder that is there anyone found out a way to speed up wifi of ESP?

or at least, can anyone give me the highest speed ?
by abcdcadb
Wed Nov 29, 2017 3:23 am
Forum: ESP-IDF
Topic: _FS_LOCK makes f_open return error in IDF 3.0
Replies: 12
Views: 13560

Re: _FS_LOCK makes f_open return error in IDF 3.0

Code: Select all

Sorry, I don't quite understand the question — do you want to know how to adjust the maximum number of open files? Or how to set FS_LOCK option?
I mean that this error doesnt involve in FS_LOCK because FS_LOCK belongs to error 18
by abcdcadb
Tue Nov 28, 2017 5:05 am
Forum: ESP-IDF
Topic: _FS_LOCK makes f_open return error in IDF 3.0
Replies: 12
Views: 13560

Re: _FS_LOCK makes f_open return error in IDF 3.0

Hi ESP_igrr , I read ff.h again and recognize that besides the error 16 (FR_LOCKED) that I am facing, there is the error 18: FR_TOO_MANY_OPEN_FILES, /* (18) Number of open files > _FS_LOCK */ I guess the problem we discussed that should belong to this error, instead of error 16 if it is correct, i s...
by abcdcadb
Fri Nov 24, 2017 3:23 am
Forum: ESP-IDF
Topic: _FS_LOCK makes f_open return error in IDF 3.0
Replies: 12
Views: 13560

Re: _FS_LOCK makes f_open return error in IDF 3.0

ESP_igrr

could you give me an example which use f_open to open a file and then do any handling (read or write) to that file which you are sure that it works on IDF3.0?

the sd_card example uses fopen (stdio.h) not f_open.

I really need a reference now

thanks
by abcdcadb
Thu Nov 23, 2017 8:01 am
Forum: ESP-IDF
Topic: _FS_LOCK makes f_open return error in IDF 3.0
Replies: 12
Views: 13560

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. thanks, I will in IDF 2.0 _FS_LOCK was set to 0, which is why you didn't get any errors reported. in IDF 2.0, I t...
by abcdcadb
Thu Nov 23, 2017 6:43 am
Forum: ESP-IDF
Topic: _FS_LOCK makes f_open return error in IDF 3.0
Replies: 12
Views: 13560

Re: _FS_LOCK makes f_open return error in IDF 3.0

does the application actually open the same file twice, or tries to do something with a file (rename, copy, etc) while it is open
is there any way to check that I am opening the same file twice?

my code now is bulky so i am not sure. However, it works in IDF 2.0 therefore I guess it should be OK
by abcdcadb
Thu Nov 23, 2017 3:16 am
Forum: ESP-IDF
Topic: _FS_LOCK makes f_open return error in IDF 3.0
Replies: 12
Views: 13560

Re: _FS_LOCK makes f_open return error in IDF 3.0

Hi ESP_igrr This error indicates that your program is performing two operations on the same file in parallel. my _FS_LOCK is 10 (and even I changed it into 100), does it still mean "two operations on the same file" causes that error (or it should be 10)? Hi Kolban, f_write belongs to fatfs library, ...
by abcdcadb
Thu Nov 23, 2017 1:05 am
Forum: ESP-IDF
Topic: _FS_LOCK makes f_open return error in IDF 3.0
Replies: 12
Views: 13560

_FS_LOCK makes f_open return error in IDF 3.0

when I use f_open to open a file in sd card, it returns error (16) (if _FS_LOCK is a positive number (10)) FR_LOCKED, /* (16) The operation is rejected according to the file sharing policy */ if I down _FS_LOCK to 0, i can open file well, but there are several other problems. Can anyone tell me how ...