You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason, I can't read the file unless I create a second one. After that I can read the first file but not the second file and so on. The new file could be empty.
My question is similar to #23.
I created an image following the README steps on Ubuntu with a dummy TXT file, and I want to use the image on a uC (STM32L4 with Zephyr RTOS).
When I try to read the file, on the uC, it can list the file but can't read the content, it returns empty. I attached the image.zip
--- Available filters and text transformations: colorize, debug, default, direct, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at http://bit.ly/pio-monitor-filters
--- Miniterm on /dev/ttyACM0 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
*** Booting Zephyr OS build zephyr-v20500 ***
Area 4 at 0xfc000 on FLASH_CTRL for 16384 bytes
/lfs mount: 0
OK open /lfs/test.txt: 0
Read /lfs/test.txt file: | Result: 0
/lfs/test.txt close: 0
/lfs opendir: 0
F 0 test.txt
End of files
/lfs unmount: 0
[00:00:00.008,000] ␛[0m<inf> littlefs: LittleFS version 2.2, disk version 2.0␛[0m
[00:00:00.008,000] ␛[0m<inf> littlefs: FS at FLASH_CTRL:0xfc000 is 4 0x1000-byte blocks with 512 cycle␛[0m
[00:00:00.008,000] ␛[0m<inf> littlefs: sizes: rd 16 ; pr 16 ; ca 64 ; la 32␛[0m
[00:00:00.008,000] ␛[0m<inf> littlefs: /lfs mounted␛[0m
[00:00:00.022,000] ␛[0m<inf> littlefs: /lfs unmounted␛[0m
I have missed some configuration when I created the image?
Thank you
The text was updated successfully, but these errors were encountered:
HI there,
Update (7/7/21):
For some reason, I can't read the file unless I create a second one. After that I can read the first file but not the second file and so on. The new file could be empty.
My question is similar to #23.
I created an image following the README steps on Ubuntu with a dummy TXT file, and I want to use the image on a uC (STM32L4 with Zephyr RTOS).
When I try to read the file, on the uC, it can list the file but can't read the content, it returns empty. I attached the image.zip
I have missed some configuration when I created the image?
Thank you
The text was updated successfully, but these errors were encountered: