ntoll / uflash

A module and command to easily flash Python onto the BBC's micro:bit device.
http://micropython.org/
MIT License
101 stars 27 forks source link

Update microbit firmware to v1.0.0-rc1 #52

Closed carlosperate closed 6 years ago

carlosperate commented 6 years ago

There has been a change in the hex file, before it used to end with:

:040000050001993528
:00000001FF

Now it add some data to the UICR, so after the MicroPython runtime we have 3 extra lines before the last two:

:020000041000EA
:1010C0007CB0EE17FFFFFFFF0A0000000000E10008
:0C10D000FFFFFFFF750C03000000000094
:040000050001993528
:00000001FF

This PR updates uFlash to take that in consideration in its calculations.

ntoll commented 6 years ago

Awesome... checking now. :-) Thank you

carlosperate commented 6 years ago

I've separated the commit in two so that you can actually see the changes in uFlash (GitHub complains when updating the firmware because the change is too big):

First is just the firmware, second commit is: https://github.com/carlosperate/uflash/commit/2316827f5f0d92e44d5e7642147567447058d7c8

ntoll commented 6 years ago

OK... I've just checked it in the following ways:

ntoll commented 6 years ago

OK... scratch that... un-plugging and plugging back in again made it work. No idea why... but that's good enough for me. ;-)