I received my micro python board a few days ago and I just go around to trying it. I'm running OSX and when I plug in the board (without an SD card) I can browse the files, however they seem to be corrupted in some way. I can see the following files:
* booty.py (279 B)
* main.py (33 B)
* bybcdc.inf (2KB)
* README.txt (529 B)
But if I open any of the files, they are all made up of the same character: ÿ
Also, when I plug in the board, it flashes green and red LEDs, which I believe means it can't run the scripts on the board. I can access the REPL and can run basic python commands such as print() and help(), but if I try to run any of the pyb commands, I get "NameError: name 'pyb' is not defined".
Should I try flashing the board with a newer dfu? Or can I just download and replace the 4 files in the filesystem somewhere?
corrupted board files? [solved]
corrupted board files? [solved]
Last edited by ssalenik on Fri Oct 24, 2014 12:33 pm, edited 1 time in total.
Re: corrupted board files?
You can reset the file system by following the procedure under "Boot Modes on this page:
http://micropython.org/doc/general
You want the Green and Orange LED together.
You may want to try it by plugging the pyboard into a USB charger. Then once you've reset the filesystem, unplug it from the charger and plug it into the Mac.
http://micropython.org/doc/general
You want the Green and Orange LED together.
You may want to try it by plugging the pyboard into a USB charger. Then once you've reset the filesystem, unplug it from the charger and plug it into the Mac.
Re: corrupted board files?
Thanks, that fixed it. I tried the reset sequence before, but with the board plugged into my mac, which I guess screwed it up.
-
- Posts: 4
- Joined: Tue Aug 02, 2016 8:34 pm
Re: corrupted board files? [solved]
I am in also same problem. I did factory reset, I tried to flash firmware using DFU tool too but nothing is working.
Re: corrupted board files? [solved]
Please open an own thread. The original post has nothing to do with your problem except you assumed topic (MacOS vs. Windows and a totally different error message).
What does py.exe in your pop-up message have to do with MicrpoPython? I am not that familiar with windowish things, but this sounds a little strange!
What does py.exe in your pop-up message have to do with MicrpoPython? I am not that familiar with windowish things, but this sounds a little strange!
Re: corrupted board files?
[quote="dhylands"]You can reset the file system by following the procedure under "Boot Modes on this page:
http://micropython.org/doc/general
You want the Green and Orange LED together.
You may want to try it by plugging the pyboard into a USB charger. Then once you've reset the filesystem, unplug it from the charger and plug it into the Mac.[/quote]
I have got similar problem, but when I am trying to use Your link, page does not exist.
http://micropython.org/doc/general
You want the Green and Orange LED together.
You may want to try it by plugging the pyboard into a USB charger. Then once you've reset the filesystem, unplug it from the charger and plug it into the Mac.[/quote]
I have got similar problem, but when I am trying to use Your link, page does not exist.
Re: corrupted board files? [solved]
The page has been moved into the MicroPython documentation here:
http://docs.micropython.org/en/latest/p ... boot-modes
http://docs.micropython.org/en/latest/p ... boot-modes