Using Eval version of Arm development studio . It is writing a pattern of 0xdfdfdf pattern on ram after loading image symbols
The memory pattern you describe is the reset/default value of memory. If nothing is written to memory you will see this value. It may mean you are not loading the software. Make sure to "load image" to write the software image to memory. Doing "load image symbols" only associates the symbols with the memory contents for the debugger to do symbolic debugging and will not change the memory contents.
Used load command to load image on to FVP model and used add-symbol-file command to load debug information .Observed that specified " application is loaded successfully " . After executing startup64.axf , we are not able to debug actual application due to 0xdfdfdf pattern.
How can we resolve this problem
Hi BhargaviAs Jason wrote, the 0xDFDFDFCF pattern you see is the reset/default value of modeled memory, so it seems nothing been written there yet. As a first check, please try importing an running the ready-made "fireworks_Cortex-A55_Cortex-A76" example.File > Import > Arm Development Studio > Examples and Programming Libraries, then enter e.g. “fireworks” in the search filter. Does that example run OK?The next step is to investigate why your own example isn't running, but to help us, you'll need to provide more information about it, for example:1) Was startup64.axf made by you, or is it an example from elsewhere?2) Which compiler, exactly, was used to build startup64.axf?3) At what address is startup64.axf loaded? Do you see the code initially correctly in the Disassembly view? Are you able to single-step the first few instructions correctly, or even to run to main() (if there is one)?4) For the memory where you see the 0xDFDFDFCF pattern, what do you expect to see loaded there, e.g. code, rw-data (.data), or zi-data (.bss)? We have seen cases before of GCC-generated apps not having their RW/ZI data initialised correctly.5) Is the Cortex-A55 FVP model being launched with the correct parameters, e.g., with "-C bp.secure_memory=false -C pctl.startup=0.0.*.*" ?Hope this helps,Stephen
View all questions in Arm Development Studio forum