Can't delete some files from pyBoard

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
BOB63
Posts: 58
Joined: Sat Jul 25, 2015 8:24 pm
Location: Monza , Italy

Can't delete some files from pyBoard

Post by BOB63 » Sat Jun 17, 2017 8:14 am

Hi,
suddenly the boot.py and another file that I was testing with the pyboard have a size of 0 bytes and I can't delete or overwrite .
If i detele the files apparently the files are delete but at the first connection of pyboard they appears again.
If I try to overwrite the files i got a message that files are cotrrupted.
I've also reloaded the last firmware without success.

Any suggestion ?
Can I "format" the PYBFLAH as any other disk ?

Thanks Roberto
Thanks. Roberto

BOB63
Posts: 58
Joined: Sat Jul 25, 2015 8:24 pm
Location: Monza , Italy

Re: Can't delete some files from pyBoard

Post by BOB63 » Sun Jun 18, 2017 2:11 pm

Really any suggestion ?
Does it mean that I've lost the board ? :shock:
Thanks. Roberto

User avatar
kfricke
Posts: 342
Joined: Mon May 05, 2014 9:13 am
Location: Germany

Re: Can't delete some files from pyBoard

Post by kfricke » Sun Jun 18, 2017 2:42 pm

Please try a Filesystem reset by initiating boot mode 3 as described in the docs...
http://docs.micropython.org/en/latest/p ... boot-modes

That should reset the filesystem and tell us more about the hardware health of your pyboard.

BOB63
Posts: 58
Joined: Sat Jul 25, 2015 8:24 pm
Location: Monza , Italy

Re: Can't delete some files from pyBoard

Post by BOB63 » Sun Jun 18, 2017 4:02 pm

Hi kfricke,
Thanks !!
I followed the procedure with usb connect without solve ,then I've repeated with board connect to a power bank and fixed the problem.
Is the first time that I use the pyBoard connected to w10 laptop and I'm facing some strange beaviors with more than one pyBoard.
Sometime the board isn't recognised as usb disk so I've to disinstall the serial device from w10 control panel and then connecting again
the board is't fixed.
I think that doing this operation last time something goes wrong.

Thanks again.

Roberto.
Thanks. Roberto

User avatar
kfricke
Posts: 342
Joined: Mon May 05, 2014 9:13 am
Location: Germany

Re: Can't delete some files from pyBoard

Post by kfricke » Sun Jun 18, 2017 9:59 pm

You are welcome. It seems to be some power related issues on the USB port of your laptop. Maybe you should check the comsumers you have connected or calculate the total power drawed. Good luck further down this road!

Post Reply