2022-07-11 06:20 AM
Hello,
I'm trying to send data and retrieve the output from my stm32f4-DISCO. I'm using a python based code and specifically stm_ai_runner. The code is rather simpler but I can't access the board because even runner.summary() doesn't work. My board is flashed with the network :
And this is what my code looks like :
And the terminal :
I thank you in advance,
Numa
Solved! Go to Solution.
2022-07-12 02:41 AM
It's the same as "validate on target" on CubeMx :
Running the STM AI c-model (AI RUNNER)...(name=network, mode=stm32)
E200(ValidationError): stm32: Unable to bind the STM AI runtime with "network" c-model: []
connection to "serial::115200"/":115200" run-time fails
E801(HwIOError): Invalid firmware - COM6:115200
So the problem must be from the board (It works on the H7) but I don't know why...
Regards,
Numa
2022-07-12 02:49 AM
Hello,
Thank you for you response and your time.
I tried your method but I have the same "TimeoutError" as before. I don't think the problem come from the port COM that is already used because when I open the port COM via a terminal the error is :It is a "access denied error" because windows can have only one process at a time accessing a COM port.
Best regards,
Numa
2022-07-12 03:59 AM
I successfully manage to fix the problem, sorry, It was a simple wire pronlem (he was in a bad shape) thanks you so much for your time. Have a nice day.
Regards,
Numa