We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am running some example program in ARM Development Studio using FVP (fixed virtual platforms) simulator for A53.
All is OK, I can run the app.
However, the problem is the breakpoints: they don't work in C code, the work only in .S files assembly.
What could be the problem?
Model parameters are -C bp.secure_memory=false -C cache_state_modelled=0.
Hi Stephen,
What I have done is I made a new project in ADStudio, than I added a folder with /src and /asm files from the example you mention, and as a last step I added another folder with a bunch of my C source files. It all compiles, builds and runs nicely.
I put a few breakpoints in startup.S, and they all work. Also I placed a few breakpoints into GIC*.c and they all work.
However, breakpoints in main.c don't work. Main.c is still in the /src dir as GIC files are. So it's not even my own folder.
Also, none of the breakpoints work in my own source.
What could I have done to cause this strange behavior? I modified main.c, added some lines, however, nothing suspicious. It builds and runs nicely!