I imported a model into STM32Cube AI Studio and tried to run it in On Target mode, but I encountered an error as shown in the attached file. What might be causing this issue?
I see an error during code generation performed by STM32CubeMX.
Did you have any prompt saying to download a firmware package?
Could you please share with me on which board you are working? I see MCU STM32WB5MMGH6 but if you can confirm which Nucleo / DK.
Best regards,
Yanis
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
To answer you questions first: - Did you have any prompt saying to download a firmware package? --> I do not remember seeing a prompt to download a firmware package, although it is possible that I may have missed it. - Could you please share with me on which board you are working? --> The MCU is mounted on my own custom board. The board is basically working normally, including logic operation and serial communication.
In addition, I am seeing the following behavior in STM32CubeMX: On the initial screen, when I click the Access to MCU Selector button under Start My project from MCU, only the progress bar keeps spinning and nothing happens afterward. When I click the Access to board selector button under Start My project from ST Board, the New project from a board window opens. However, if I then click the MCU/MPU Selector button there, again only the progress bar keeps spinning and it does not proceed any further. It seems that STM32CubeMX and CubeIDE are sharing the same repository. The built-in CubeMX inside CubeIDE (ver. 1.19) is version 6.15.0, while the separately installed standalone CubeMX is version 6.12.1. Could this version difference be causing this issue?
Minimum required is version 6.16.0 and CubeIDE to version 2.0.0
Have a good day,
Julian
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.