Skip to content

Instantly share code, notes, and snippets.

@k-yle
Last active February 8, 2024 02:46
Show Gist options
  • Save k-yle/55e8d90a4c897818bf17921ab1dbce38 to your computer and use it in GitHub Desktop.
Save k-yle/55e8d90a4c897818bf17921ab1dbce38 to your computer and use it in GitHub Desktop.
πŸ’» How to get out of SAMBA mode on NXT

How to get out of SAMBA mode

(SAMBA = SAM Boot Assistant)

  • In device manager the brick had a device description Bossa Program Port. It should be LEGO MINDSTORMS NXT.
  • Uninstalling the driver and reinstalling it still shows Bossa Program Port.
  • So I found the hardware ID of the Bossa Program Port from device manager (USB\VID_03EB&PID_6124).
  • Then I went to the c:\Windows\inf directory and searched for that ID.
  • That ID appeared in two INF files oem11.inf and oem42.inf.
  • oem11.inf has the device description "LEGO MINDSTORMS NXT Firmware Update Mode" and oem42.inf has the description "Bossa Program Port".
  • So that's why it installed the wrong driver.
  • Knowing that, I renamed oem42.inf to oem42.inf.bak and then uninstalled "Bossa Program Port" from device manager and repluged the NXT

Who installed oem42.inf?

It's actually the Arduino IDE itself... Their Arduino Due uses a Atmel 32-bit processor, similar to the NXT, and the same controller (ATMEGA328P)

Correct INF file for the NXT:

[USBList]
%USB\VID_0694&PID_0002.DeviceDesc%=WinUsb_Inst, USB\VID_0694&PID_0002
%USB\VID_03EB&PID_6124.DeviceDesc%=WinUsb_Inst, USB\VID_03EB&PID_6124&REV_0110,USB\VID_03EB&PID_6124
@OPiElix
Copy link

OPiElix commented Dec 8, 2022

thank you very much for this : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment