Problems with EFFS

Discussion to talk about software related topics only.
shockwave77598
Posts: 22
Joined: Sat May 27, 2017 10:38 am

Re: Problems with EFFS

Post by shockwave77598 »

I have about 30 files, 1.5 to 3.9M long.

I modded the program to read 4096 bytes. And all it got was an initial 3584 bytes and no more.

the other errors about not reading the drive come about after the glitch happens. Once the glitch occurs, just resetting the device or sending a new program will generate the error. You have to power down to cold iron and poweron again to make the fault go away.

I was considering grabbing the file into ram all at once and read from ram. But that won't work either -- grabbing 4096 only gets me 3584 bytes.

so I'm stumped. Reading files isn't hard, so I don't think I"m doing it wrong. But I doubt EFFS has a problem either -- your stuff has been stellar. Thus, I'm stumped.
User avatar
TomNB
Posts: 538
Joined: Tue May 10, 2016 8:22 am

Re: Problems with EFFS

Post by TomNB »

I will try some file reading tests to try and reproduce.
User avatar
TomNB
Posts: 538
Joined: Tue May 10, 2016 8:22 am

Re: Problems with EFFS

Post by TomNB »

Hello,

I have been unable to reproduce an error so far. I am attaching my 3.3.9 build of the EFFS-HTTP example, modified to read and display a test .s19 file. To do the test:
- Load the effs-http app into your nano
- Use ftp or some other mechanism to unzip and put the TESTS19.S19 file on your nano flash card
- Connect to mtttty
- Run the example and use the new 'R' option to read and display the file.

I have run files as large as 2MB with no issues.

If this is not exactly what you are doing, modify the 'R' test processing an adapt it to your own file so we can test here.
Attachments
TESTS19.zip
(18 KiB) Downloaded 87 times
effs-http-src.zip
(36.26 KiB) Downloaded 93 times
EFFS-HTTP.zip
(1.64 MiB) Downloaded 102 times
User avatar
TomNB
Posts: 538
Joined: Tue May 10, 2016 8:22 am

Re: Problems with EFFS

Post by TomNB »

Hi shockwave,

Just checking back with you on this.
shockwave77598
Posts: 22
Joined: Sat May 27, 2017 10:38 am

Re: Problems with EFFS

Post by shockwave77598 »

I had to put this aside for a couple weeks. I'll attempt the test this weekend.
Post Reply