2024-04-26 01:12 AM
Hi
I changed My GPIO name and clicked the Code generation.
But the pop-up window turned on and off in an instant, My code didn't change.
AND everytime I click the code generation button, I can see the phrase "isbadioc=false" in IOC file.
is it IOC file is not normal?
how can I fix this situation?
please give me some solution.
Thanks.
Solved! Go to Solution.
2024-04-26 02:00 AM - edited 2024-04-26 02:17 AM
Just try : make new project, only character in name, and no spaces, generate code ... for test.
or
close Mx , close IDE.
Then start IDE, open ioc and generate code .... might work.
2024-04-26 01:30 AM - edited 2024-04-26 01:32 AM
Hi,
not much info, so just guessing:
maybe you give the pin a name (in Cube) , beginning with "not a character" symbol, like " - Vss " ->
That can totally confuse the CubeMx - never do it ! write always only characters in first place, like "Vss" .
(I did it one time - had to make new project with new ioc file . )
So try : make new project, only character in name, and no spaces (also in project name and all path names ! ).
2024-04-26 01:51 AM
Thank you for your reply.
But I used the name like you said.
Project name is also do like that.(I checked all path)
is there another reason??
2024-04-26 02:00 AM - edited 2024-04-26 02:17 AM
Just try : make new project, only character in name, and no spaces, generate code ... for test.
or
close Mx , close IDE.
Then start IDE, open ioc and generate code .... might work.
2024-04-29 12:26 AM
Thank you, because of your advice (creating new project), I was finally able to solve the problem.
when I opened my new project, STMcubeIDE informed me that I need a firmware update to use the code generation tool!
I found that the F1 firmware is in a different Repository.(It only have F4....)
Now I can generate code!