Replies: 4 comments 2 replies
-
You may have a look at the fsinfo script by Damien, which he published a while ago. I did not find the link, but here is the code:
|
Beta Was this translation helpful? Give feedback.
-
Adding rp2 here yields:
The change for rp2 is:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
The requirement for the The requirement that the buffer size is a multiple of the block size for |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In an attempt to query the kind of filesystem on a board I use:
buf = bytearray(16)
and one of
after importing rp2, mimxrt, w600 or pyb.
As a result I get
buf=bytearray(b'\x01\x00\x00\x00\xf0\x0f\xff\xf7littlefs')
.This works with all but the pyb versions (pyboard and Blackpill).
Even if those have perhaps FAT filesystem I would expect a signature different from
bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
there.The pyb.Flash().readblocks(0, buf) also returns a 0 instead of nothing (the other boards), perhaps indicating that nothing was read into the buffer.
What is it that I am missing?
Beta Was this translation helpful? Give feedback.
All reactions