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

micro:bit V2 cannot be flashed from Lenovo tablet - GATT WRITE NOT PERMIT #82

Open
PSLLSP opened this issue Jan 11, 2025 · 3 comments
Open

Comments

@PSLLSP
Copy link

PSLLSP commented Jan 11, 2025

micro:bit V2 cannot be flashed from Lenovo tablet M10; error is GATT WRITE NOT PERMIT

micro:bit V2.21
Tablet Lenovo TAB M10 (3rd gen) WiFi
Bluetooth 5.0
Android 12
micro:bit application for Android V3.0.10

This tablet was used to program micro:bit V1.5 and it worked. But we failed to flash micro:bit V2.21...

@martinwork
Copy link
Collaborator

All Bluetooth support in micro:bit is provided by the last program flashed, so this could be related to the program that was in V2 when you tried to pair and/or flash. To rule that out, and get a fresh start:

  • Use the Bluetooth section in the tablet's Settings app to remove any existing pairings named micro:bit or DfuTarg
  • Use a computer to send a hex file to the micro:bit via USB by dragging it to the MICROBIT drive.

Use the "meet the micro:bit" program hex file, or a hex file saved from a new MakeCode project (display something so you know the USB transfer has completed).
https://microbit.org/get-started/user-guide/meet-the-microbit-program/

It might help to try to reset the tablet's Bluetooth as described in #79.

@PSLLSP
Copy link
Author

PSLLSP commented Jan 12, 2025

That was new micro:bit board, it was loaded with "meet-the-microbit-program". I do not like how annoying sounds it produces on V2...

We tried to use Lenovo M10 tablet first to program and flash simple example and we failed again and again.

Then I tried 10" Fire tablet from Amazon (FireOS based on Android 11) and I was able to program micro:bit on my first try. That is why I assume that something is wrong with Lenovo tablet or Android on that tablet or Bluetooth. As already noted, Lenovo tablet was used to program micro:bit V1 and it worked fine.


UPDATE. new micro:bit was loaded with different version of program, with "test", to test buttons, LEDs, tilt sensor, etc. We will retest with the new version of "meet-the-microbit-program".

@martinwork
Copy link
Collaborator

martinwork commented Jan 12, 2025

Thanks for interesting info. Do you have any details about that different program, like a download URL or a hex file we could try?

Please post the contents of the DETAILS.TXT file from the MICROBIT drive of the micro:bit V2.

It might be useful to post the precise model variant of the M10, like TB328FU / TB328FU_EEA / TB328FU_TR, and RAM size.

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

2 participants