[nRF port] Unable to Activate the FAT File System
I noticed that FAT file system couldn't be enabled on a nRF board as open("code.py", "wb") would fail making it impossible to create files onto the board.
Indeed, after building and flashing the firmware with the FAT file system enabled
(#define MICROPY_VFS (1) in mpconfigport.h and make SD=s132 MICROPY_FATFS=1 sd) the following error occurs:
>>> open("code.py", "wb")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 1] EPERM
WiPy 1.0 mp v1.8.7 - SD OSError: 19
From telnet REPL I have :
os.listdir('/sd')
Traceback ......
File .....
OSError: 19
From micropython forum kfricke give me the following answer:
"The was a change regarding the used FAT library
and filesystem mount points. " Then suggested to
file an issue to githib.
The same suggestion I have had from pycom forum.
To be able to read the SD card I have than reflashed the v1.8.6 firmware
Thank