Skip to main content
Visitor II
March 13, 2025
Question

stuck trying to get STEVAL MKBOXPro connected

  • March 13, 2025
  • 5 replies
  • 966 views

Hi I purchase a STEVAL MKBOXPro. It connects to phone and app fine but i'm having trouble to get the device connected to MEMS studio and Unicleo GUI

 

 

BLE Connection issue... 

1. device manager detects STBOX but does not connect on MEMS studio and Unicleo GUI. I
 
Problem with usbc connection.. 
2. serial usbc sees COM9 with MEMBS studio but cannot connect to it when I hit connect button
 

 

Wondering what's causing the connection issue via bluetooth or via cable? I see a driver titled en.stsw-mkbox-bledk but i there is no exe button to install the driver. 

 

 
 
 
 

 

    This topic has been closed for replies.

    5 replies

    Technical Moderator
    March 14, 2025

    Hi @khonsaiho ,

    We need to check if the USB is correctly installed. Try this test for USB communication.
    Once the board is connected to the pc via USB and turned on, look for the installed com, then with a terminal as TeraTerm, hyperterminal ( 115200bd 8N1, no handshake) try typing "*ver" and verify if the board responds with the FW version number:

    FedericaBossi_0-1741961316652.png

    Please, check also the led status of the board.

     In addition, in order to connect the STEVAL MKBOXPro to MEMS Studio, you have to either upload the dedicated FW in the Firmware folder of MEMS Studio (USB c serial communication) or create the FW with Algobuilder to communicate via Bluetooth. It cannot use the FW compatible with the mobile app.

    khonsaihoAuthor
    Visitor II
    March 14, 2025

    ok let me check. 

     

    also is there a link to the specific fireware I need to get for STEVAL MKBOXPro? Not sure which one is correct firmwire.

    khonsaihoAuthor
    Visitor II
    March 17, 2025

    i plugged in device and turned on. I downloaded Termite 3.4 by Compuphase and selected correct COM9 11520 BPs 8n1, no handshake

    typing VER yielded no result. sensor lights all turn on

    Confirmed that the cable is data usbc

     

    Screenshot 2025-03-17 131001.png

    Screenshot 2025-03-17 130929.png

    khonsaihoAuthor
    Visitor II
    March 17, 2025

    can I get specific instructions on how to install the firmware? Device manager detects a COM9. I downloaded STM32CubeProgrammer from the sensor tile box pro firmware and the EXE is giving me this error

     

    khonsaiho_1-1742243131593.png

     

     

     

    khonsaiho_0-1742243031174.png

     

    Screenshot 2025-03-17 132024.png

     

    khonsaihoAuthor
    Visitor II
    March 21, 2025

    hi. still looking for solution to get device connected to PC. have not heard back from support for a few days

    Technical Moderator
    March 25, 2025

    Hi @khonsaiho ,

    the correct command to read the version is 
    *ver
    by this command you should read the firmware version.
    The link of binary file to flash via cube programmer is
    https://github.com/STMicroelectronics/appconfig/blob/release/bluestsdkv2/bin/steval-mkboxpro/STSW-MKBOXPRO_1_2_1.bin
    if there are problems we recommend the factory reset procedure following this link
    https://www.st.com/en/embedded-software/stsw-mkboxpro-fs.html

    khonsaihoAuthor
    Visitor II
    April 28, 2025

    will the software not read firmeware version 1.2.0?

    is there instructions on how to install the updated firmware 1.2.1? Is that required to get the software to load?

     

    Technical Moderator
    April 30, 2025

    Hi @khonsaiho ,

    To connect the sensortile.box PRO with the MEMSstuio sw via USB cable you need to program the board with the  
    DataLogExtended.bin fw 
    which you find in C:\Users\xxxxx\AppData\Local\Local\STMicroelectronics\MEMS Studio\firmware\mems-studio\steval-mkboxpro
    Click firmware upgrade from memsstudio, 
    put the board in DFU, 
    select DFU interface, 
    search for the device, 
    and load the DataLogExtended.bin binary into the path, 
    then PROGRAM.
    Now reboot the board, always connect it in usb, 
    in CONNECT select communication : serial, 
    CONNECT the board.
    so you should see the sensor data in mems studio.

     

    about the BLE communication, there is no example ready, you need to create the fw by the algobuilder.
    click ALGOBUILDER
    click FIRMWARE SETTINGS
    Select the toolchain/IDE used
    select TARGET SensorTile.box Pro BLE

    You need to create in algobuilder a design with SensorHUB connected with the block needed (MotionFX 9x/quaternion example), then connect the display/fusion (or what you need)

    FedericaBossi_0-1746017370652.jpeg

    click to INITIALIZE PROJ, GENERATE CODE, BUILD
    then PROGRAM TARGET (the board must be in DFU).

     

    Now restart the board
    you need to do bluetooth pairing between the board and pc.
    in windows add a new bluetooth device (remember to set the Bleutooth device discovery to ADVANCED).
    You should see algob device in new device, do the pairing with 123456 as the code.
    Now in memsstudio, click CONNECT, Connection Type "bluetooth" and you can see the board.
    This way you should be connected via BLE to memsstudio.
    You can edit the C code you created with your toolchain but you should not edit the bluetooth part.