2023-03-29 03:41 AM
I use an array, for example, peakindex[6]. The biulder shows no errors. When debugging and looking for the values in the Expressions window the following error messages occur:
Multiple errors reported.
1) Failed to execute MI command:
-var-create - * peakindex
Error message from debugger back end:
-var-create: unable to create variable object
2) Unable to create variable object
3) Failed to execute MI command:
-data-evaluate-expression peakindex
Error message from debugger back end:
No symbol "peakindex" in current context.
4) Failed to execute MI command:
-var-create - * peakindex
Error message from debugger back end:
-var-create: unable to create variable object
I appreciate any help.
Regards
Ulrich
Solved! Go to Solution.
2023-03-31 02:54 AM
I fixed the problem, but cannot point out the exact reason. After migrating from 1.9.0. to 1.12.0 the problems occured. I built up the .ioc file from scratch and now it works properly.
2023-03-30 01:43 AM
Hello @USchm.2
Please check those points :
----> I can solve your issue just send me a screenshot contains the error message !
Best regards
Wijeden,
2023-03-30 06:22 AM
Hello Wijeden,
thanks for your quick reply. At the moment I am faced with another, probably more severe issue. I moved from stmcubeIDE 1.9.0 to 1.12.0 (upgrade didn't work). Old version was deinstalled before.
Then I set up a completely new project, assigned the right processor and nucleo board and built the project. The only addition I made were some variable declarations in main.c in order to test the beforementioned behaviour.
Builds without errors. Debugger starts, download verified successfully, but when I start the program, errors "Target is not responding, retrying" occur until shutting down.
I followed the procedure described in
and successfully performed a mass erase with cube programmer. Unfortunately, debugging still doesn't work. Please find attached a screenshot, What can I do?
Regards
Ulrich
Ihr Partner in Forschung,Entwicklung und Innovation
Prof. Dr. Ulrich Schmucker
Post edited to adhere community guidelines.
2023-03-31 02:54 AM
I fixed the problem, but cannot point out the exact reason. After migrating from 1.9.0. to 1.12.0 the problems occured. I built up the .ioc file from scratch and now it works properly.