Skip to main content
Visitor II
October 31, 2019
Solved

SensorTile.box not connecting

  • October 31, 2019
  • 9 replies
  • 8420 views

Hello, I had a problem while transfering one of available Demos for my SensorTile.box (STEVAL-MKSBOX1V1) , probably a battery issue, and data transfer wasn't complete. After it, app find TILEBOX but don't connect. Is there a way to reset it to default ?

Regards

Ricardo Urio

    This topic has been closed for replies.
    Best answer by İÜnal.1

    Hi! I have solved this problem. I followed these steps which described in attached PDF file in page 56.

    9 replies

    ST Employee
    October 31, 2019

    Hi @RUrio.872​ did you face the issue during the 1st firmware upgrade (when you)? Btw, you can restore the default FW by directly flashing it via DFU on the STM32L4 of your ST.box, follow these instruction:

    • Install DfuSe utility (STSW-STM32080 package), if not already done (please follow the first section of the UM0412 for the description of the dfu mode)
    • create a dfu file e.g. from the .bin file BLESensors.bin in \en.FP-SNS-STBOX1_firmware\STM32CubeFunctionPack_STBOX1_V1.0.0\Projects\STM32L4R9ZI-SensorTile.box\Applications\BLESensors\Binary. You have to use the DFU File Manager installed together with the DfuSe tool. Please follow p.16 instruction of the UM0412.
    • remove the ST.box package, if not yet done
    • unplug the battery from the ST.box, if plugged
    • press the BOOT button and plug it to your PC via USB cable while keeping the button pressed
    • release the BOOT button once the USB is plugged
    • open the DfuseDemo app and check if your device is recognized
    • if the device is detected, upload the .dfu file created at point 2 (please follow the User interface part of UM0412 for the description of the dfu mode)
    • once the FW has been upgraded, release the .dfu mode

    Please check if the ST.box is now working via the ST BLE Sensor app.

    Regards

    ST Employee
    November 7, 2019

    DfuSe is obsolete, use the new STM32CubeProg tool. Note that DFU drivers are incompatible: you must uninstall DfuSe including its DFU drivers. STM32CubeProg also replaces ST-Link utility

    RUrio.872Author
    Visitor II
    October 31, 2019

    0690X00000ArWU9QAN.jpg0690X00000ArWU4QAN.jpg0690X00000ArWTuQAN.jpgHello Eleon,

     I downloaded en.FP-SNS-STBOX1_firmware file and generated dfu file (52Kb) from BLESensors.bin . DfuSe Demo app detected the device (STM Device in DFU Mode). So I clicked "Choose..."button at box "Upload Action", and when I selected the dfu file, I receievd a message asking if I would like to overwrite the dfu file (!?). I confirmed the overwrite, selected Target Id 00 - Internal Flash at Targets windows and then uploaded, but it still not connecting with ST BLE android app. I tried to write to targets IDs 01 and 02 as well with no success. What more can I do ?

    Kind regards

    Ricardo Urio

    ST Employee
    November 5, 2019

    0690X00000AriRMQAZ.jpgHi Ricardo, did you release the dfu mode after downloading the bin file, by clicking "Leave DFUmode" button?

    About the 2nd and 3rd pic you are showing, are you able to find your device TILEBOX in the BLE list but you are not able to connect it, right?

    Regards

    RUrio.872Author
    Visitor II
    November 5, 2019

    Hi Eleon,

    "Did you release the dfu mode after downloading the bin file, by clicking "Leave DFUmode" button?"

    A: Yes, I did

    "...are you able to find your device TILEBOX in the BLE list but you are not able to connect it, right?"

    A:It's right, app shows TILEBOX but don't connecto to it

    Regards

    ST Employee
    November 6, 2019

    Check if you maybe associated the ST.box device via Bluetooth with your smartphone. In case, you have to de-associate it from the Settings of your smartphone, and then retry to connect via BLE. Are you using a Huawei phone? Regards

    RUrio.872Author
    Visitor II
    November 6, 2019

    Hi Eleon,

    The problem is solved. I uploaded the .dfu again, but only using "Upgrade" button from "Upgrade or Verify Action" panel. Before, I used "Upload" button too. Now I didn't touch on it and worked fine.

    Thank you

    Kind Regards

    Ricardo Urio

    Explorer II
    November 11, 2019

    Hi all.

    I have the same problem. After firmware update from BLE Sensor App sensor box is not visible any more via bluetooth or as COM port in computer.

    Where i can find file BLESensors.bin? I looked for it on my computer, also on STM page but with no results.

    ST Employee
    November 11, 2019

    Hi @Jan Wustrau​ , you have to download the ST.box firmware function pack here. Then go to \STM32CubeFunctionPack_STBOX1_V1.0.0\Projects\STM32L4R9ZI-SensorTile.box\Applications\BLESensors\Binary and you will find the binary file BLESensors.bin. To download this file on the ST.box, you can use the DFU method, following the above explained instructions. Regards

    Explorer II
    November 13, 2019

    My blue box is rescued =)

    Thank you.

    I have one more question. Now i used BLEFOTA.bin to download firmware through BLE Sensor App (with fw BLESensors.bin i can not create my own sensor sets, there is error writing new app).

    Is there any sleep mode in this firmware (3V22)? Because if i left box unconnected for some time i can not connect again. I need to connect it to usb first or hold PWR button on the board (but i have enclosure closed). Is any other way to wake it up?

    Visitor II
    March 31, 2020

    Hello,

    I have similar problem, I really don't know what happened. I haven't been able to detect my sensor for 2 days.

    I used to be able to detect it in the Tera Term, now the port can't be detected, at all when I pull out and insert the usb cable, windows doesn't recognize the change...

    I've tried to retrieve the clues from this side, but in Dfuse can't choose anything. See image.

    Thanks for your answer in advance. 0693W000000V45qQAC.png

    RUrio.872Author
    Visitor II
    March 31, 2020

    Hello,

    For me, the problem was solved when uploaded the .dfu again, but only using "Upgrade" button from "Upgrade or Verify Action" panel. Before, I used "Upload" button too.

    Regards

    Ricardo Urio

    ST Employee
    March 31, 2020

    Hi @Community member​ , pls check also the DFuSe demo drivers are not conflicting if you may have installed the STM32CubeProgrammer. Regards

    Visitor II
    January 11, 2021

    Hi everybody,

    same problem: after the first firmware update via app, I had the sensortile not working anymore..

    I've tryed the procedure descripted above, it was unsuccessfull, the sensortile is not visible in the list of the available ble devices.. the BLE led is steady blue

    Any suggestions?

    ST Employee
    January 14, 2021

    Hi @ADel .2​ ,

    Which is your smartphone and OS version?

    You should try with the DFU procedure described HERE. Please use this firmware version with BootLoader (attached to this post), and let me then know.

    -Eleon

    İÜnal.1Answer
    Visitor II
    February 21, 2022

    Hi! I have solved this problem. I followed these steps which described in attached PDF file in page 56.