2025-02-12 09:41 PM
Hello!
I've been tasked to use the STEVAL-PROTEUS1 board with the ISM330DHCX to detect anomalous motor behavior. I've confirmed the board works fine when using other firmware and works as a WCID & MSC with datapro. However, when I try to flash the auto generated datalogger firmware from Nanoedge AI for serial data collection (via FUOTA), it does not create a COM port I can point the serial monitor at. I'd be grateful if someone could advise me of mistakes I might've made along the way, or if flashing via FUOTA does not work because there is a second flash bank or something similar. While I do currently have access to a STLINK V3-MINIE, I would prefer if flashing via FUOTA was an option, as it makes for an easier showcase.
Thanks in advance
Haze
Solved! Go to Solution.
2025-02-14 12:39 AM
Hi Haze,
Indeed, considering latest updates, you can use BLE_Ota_RFWKPCLK_LSE.bin. For a clean setup, I recommend you to flash it in wired the first time, at address 0x08000000. Then you can flash the datalogger binary from the BLE Sensor App at address 0x08007000.
Have a good day,
Julian
2025-02-13 01:36 AM
Hi @Haze ,
FUOTA flashing of a NanoEdgeAI datalogger binary should not require any specific constraint.
Did you choose as memory start address 0x08000000?
Then, make sure to connect your STEVAL-PROTEUS1 board to your PC using 2 micro-USB cables: a first one to power the board through its USB port, and the second one connected to a debugger plugged to the board' STLINK-V3 connector.
The second cable and ST-LINK are not required if you have generated a Continuous mode datalogger.
Please come back to us if you are still stuck after following these steps.
Have a good day,
Julian
2025-02-13 02:28 AM - edited 2025-02-13 02:52 AM
Hi @Julian E. !
Thank you for the speedy reply. I've attached below images from the ST BLE Sensor app of both the default address it picks to flash firmware (0x007000) and the memory out of bounds error it throws when setting the memory address to 0x08000000. Flashing other firmware mentioned above at 0x007000 works fine over OTA. The same issue is encountered when trying to flash the board using the STLINK/ DFU with boot0 pulled high via CubeProgrammer. To answer the second question, I have picked a continuous datalogger to be generated as NEAI suggests for CDC USB communication.
Thanks
Haze
2025-02-13 05:16 AM
Hello @Haze ,
Based on the last screenshots you shared, I suggest you to re-flash the FUOTA binary (Proteus_BLE_FUOTA_reference.bin) at address 0x08000000 and then flash the NanoEdgeAI datalogger binary at address 0x08007000 (not just "0x007000").
Please tell us if the board COM port is still not visible after these steps.
Have a good day,
Julian
2025-02-13 09:42 PM
Hi @Julian E.
Where do I find Proteus_BLE_FUOTA_reference.bin? I assume it is a part of the STSW proteus software kit, but looking in the projects folder, I see a BLE_Ota_RFWKPCLK_LSE.bin in the BLE section. Also, I assume I can directly do this using the app by selecting the wireless option (currently pointing to address 0x011000)?
Thanks
Haze
2025-02-14 12:39 AM
Hi Haze,
Indeed, considering latest updates, you can use BLE_Ota_RFWKPCLK_LSE.bin. For a clean setup, I recommend you to flash it in wired the first time, at address 0x08000000. Then you can flash the datalogger binary from the BLE Sensor App at address 0x08007000.
Have a good day,
Julian
2025-02-14 12:59 AM
Hi Julian!
Im glad to report that the datalogger is now working properly! Thanks for the help. I'm curious as to why the other firmware like FP-AI-PDMWBSOC 1 and 2 and datapro work despite the OTA pointing at the memory locations 0x011000 and 0x007000 (automatically picked by the app), since the datapro sheet also suggests flashing the main firmware at 0x08007000
Yours Sincerely
Haze