I'm currently using an FVP model to develop my system. I'm using the DS-5 debugger. In the expressions view, I'm always getting the EL3 address space view of my expression of interest although I'm running in EL2. How can I change this? Thanks in advance
Hello, my guess would be that the symbols are only loaded to the EL3 level. You can load the symbols to EL2 with a command such as:
add-symbol-file <image.axf> EL2:0x0
See any of the startup_xxx examples provided with DS-5 (or the new Arm Development Studio) which have pre-configured debug configurations which do this.
Thanks! But is there any way to quickly change between the two during a simulation?
You can view memory from other ELs by a similar mechanism - specifying (say) EL2:<address> in the memory view, or on the command line "x EL2:0x0".You cannot directly move the CPU to the different ELs, as this can only happen through an exception.