Having received by PYbV1.0 this week I tried the example code under "Quick start" on the help page
http://micropython.org/help/ and found that when placed in a vertical angle so that the LEDs flashed fast it appeared to crash and lock up. So I have sought out the latest firmware which, from what I've seen of the activity going on at github just today, should have quite a few bugs fixed. If you don't want to build the code from scratch the latest build appears to be available from
http://micropython.org/download/ - I suspect this is just an automatic build of the latest version with no guarantees - (I am sure that others who know the detail will be able to comment).
The information on how to get this code into your PYB is available but at present is scattered in a few places - so I have just made some quick notes of what I did under WIndows (7). This has worked as my board now has the latest firmware and no longer crashes with the quick start example program - I though it might help some people to share these notes:
Download the firmware (.
dfu file) you want to use from downloaded from
http://micropython.org/download/
Disconnect pyboard from everything.
Connect pin "Boot0" (P1) to 3V3 - these pins are at the bottom left of board, they are conveniently next to each other so just solder on a 2 pin header and then populate a link when you need this mode.
Connect pyboard to computer by USB cable.
The ST Micro now presents a different interface (
DFU mode) to the computer over the USB interface so Windows needs to install the appropriate drivers - just be patient and it will happen automatically.
Download the ST "DfuSe Demo" application (v3.0.3) from
http://www.st.com/web/en/catalog/tools/ ... pe=keyword
Extract contents from the zip file and Install the application.
Run the "DfuSe Demonstration" application which has been installed.
The application should automatically detect your pyboard and show "STM Device in
DFU Mode".
In the "Upgrade or Verify Action" section of the application click on "Choose…" and select the .
dfu file that you downloaded earlier.
Click "Upload" to transfer the image to your pyboard.
When the upgrade is complete disconnect pyboard from USB, remove the link between "Boot0" and 3V3.