Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.3* micro:bit fails to enter automation mode #609

Open
microbit-mark opened this issue Mar 19, 2019 · 4 comments
Open

1.3* micro:bit fails to enter automation mode #609

microbit-mark opened this issue Mar 19, 2019 · 4 comments

Comments

@microbit-mark
Copy link

With automation enabled, flashing an empty start_bl.act file should reboot the micro:bit into MAINTENANCE mode. On 1.5 board variants this works, but on 1.3b board variants, it fails.

To reproduce on 1.3b

  • Confirm DETAILS.txt file contains “Automation allowed: 0”
  • Copy an empty auto_on.cfg onto micro:bit while reset button is pressed
  • Release reset button while usb drive remounts
  • Confirm DETAILS.txt file contains “Automation allowed: 1”
  • Copy an empty start_bl.act file to MICROBIT drive and it should reboot into MAINTENANCE
    On 1.3b variants it reboots into normal MICROBIT mode.

Expected result
All micro:bit variants should facilitate automation using steps listed above.

Environment
MacOS 10.14.3
The 1.5 board has Bootloader v0246 and the 1.3b in maintenance has v0234

Additional context

  • 1.3b exhibits the issue with DAPLink 0241 through 0253. I have also tried this on another 1.3B.
  • The manual process of holding reset and adding the start_bl.act file does enable MAINTENANCE mode.
@microbit-mark microbit-mark changed the title 1.3 micro"bit fails to enter automation mode 1.3* micro:bit fails to enter automation mode Mar 19, 2019
@brianesquilona
Copy link
Contributor

@microbit-mark, can you send us board/s for this one. Feel free to email me, because I might need more information about these boards.

@microbit-pauline
Copy link

@brianesquilona I have shipped 3 micro:bit boards for your attention.

@brianesquilona
Copy link
Contributor

brianesquilona commented Apr 1, 2019

Thanks @microbit-pauline!

@microbit-mark bootloader 0234 is old and does not support this switching, you can update your bootloader to 0250 or 0251. Depending on your interface code, after 0250, the memory map of the kl26z for bootloader/if changed to accomodate added logics. But one of these should work.

kl26z_bl.zip

@microbit-carlos
Copy link
Contributor

Just to clarify, with a micro:bit 1.3B DAPLink bootloader 0234 and interface 0241, copying the start_bl.act to the interface drive while the reset button is pressed does work, and DAPLink reboots into bootloader mode.

But if automation is enabled and the same start_bl.act file is copied to the interface drive without pressing the reset button, it does not reset into bootloader mode. It doesn't really do anything, just ignores the file.

Wouldn't the logic that decides when to act on this file be present in the interface? Not sure why an older version of the bootloader would affect this, if it works when the reset button is pressed.

Depending on your interface code, after 0250, the memory map of the kl26z for bootloader/if changed to accomodate added logics. But one of these should work.

Does that mean that versions of the bootloader < 0250 wouldn't work with version of DAPLink > 0251? Or is it just some features that are affected?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants