UPDATE :
Apparently there are some minor modification mistake, in my chip the SPI command 0xFF is not supported, so anybody who got the same problem could look back at the datasheet. the code from micropython-epaper is work great.
Hi,
I am using flash.py from here and make a little modification :
https://github.com/peterhinch/micropython-epaper
then mounting with pyb.mount(device, '/ext', mkfs=True). everything went fine. the device is mounted, and there are two devices listed. 'flash' and 'ext'.
but I can't access it using os.chdir('/ext'), with exception :
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 19] ENODEV
this also happen when I try to mount but without mkfs=True.
any ideas why is this happening?
[SOLVED] problem when mounting/access external spi flash
-
- Posts: 81
- Joined: Fri Sep 02, 2016 9:26 am