Simulink Coder Support Package for BBC microbit Board does not seem to support Microbit v2

30 views (last 30 days)
I have a Microbit v2.00 board with Interface Version: 0255.
I'm trying to connect to it from MATLAB R2024a on a Windows 11 machine. I have Simulink Coder Support Package for BBC microbit Board version 24.1.3 installed.
When I run m=microbit(), I get the following in the console:
Updating server code on board Microbit (COM7). Please wait (might take a few minutes).
Warning: serial will be removed in a future release. Use serialport instead.
If you are using serial with icdevice, continue using serial in this MATLAB release.
Internal error: The initialization of the server code is incorrect.
The Microbit shows a 529 error code on the LEDs indicating that the hex file that is being uploaded to the board is incompatible. My guess is that the hex file was created for Microbit V1 but has not been updated for Microbit V2.
  1 Comment
Broy
Broy on 16 Jan 2026 at 9:18
@Alan, You are correct in your diagnosis, Error 529 on the micro:bit V2 indicates an incompatibility with the .hex file being uploaded. Currently, I do not think there is support for Microbit V2. It might be available in the future releases.

Sign in to comment.

Answers (0)

Products


Release

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!