2024-12-11 07:17 AM - last edited on 2025-01-13 08:10 AM by SimonePradolini
I am using the STEVAL-MKBOXPRO development board with the FP-SNS-DATALOG2 software V2.2.0, and i already checked that i have all the right versions of
However, i am still getting the message "Device Template Model Loading".
Do you have any other recommendations?
Thanks
2024-12-12 05:10 AM
We have tried to replicate your setup in our lab, but we were unable to reproduce the error. Everything works correctly on our end.
Which Python version and OS are you using?
In addiction, could you please share a screenshot of the stuck Python GUI? This would provide us with more information to support you more effectively.
In any case, we recommend starting from a clean initial state. Meanwhile, you can try the following steps:
Projects/STM32U585AI-SensorTile.boxPro/Applications/DATALOG2/Binary
Utilities/HSDPython_SDK
Let me know if you need any further assistance.
Best regards,
Matteo
2024-12-16 03:18 AM
Thank you for the help.
I am using python 3.12 and windows 11.
I already dis this:
I already created a virtual environment but i don't know how to install HSDPython_SDK packages with that.
I just installed HSDPython_SDK packages and launched hsdatalog_GUI.py and i am stuck in the same part.
I am sure that i flashed the v.2.2.0 but this says v2.3.0, i really don't know what to do.
2024-12-16 07:21 AM
Hi @FilipeLourenço,
I'm sorry, but the only reason you see v2.3.0 in the dropdown menu of connected boards is that the board is flashed with firmware version 2.3.0.
Have you ever flashed the firmware on your board using the mobile app "ST BLE Sensor"?
Since STM32U5 microcontroller families support double-bank flash memory, when the firmware is flashed using this app, it is automatically loaded into the second bank, and when the flashing process is finished, the bank is switched, and the firmware is set to boot from the second bank.
If you then tried to reflash the firmware (v2.2.0) via USB, it might be that you flashed it to the first bank.
This would explain your issue with the GUI because the firmware that boots remains the one previously flashed with the "ST BLE Sensor" app (presumably v2.3.0) due to the swapped banks.
If this is the situation, you can easily swap the memory banks from the app by selecting the "Firmware Swap" option in the "Board Control" section of the "Board Configuration" menu.
I hope this helps!
Please let me know if you have any further questions or need additional assistance.
In any case if you need further or more specific information please refer to "Setup & Demo Examples" section of the Function Pack Quick Start Guide
Best regards,
Matteo
2024-12-17 02:50 AM
Hi @matteo_ronchi ,
I tried to flash using the mobile app, but as far as i know without sucess. But i have flashed the board via usb using the STM32CubeProgrammer previously, and maybe i flashed the v2.3.0.
I used the app and saw that i have 2 versions and the current firmware is the v2.3.0. I tried to switch the firmware in the app but it keeps showing v2.3.0 in the GUI.
Then i tried to do it Via STM32CubeProgrammer app in Option bytes> User Configuration > SWAP_BANK or BFB2, but get an error and, after that, when i turn on the device there is no light that stays on , as usually, and can detect the device on GUI or STM32CubeProgrammer or in the apps.
Thanks for the help.
Best regards,
Filipe
2024-12-17 04:39 AM
Hi @FilipeLourenço,
I'm sorry that you haven't been able to properly configure your board yet.
Let's try following this procedure to start from a clean and stable situation:
Now, your board should be configured correctly.
If you continue to experience issues, please don't hesitate to reach out for further assistance.
Best regards,
Matteo
2024-12-17 01:11 PM
Hi @matteo_ronchi ,
Thanks a lot for your time and patience! I finally could enter in the GUI interface to start using it.
One more question, i never achieved to use STM32CubeProgrammer in my actual laptop, but then after too many tries i decided to try on my old one and done it sucessfully, do you know any limitations that are blocking me to do that conection? Both windows, my old laptop is a Acer Aspire A515-51 and my actual is a ASUS Vivobook Pro 15.
Best regards,
Filipe
2025-01-06 03:13 AM
Now that i can use the GUI because i had to use the v2.2.0 instaead of v2.3.0, the ST BLE Sensor APP doesn't work because i don't have the lateste Fw version...
How can i work then?
Thanks for the help!
2025-01-08 01:39 AM
Hello @FilipeLourenço
We always strongly suggest using the latest version available for all the components involved in FP-SNS-DATALOG2 projects.
Some bugs have been solved and new features have been added both on the Python SDK and the firmware side, plus major bug fix involved communication with BLESensor app (not fully working with v2.2.0).
You can refer to the changelog available in the package Release_Notes.html.
So, I strongly invite you to refer to FP-SNS-DATALOG2 v2.3.0, updating both firmware and Python SDK.
Furthermore, use Python 3.12 (if not feasible, use at least 3.11) and BLESensor app v5.2.x (the most updated should be 5.2.6, today for Android only, iOS ongoing).
Best regards,
Simone
2025-01-09 06:44 AM
Hi @SimonePradolini,
Thanks for your answers, but previously in this topic i was told to use the V2.2.0 to use the GUI.
Does it work now with v2.3.0?