[Microbit-Python] flashing the Microbit

David Whale david at thinkingbinaries.com
Sun Nov 29 05:25:50 EST 2015


Step 3 on this page explains how. Just copy the file either using the file
manager, or with a copy command.

https://www.microbit.co.uk/device/usb

The interface chip on the micro:bit emulates a filing system, it is not a
real filing system, hence you won't see the file that you copy onto the
device in most instances.

The device will auto-eject at the end of the programming process. Depending
which version of firmware you have (which breed of early access device you
have) you might have to press the reset button on the back to start the
code running.

It's a standard mbed device, so you can get more technical details here:

https://developer.mbed.org/handbook/Downloading-a-program

Hope this helps.

David


___________________________________________________________
David Whale, B.Sc (Hons), MIET
*Software Engineer and IET Schools Liaison Officer, Essex*

email:  dwhale at theiet.org
twitter: @whaleygeek
blog:  blog.whaleygeek.co.uk

Co-author of global bestselling book "Adventures in Minecraft"
<http://amzn.to/ZGfxZG> - lets get kids coding!
Now in English, Spanish, Chinese and Russian.


On 29 November 2015 at 10:11, Radomir Dopieralski <microbit at sheep.art.pl>
wrote:

> Hi Mark,
>
> this is a bit unintuitive, indeed.
>
> You see, when you connect micro:bit to the USB port of your computer,
> it becomes visible as a serial port, but also as a storage device with
> some files in there. You can read those files for basic help. You can
> also simply copy the .hex file onto that storage device, to have it
> uploaded as the new firmware. You will not see the file in there after
> you copy it, though, because it's not really added to the filesystem --
> hence people say it's hidden.
>
> I hope that helps.
>
> On Sun, 29 Nov 2015 22:48:39 +1300
> Mark Schafer <mschafer at wireframe.biz> wrote:
>
> > I've got my Ubuntu14.04 compiling using Yotta and I'm getting a hex
> > file. But I've looked and just can't find out how to get the newly
> > built hex file onto the Microbit from Linux.
> >
> > - On here it doesn't say:
> >       https://github.com/bbcmicrobit/micropython
> > - I've used dfutils (from windows) for the stm version of the
> > hardware but I don't think that's going to work for the Microbit
> > - This page (https://github.com/bbcmicrobit/PythonEditor) suggests I
> > can send it over on a serial connection if I install pyserial and
> > determine which tty its on.
> >      - it also seems to be suggesting the .hex file is a hidden file
> > (but I can't see it on the unit that arrived in the mail) when doing
> > a directory listing on the Microbit plugged into windows..?
> >
> > Where is this extra info - bound to be there - I just can't find it :(
> >
> > Thanks, Mark...
> > _______________________________________________
> > Microbit mailing list
> > Microbit at python.org
> > https://mail.python.org/mailman/listinfo/microbit
>
>
> --
> Radomir Dopieralski
> _______________________________________________
> Microbit mailing list
> Microbit at python.org
> https://mail.python.org/mailman/listinfo/microbit
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/microbit/attachments/20151129/16f21b5f/attachment-0001.html>


More information about the Microbit mailing list